]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: Make irqchip_init() usable on pure ACPI systems
authorHuacai Chen <chenhuacai@loongson.cn>
Tue, 27 Sep 2022 12:45:57 +0000 (20:45 +0800)
committerMarc Zyngier <maz@kernel.org>
Wed, 28 Sep 2022 13:11:28 +0000 (14:11 +0100)
commit334dafea60bcfb225bc8852e0bad46b260c9ef89
treee3f1f8e20e91c34b294bfe75c767d4f00b2f5390
parent63433aa6d0e739cf2afad75742003c018cf3cb74
irqchip: Make irqchip_init() usable on pure ACPI systems

Pure ACPI systems (e.g., LoongArch) do not need OF_IRQ, but still
require irqchip_init() to perform the ACPI irqchip probing,
even when OF_IRQ isn't selected.

Relax the dependency to enable the generic irqchip support when
ACPI_GENERIC_GSI is configured.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Tested-by: Tiezhu Yang <yangtiezhu@loongson.cn>
[maz: revamped commit message]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220927124557.3246737-1-chenhuacai@loongson.cn
drivers/irqchip/Kconfig
include/linux/of_irq.h