13 Sep, 2020
1 commit
-
In htvec_reset() only the first group of initial interrupts is cleared.
This sometimes causes spurious interrupts, so let's clear all groups.While at it, fix the nearby comment that to match the reality of what
the driver does.Fixes: 818e915fbac518e8c78e1877 ("irqchip: Add Loongson HyperTransport Vector support")
Signed-off-by: Huacai Chen
Signed-off-by: Marc Zyngier
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/1599819978-13999-2-git-send-email-chenhc@lemote.com
30 Jul, 2020
1 commit
-
The original version can only used by old Loongson-3 which only use 4
groups of HT vectors. Now Loongson-3A R4 can use 8 groups, so improve
the driver to support all 8 groups.Fixes: 818e915fbac518e8c78e1877a ("irqchip: Add Loongson HyperTransport Vector support")
Signed-off-by: Huacai Chen
Signed-off-by: Marc Zyngier
Reviewed-by: Jiaxun Yang
Link: https://lore.kernel.org/r/1596099090-23516-5-git-send-email-chenhc@lemote.com
17 Jul, 2020
2 commits
-
Check the return value of irq_domain_translate_onecell() due to
it may returns -EINVAL if failed.Fixes: 818e915fbac5 ("irqchip: Add Loongson HyperTransport Vector support")
Signed-off-by: Tiezhu Yang
Signed-off-by: Marc Zyngier
Link: https://lore.kernel.org/r/1594087972-21715-5-git-send-email-yangtiezhu@loongson.cn -
In the function htvec_of_init(), system resource "parent_irq"
was not released in an error case. Thus add a jump target for
the completion of the desired exception handling.Fixes: 818e915fbac5 ("irqchip: Add Loongson HyperTransport Vector support")
Signed-off-by: Tiezhu Yang
Signed-off-by: Marc Zyngier
Link: https://lore.kernel.org/r/1594087972-21715-4-git-send-email-yangtiezhu@loongson.cn
29 May, 2020
1 commit
-
This controller appears on Loongson-3 chips for receiving interrupt
vectors from PCH's PIC and PCH's PCIe MSI interrupts.Signed-off-by: Jiaxun Yang
Signed-off-by: Marc Zyngier
Link: https://lore.kernel.org/r/20200528152757.1028711-2-jiaxun.yang@flygoat.com