[tip: irq/core] RISC-V: Select APLIC and IMSIC drivers

From: tip-bot2 for Anup Patel
Date: Mon Mar 25 2024 - 13:40:43 EST


The following commit has been merged into the irq/core branch of tip:

Commit-ID: 0eebc69db358fd2f6fe34cc4db6428df6a540dd7
Gitweb: https://git.kernel.org/tip/0eebc69db358fd2f6fe34cc4db6428df6a540dd7
Author: Anup Patel <apatel@xxxxxxxxxxxxxxxx>
AuthorDate: Thu, 07 Mar 2024 19:33:06 +05:30
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Mon, 25 Mar 2024 17:38:29 +01:00

RISC-V: Select APLIC and IMSIC drivers

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@xxxxxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Tested-by: Björn Töpel <bjorn@xxxxxxxxxxxx>
Reviewed-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
Reviewed-by: Björn Töpel <bjorn@xxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20240307140307.646078-9-apatel@xxxxxxxxxxxxxxxx

---
arch/riscv/Kconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index be09c88..9e87287 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -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