RISC-V: Select APLIC and IMSIC drivers
authorAnup Patel <apatel@ventanamicro.com>
Thu, 7 Mar 2024 14:03:06 +0000 (19:33 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 25 Mar 2024 16:38:29 +0000 (17:38 +0100)
The QEMU virt machine supports AIA emulation and quite a few RISC-V
platforms with AIA support are under development so select APLIC and
IMSIC drivers for all RISC-V platforms.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Björn Töpel <bjorn@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Björn Töpel <bjorn@rivosinc.com>
Link: https://lore.kernel.org/r/20240307140307.646078-9-apatel@ventanamicro.com
arch/riscv/Kconfig

index be09c8836d56be91d24a768cbe3a2411423716f6..9e87287942dca1101efb2988a1a43e7912208ab7 100644 (file)
@@ -173,6 +173,8 @@ config RISCV
        select PCI_DOMAINS_GENERIC if PCI
        select PCI_MSI if PCI
        select RISCV_ALTERNATIVE if !XIP_KERNEL
+       select RISCV_APLIC
+       select RISCV_IMSIC
        select RISCV_INTC
        select RISCV_TIMER if RISCV_SBI
        select SIFIVE_PLIC