Re: [PATCH v5 6/6] RISC-V: Force select RISCV_INTC for CONFIG_RISCV
From: Atish Patra
Date: Thu May 28 2020 - 20:33:52 EST
On Thu, May 21, 2020 at 6:34 AM Anup Patel <anup.patel@xxxxxxx> wrote:
>
> The RISC-V per-HART local interrupt controller driver is mandatory
> for all RISC-V system (with/without MMU) hence we force select it
> for CONFIG_RISCV (just like RISCV_TIMER).
>
> Signed-off-by: Anup Patel <anup.patel@xxxxxxx>
> ---
> arch/riscv/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index 822cb0e1a380..2cf0c83c1a47 100644
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@ -51,6 +51,7 @@ config RISCV
> select THREAD_INFO_IN_TASK
> select PCI_DOMAINS_GENERIC if PCI
> select PCI_MSI if PCI
> + select RISCV_INTC
> select RISCV_TIMER
> select GENERIC_IRQ_MULTI_HANDLER
> select GENERIC_ARCH_TOPOLOGY if SMP
> --
> 2.25.1
>
>
Reviewed-by: Atish Patra <atish.patra@xxxxxxx>
--
Regards,
Atish