2021-06-12 16:07:15

by Anup Patel

[permalink] [raw]
Subject: [RFC PATCH v1 06/10] RISC-V: Select ACLINT SWI driver for virt machine

The QEMU virt machine has provision to emulate ACLINT SWI device
for supervisor-mode so let's select corresponding driver from
SOC_VIRT kconfig option.

Signed-off-by: Anup Patel <[email protected]>
---
arch/riscv/Kconfig.socs | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index ed963761fbd2..2687a0902ec4 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -27,6 +27,7 @@ config SOC_VIRT
select GOLDFISH
select RTC_DRV_GOLDFISH if RTC_CLASS
select SIFIVE_PLIC
+ select RISCV_ACLINT_SWI
help
This enables support for QEMU Virt Machine.

--
2.25.1


2021-06-14 13:38:53

by Bin Meng

[permalink] [raw]
Subject: Re: [RFC PATCH v1 06/10] RISC-V: Select ACLINT SWI driver for virt machine

On Sun, Jun 13, 2021 at 12:08 AM Anup Patel <[email protected]> wrote:
>
> The QEMU virt machine has provision to emulate ACLINT SWI device
> for supervisor-mode so let's select corresponding driver from
> SOC_VIRT kconfig option.
>
> Signed-off-by: Anup Patel <[email protected]>
> ---
> arch/riscv/Kconfig.socs | 1 +
> 1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng <[email protected]>