[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <mhng-db354582-74fd-45db-974e-3cece2ad6ab2@palmerdabbelt.mtv.corp.google.com>
Date: Mon, 02 Dec 2019 15:32:49 -0800 (PST)
From: Palmer Dabbelt <palmerdabbelt@...gle.com>
To: Anup Patel <Anup.Patel@....com>
CC: palmer@...ive.com, Paul Walmsley <paul.walmsley@...ive.com>,
aou@...s.berkeley.edu, anup@...infault.org,
Anup Patel <Anup.Patel@....com>, linux-kernel@...r.kernel.org,
Atish Patra <Atish.Patra@....com>,
Alistair Francis <Alistair.Francis@....com>,
linux-riscv@...ts.infradead.org, Christoph Hellwig <hch@....de>
Subject: Re: [PATCH 1/4] RISC-V: Add kconfig option for QEMU virt machine
On Mon, 25 Nov 2019 05:22:23 PST (-0800), Anup Patel wrote:
> We add kconfig option for QEMU virt machine and select all
> required VIRTIO drivers using this kconfig option.
>
> Signed-off-by: Anup Patel <anup.patel@....com>
> ---
> arch/riscv/Kconfig.socs | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
> index 536c0ef4aee8..62383951bf2e 100644
> --- a/arch/riscv/Kconfig.socs
> +++ b/arch/riscv/Kconfig.socs
> @@ -10,4 +10,24 @@ config SOC_SIFIVE
> help
> This enables support for SiFive SoC platform hardware.
>
> +config SOC_VIRT
> + bool "QEMU Virt Machine"
> + select VIRTIO_PCI
> + select VIRTIO_BALLOON
> + select VIRTIO_MMIO
> + select VIRTIO_CONSOLE
> + select VIRTIO_NET
> + select NET_9P_VIRTIO
> + select VIRTIO_BLK
> + select SCSI_VIRTIO
> + select DRM_VIRTIO_GPU
> + select HW_RANDOM_VIRTIO
> + select RPMSG_CHAR
> + select RPMSG_VIRTIO
> + select CRYPTO_DEV_VIRTIO
> + select VIRTIO_INPUT
> + select SIFIVE_PLIC
> + help
> + This enables support for QEMU Virt Machine.
> +
> endmenu
Reviewed-by: Palmer Dabbelt <palmerdabbelt@...gle.com>
Powered by blists - more mailing lists