30 Jul, 2020

1 commit

  • In gc->mask_cache bits, 1 means enabled and 0 means disabled, but in the
    loongson-liointc driver mask_cache is misused by reverting its meaning.
    This patch fix the bug and update the comments as well.

    Fixes: dbb152267908c4b2c3639492a ("irqchip: Add driver for Loongson I/O Local Interrupt Controller")
    Signed-off-by: Huacai Chen
    Signed-off-by: Marc Zyngier
    Reviewed-by: Jiaxun Yang
    Cc: stable@vger.kernel.org
    Link: https://lore.kernel.org/r/1596099090-23516-4-git-send-email-chenhc@lemote.com

    Huacai Chen
     

17 Jul, 2020

1 commit

  • In the function liointc_set_type(), we need to call the function
    irq_gc_unlock_irqrestore() before returning.

    Fixes: dbb152267908 ("irqchip: Add driver for Loongson I/O Local Interrupt Controller")
    Reported-by: Jianmin Lv
    Signed-off-by: Tiezhu Yang
    Signed-off-by: Marc Zyngier
    Link: https://lore.kernel.org/r/1594087972-21715-8-git-send-email-yangtiezhu@loongson.cn

    Tiezhu Yang
     

25 Mar, 2020

2 commits