Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp594232ybl; Mon, 2 Dec 2019 15:33:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzrp1Pa7DP5dY+IUlzQ/chq6lNSFSNnBFoQy9yTBTAX6ECe/H5k21aCpba+iilc8UdFIzng X-Received: by 2002:aca:1011:: with SMTP id 17mr831598oiq.72.1575329621884; Mon, 02 Dec 2019 15:33:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575329621; cv=none; d=google.com; s=arc-20160816; b=Zat44Z7ui2Wa3LireHqRy2GbIRtOHlpB+lUVpAMhGrk6V43/sDKEYyC7IgZp++Ad0y 3wibT1jvwH91XY5YtfMUu52D/r+pAfGUfr3sQ0Lwn4PGK4j7dkeb5omhS2g5ZXDbJSBE /zE6aY0ZeHFOWWj/Oe07qF8CyCDHRFgvqXsSMhIdFGKuYopZ1wlvmtYH5ddWznHb4Tkd QajzK2kGYj/cKTfU99dt76HVUU1bHHxdYHQNIUtjM7CcDPJJMc6hgobYJiM0L5zTI1/l 0O0yHZp/eBN4imMa02ujhTZOZUIZOpvm3sdtOifYoQkqxBF3a7yMWg4Llga/flBBPATF cMPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:cc:in-reply-to:subject:from:date:dkim-signature; bh=o06lgG0tbiBem1KuBqWESWrb7RuUV1hyoJ5l340yHf0=; b=Ccb9rw50erK/AW7enqiNVELWL9iQUS0xUNlMehbKATWo3MOugGXMRbLdIhFX1soyWK rr/A02AGuG4v3J88GJt9G2vscFLu07sU1psJJVtrkhQAYCbJAcI6Dzfy05huO9djtplm mvvdAUf/3KAZGz6UJIUEybKc69MG6H0Zrcf8ocI80TZlMzAM39xClOaEHd0R5EsURaaK C5TuAbf/NSlFCQUyr03RdlVN8Luydbk9dkWYk3qoaarWgIutvDdspCHdMZagwl8lbcwH hAOjqPTlqZgp+bqm5OPA7wSie9Cl3CsLOgIp0ACz9PTQXiTJqJMqT6MIVS91Mz2nNMTL RTlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=UfZaszdF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4si279303oti.263.2019.12.02.15.33.29; Mon, 02 Dec 2019 15:33:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=UfZaszdF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726086AbfLBXcv (ORCPT + 99 others); Mon, 2 Dec 2019 18:32:51 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:41727 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725874AbfLBXcu (ORCPT ); Mon, 2 Dec 2019 18:32:50 -0500 Received: by mail-pf1-f196.google.com with SMTP id s18so650446pfd.8 for ; Mon, 02 Dec 2019 15:32:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:subject:in-reply-to:cc:to:message-id:mime-version :content-transfer-encoding; bh=o06lgG0tbiBem1KuBqWESWrb7RuUV1hyoJ5l340yHf0=; b=UfZaszdFLAzU9lqis/04uLaNQOGalGN0XtylJjNzuMlZ+Vuz1H9ct5/5IDGAKMPmmZ jyd9L+7uJe8rFXXJpPwRGH/JMvDMGNJ+0nTOoCi2oMIim1QCG0c138ACgXeJpSkgWENV l9at+Fjq2FnanNBfIsbU+4AiW/D0dGsN5JJ1q+GKDhgmUnDlptalCLJ1L/vSiUo13FnT mfj63HJIO+zOXYiVmbg9ibQLm/Sf3TRTO69ZQeylE1JtjJ1FBjt4hK1+Jb38seILPOTv cfClYcb+GWBFD1kHuZ6wLXSIO2npwwsb13IG/t9Gq1MdsFb5A6740x1+h7CY1Aga14R1 zqnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:in-reply-to:cc:to:message-id :mime-version:content-transfer-encoding; bh=o06lgG0tbiBem1KuBqWESWrb7RuUV1hyoJ5l340yHf0=; b=rRzd0Ui+C5Z0b8vuPEFvQ0Po475GR4Z7TdCpa4AvxoPc6QBC1ewsKWVvXr/taK74v8 746Qt+DObIY/T8bxZPuFU26NOQXWUrtSPCVyusmIbV4CtVCmZFpCy+VdZ+jwx+aqGxqP ayCL4J/C8V/eF/aH8Ivp3FYJjcr+fwXPhIICnrRcZEdUPkGApKmD7A796i7x/5XwNFXE 9gMkn2HSiOD6dTR1jlZYNO1YlUbr0LFjtkQSfqfc+y9jlF+jwNnleFeIDGTncB0Ri2DD isSBWhyTr1xmLpJE8BO0YJm50/m6lyg9MHcuPY5nRAYnJMLsHTM9NJu/YW0LZQe/HTuw ghpw== X-Gm-Message-State: APjAAAWgYwpf8kwa9oNUbCafvuMPspuompHYBJs1iyOItuStQIKUlYM7 5ADOof4NhYswzDNBKujGBnBT2w== X-Received: by 2002:a63:9d8f:: with SMTP id i137mr1845412pgd.33.1575329570047; Mon, 02 Dec 2019 15:32:50 -0800 (PST) Received: from localhost ([2620:15c:211:200:12cb:e51e:cbf0:6e3f]) by smtp.gmail.com with ESMTPSA id u65sm614527pfb.35.2019.12.02.15.32.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2019 15:32:49 -0800 (PST) Date: Mon, 02 Dec 2019 15:32:49 -0800 (PST) X-Google-Original-Date: Mon, 02 Dec 2019 15:24:10 PST (-0800) From: Palmer Dabbelt X-Google-Original-From: Palmer Dabbelt Subject: Re: [PATCH 1/4] RISC-V: Add kconfig option for QEMU virt machine In-Reply-To: <20191125132147.97111-2-anup.patel@wdc.com> CC: palmer@sifive.com, Paul Walmsley , aou@eecs.berkeley.edu, anup@brainfault.org, Anup Patel , linux-kernel@vger.kernel.org, Atish Patra , Alistair Francis , linux-riscv@lists.infradead.org, Christoph Hellwig To: Anup Patel Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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