From: Huacai Chen Date: Mon, 8 Aug 2022 08:53:19 +0000 (+0800) Subject: irqchip: Select downstream irqchip drivers for LoongArch CPU X-Git-Tag: v6.1-rc5~385^2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d5356f9820dc48578fc50077f5a34905386e47f;p=platform%2Fkernel%2Flinux-starfive.git irqchip: Select downstream irqchip drivers for LoongArch CPU LoongArch irqchips have a fixed hierarchy which currently can't be described by ACPI tables, so upstream irqchip drivers call downstream irqchip drivers' initialization directly. As a result, the top level (CPU-level) irqchip driver should explicitly select downstream drivers to avoid build errors. Reported-by: kernel test robot Signed-off-by: Huacai Chen Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20220808085319.3350111-1-chenhuacai@loongson.cn --- diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 66b9fa4..2549daa 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -561,6 +561,11 @@ config IRQ_LOONGARCH_CPU select GENERIC_IRQ_CHIP select IRQ_DOMAIN select GENERIC_IRQ_EFFECTIVE_AFF_MASK + select LOONGSON_LIOINTC + select LOONGSON_EIOINTC + select LOONGSON_PCH_PIC + select LOONGSON_PCH_MSI + select LOONGSON_PCH_LPC help Support for the LoongArch CPU Interrupt Controller. For details of irq chip hierarchy on LoongArch platforms please read the document