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
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
25 Mar, 2020
2 commits
-
The 1.0 version of that controller has a bug that status bit
of LPC IRQ sometimes doesn't get set correctly.So we can always blame LPC IRQ when spurious interrupt happens
at the parent interrupt line which LPC IRQ supposed to route
to.Signed-off-by: Jiaxun Yang
Co-developed-by: Huacai Chen
Signed-off-by: Huacai Chen
Reviewed-by: Marc Zyngier
Signed-off-by: Thomas Bogendoerfer -
This controller appeared on Loongson family of chips as the primary
package interrupt source.Signed-off-by: Jiaxun Yang
Co-developed-by: Huacai Chen
Signed-off-by: Huacai Chen
Reviewed-by: Marc Zyngier
Signed-off-by: Thomas Bogendoerfer