irqchip/loongson-htvec: Add ACPI init support
authorHuacai Chen <chenhuacai@loongson.cn>
Thu, 20 Oct 2022 14:25:35 +0000 (22:25 +0800)
committerMarc Zyngier <maz@kernel.org>
Sat, 26 Nov 2022 13:07:47 +0000 (13:07 +0000)
commit70f7b6c008b37a0beb956e25a6c167edfd4b259e
tree796dfb335b95c592cf5d12d3d3908b7871f2946f
parent17343d0b4039196517ab5c40d8fce3e8d394c526
irqchip/loongson-htvec: Add ACPI init support

HTVECINTC stands for "HyperTransport Interrupts" that described in
Section 14.3 of "Loongson 3A5000 Processor Reference Manual". For more
information please refer Documentation/loongarch/irq-chip-model.rst.

Though the extended model is the recommended one, there are still some
legacy model machines. So we add ACPI init support for HTVECINTC.

Co-developed-by: Jianmin Lv <lvjianmin@loongson.cn>
Signed-off-by: Jianmin Lv <lvjianmin@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221020142535.1725573-1-chenhuacai@loongson.cn
arch/loongarch/include/asm/irq.h
drivers/irqchip/Kconfig
drivers/irqchip/irq-loongson-htvec.c
drivers/irqchip/irq-loongson-liointc.c