Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2857932ybc; Mon, 25 Nov 2019 05:24:41 -0800 (PST) X-Google-Smtp-Source: APXvYqwm1/cCPvKZhZ2wJ5HPqykntab09Gw0iygD9YjUG6V9fppu/tOfswacRwqzZwAHJ3XmpN8T X-Received: by 2002:a17:906:1590:: with SMTP id k16mr36711505ejd.23.1574688281441; Mon, 25 Nov 2019 05:24:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574688281; cv=pass; d=google.com; s=arc-20160816; b=kaage12d4EFxfI+qXUbY0UCgTbk7c8UYGujrAuwnD1PAqPQJM8EA9bERiwauJAn+b2 +0nsOru+balfiwMoLdefOiENuPYJrpZ8p2NfYJ5/ypuLjKsCf4mw91BCOYaVg0ytckJK hsNAyGKrm0enCLWu+e+90/oUVrNkShTOIQkJ4BRC0IAptzbQTmc0bgRSTKA+nVxsXsYC J6A39j8tFJZy14AHu2g8rG/SDsOFu3nTK4d5i3KMHMv3nosFKrwXDqGBf2JIC7+B7tUn rCJVimR2/ZKpZzbXf++UYHxFvQkxrjzjMg1gxa1ORfQhpvOs1yLcRfl2StZv8XvIgYND sUUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:ironport-sdr:dkim-signature; bh=3Xk6zWwyjnMHB7R83Pmxe4MYmoqHePCkBLSupRrr3Q0=; b=XVLl5gBczchNWbJ5gvw/mqQWr4UNT4EFeB6x41qa4AV6BZWGoT+Wjw5/gbd5pAXBKC IsSO7w24ERhQXn8RCrxtMv4Ey3A3nV9u2KVVvT66kvfODjg+3/f0sF7dvqChTybQdz0l imYi6DzICVSA7Vnk+pn3Y0F+ET8KmQKziNcE/RnWOkxK/JBUcEj8Bywib5v2Fxs1Q7mp GZ5K8etO3Du7F2wI92Q1ntITFLm9uKrBFVQvEQE6a1vfqtGHB61xZCfMzaLUzgqkDYv5 I5D9EmgdWxiTsi7ExNJMXHcU37oKS2icCwCUHLCwvwxNxW1VWwD1lc0JxvA3ww5nCzW+ vdGw== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=g4SiKUnd; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=Kas2NRNp; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vr2si4369573ejb.35.2019.11.25.05.24.17; Mon, 25 Nov 2019 05:24: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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=g4SiKUnd; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=Kas2NRNp; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727842AbfKYNWb (ORCPT + 99 others); Mon, 25 Nov 2019 08:22:31 -0500 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:4276 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727506AbfKYNWa (ORCPT ); Mon, 25 Nov 2019 08:22:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1574688151; x=1606224151; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=9h0rz1WfUC8o5OlchWgdIPitNM3APph40biikbOceI0=; b=g4SiKUndOLL55blRFTmv6dndbdchBeruTEpzyCGlWn7+q/Lq6Yj0Wsfq AE+WbtU4FSC3M+Qu9Ch79+tQQBvM2qVkLZ++W5sYvHapuYUXv+8ctWK4R NSt7sJQKqt7ZSwTUaXOpWrSLnhPOzj+W3Nf8bLd4wpVJCvK7TGBiM01GP QLUeTfMbKgcYlEZCoSuGGYw96e/47QuAp/M5+7t3lRa1dGUrEzftVZ+XK AfEHUqK6upUVkM4NLKwJMQepVObrM7yjcT5kB/od9utajDN7bbtkaZKNg xcj8orNrT41u/EYHU3Me3/rqVckA7nvxz1UrXMRQXfqmNVyRD2quySHU4 Q==; IronPort-SDR: yImNxP1ZV+ES2o26K6T4UPV4GFH7enVszpxSyc2UiAjJnNoO2GTndQke1o975SGVTD0W7PYDoL jqTL6SEK4yIJ6Xdh5jFeBqzO1L6mDBfJxu4rr5Azp1WIXcC/NOpDp3/W/yU6eB+vEX263uVVu2 sbSv7iUJg6899TSFeJbjU2fJz9AwfhQMd4XoJ7pR+U12wX7n7yvYWa1FABOvhBE39KndsU4MwM M/307h1aItOozSiq+waN2jjUycjigRrAewHO9Qy0RilKYWA3aS0M87jE3GL+irDwPimXB639bd 300= X-IronPort-AV: E=Sophos;i="5.69,241,1571673600"; d="scan'208";a="125552370" Received: from mail-dm3nam03lp2051.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([104.47.41.51]) by ob1.hgst.iphmx.com with ESMTP; 25 Nov 2019 21:22:30 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n1mOJ6z0nKbo/zfnT/5IokDTGDr/GH0rzFJpZrh5qHkqiGmE1M7lpNiNVTp9kVKIOCldQ0iPDn8YTU50t20dqY1ajicNaNpBwchTMtF18ikWeEhXy/uTkjxuRyyfstij9cDsHc0vJkqMwBg93gShUvAnVds/Kam2Fwpx3otHuXQg3AfYjHXyMyv8BTKFglCsHMH25H+E1yh6AxWFnvv/gS252/6negzDIT8EKJZgMNyCSvcpJwa3F0bo0jAkoXDfSYqpRS3k65hLsXumjegS7RD521nZ1pKzZVRRRQQmfibEmxzc8FqsakIZbGqK//DBFIk9e0kF4JUyK7/gPxikJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3Xk6zWwyjnMHB7R83Pmxe4MYmoqHePCkBLSupRrr3Q0=; b=fu8S8stbNXm0gE8xLeIkn3xPwIwTXo4/SAlm4l8P8sBclJSD9YiUY/5hscBO6VYbKDJsCAOE0u5GQtU203DlByacLxt2dcb/LbNBY2bTIKuWr2uJjUPuGHvNnPhIP8bAP2QZJzvuMC364rUNGjVTufF4klwdSkBTX+unZvc/HvxIswCRdkBmip99x/ZhwwqbeWrEvjC6P5RDoaMTloS0Et8jKn3AEsaxbZU392brjeX3AYYe9yRWgNLynNphqOR6SpkNINCZg5JwbpLamH0QPZVlwuWSHK6ov8Z8sfk+LSNTyQUxur9E8/hok7kkVomt8oEUe2Pl9eJov39AikxuaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3Xk6zWwyjnMHB7R83Pmxe4MYmoqHePCkBLSupRrr3Q0=; b=Kas2NRNpLDm7f4+9FC94vLYK7LyPPeNuaS83LS2BSmB40J5l7xyxYFWcqDxloLuonmNykPBsqTJNwpmrb6YcmqEE56Fz74B/TlNr0Q4ed+xEbRBWw/qBuPnEEAMt1VsUhLsWklKOiuL3KsPbki6woQpDVtQ8veFqaI+66LUzdc4= Received: from MN2PR04MB6061.namprd04.prod.outlook.com (20.178.246.15) by MN2PR04MB5981.namprd04.prod.outlook.com (20.178.246.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Mon, 25 Nov 2019 13:22:28 +0000 Received: from MN2PR04MB6061.namprd04.prod.outlook.com ([fe80::7949:d205:5ad1:1d30]) by MN2PR04MB6061.namprd04.prod.outlook.com ([fe80::7949:d205:5ad1:1d30%7]) with mapi id 15.20.2474.023; Mon, 25 Nov 2019 13:22:28 +0000 From: Anup Patel To: Palmer Dabbelt , Paul Walmsley , Albert Ou CC: Atish Patra , Alistair Francis , Christoph Hellwig , Anup Patel , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Anup Patel Subject: [PATCH 2/4] RISC-V: Enable QEMU virt machine support in defconfigs Thread-Topic: [PATCH 2/4] RISC-V: Enable QEMU virt machine support in defconfigs Thread-Index: AQHVo5NiSWkPf1raukKwhkFovIPUMg== Date: Mon, 25 Nov 2019 13:22:28 +0000 Message-ID: <20191125132147.97111-3-anup.patel@wdc.com> References: <20191125132147.97111-1-anup.patel@wdc.com> In-Reply-To: <20191125132147.97111-1-anup.patel@wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MAXPR0101CA0029.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:d::15) To MN2PR04MB6061.namprd04.prod.outlook.com (2603:10b6:208:d8::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Anup.Patel@wdc.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [106.51.21.49] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 78cb7a62-1f96-46f1-9136-08d771aa84cc x-ms-traffictypediagnostic: MN2PR04MB5981: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:873; x-forefront-prvs: 0232B30BBC x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(396003)(366004)(136003)(376002)(346002)(39860400002)(189003)(199004)(14454004)(50226002)(66946007)(8936002)(2906002)(81166006)(81156014)(6506007)(66476007)(6486002)(305945005)(25786009)(14444005)(256004)(76176011)(9456002)(54906003)(316002)(8676002)(6436002)(66446008)(386003)(66556008)(64756008)(110136005)(99286004)(52116002)(186003)(26005)(5660300002)(102836004)(1076003)(44832011)(55236004)(478600001)(66066001)(2616005)(71190400001)(71200400001)(446003)(11346002)(6116002)(3846002)(86362001)(6512007)(36756003)(4326008)(7736002)(2171002);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR04MB5981;H:MN2PR04MB6061.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Sxkw8QmjxrdXiJzpwI0CT38yfe/CUZESRoQivSabSz3ZsqVSA448UU+MufOiVqreyROVhxMiujOYq6uZJSnwdAQGjh1aaUBfLiQjlOCV81z2PL9em11MBihiTKIfbAcCCWn65fxuhvapJXbRXIpLbZBAMPDiECulSeHjGRA7W5C25WN2eP9Ah76ja7TnFb4TJPew4Is1BV5+Nz1xp12ZjZ1/JZmXObnsdozFGN8Cy5to2TURetEtsB0WFrAbLLPzungyeG5C/gd4OjijhLm6b2OQD3qprT7G2HfVRhg5pWtYo09XnHcywunK1n32MyDRyWJ3uHD8RSWufbGzSEgMFp5P0rk9FszJBC1DgCfxaDpJVEN8M7SWCSiTT53e1vDNo7JtlleXbuynBwB7eJMeXnUJ+8sbE+xlzkK5e1Tqcp4PCp3jEF3VDwBpuZfMIhY/ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78cb7a62-1f96-46f1-9136-08d771aa84cc X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Nov 2019 13:22:28.4221 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 56hWx4fLJJTUta5/gsY9Mzi2R02Wn/dPM8F+oRkbbZpftDwHdmY6cc0mmNPlfLPwVSfs60aPYHw6YiksrYcQzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5981 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We have kconfig option for QEMU virt machine so let's enable it in RV32 and RV64 defconfigs. Signed-off-by: Anup Patel --- arch/riscv/configs/defconfig | 15 +-------------- arch/riscv/configs/rv32_defconfig | 16 +--------------- 2 files changed, 2 insertions(+), 29 deletions(-) diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index 420a0dbef386..2515fe6417e1 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -15,6 +15,7 @@ CONFIG_BLK_DEV_INITRD=3Dy CONFIG_EXPERT=3Dy CONFIG_BPF_SYSCALL=3Dy CONFIG_SOC_SIFIVE=3Dy +CONFIG_SOC_VIRT=3Dy CONFIG_SMP=3Dy CONFIG_MODULES=3Dy CONFIG_MODULE_UNLOAD=3Dy @@ -30,7 +31,6 @@ CONFIG_IP_PNP_BOOTP=3Dy CONFIG_IP_PNP_RARP=3Dy CONFIG_NETLINK_DIAG=3Dy CONFIG_NET_9P=3Dy -CONFIG_NET_9P_VIRTIO=3Dy CONFIG_PCI=3Dy CONFIG_PCIEPORTBUS=3Dy CONFIG_PCI_HOST_GENERIC=3Dy @@ -38,15 +38,12 @@ CONFIG_PCIE_XILINX=3Dy CONFIG_DEVTMPFS=3Dy CONFIG_DEVTMPFS_MOUNT=3Dy CONFIG_BLK_DEV_LOOP=3Dy -CONFIG_VIRTIO_BLK=3Dy CONFIG_BLK_DEV_SD=3Dy CONFIG_BLK_DEV_SR=3Dy -CONFIG_SCSI_VIRTIO=3Dy CONFIG_ATA=3Dy CONFIG_SATA_AHCI=3Dy CONFIG_SATA_AHCI_PLATFORM=3Dy CONFIG_NETDEVICES=3Dy -CONFIG_VIRTIO_NET=3Dy CONFIG_MACB=3Dy CONFIG_E1000E=3Dy CONFIG_R8169=3Dy @@ -57,15 +54,12 @@ CONFIG_SERIAL_8250_CONSOLE=3Dy CONFIG_SERIAL_OF_PLATFORM=3Dy CONFIG_SERIAL_EARLYCON_RISCV_SBI=3Dy CONFIG_HVC_RISCV_SBI=3Dy -CONFIG_VIRTIO_CONSOLE=3Dy CONFIG_HW_RANDOM=3Dy -CONFIG_HW_RANDOM_VIRTIO=3Dy CONFIG_SPI=3Dy CONFIG_SPI_SIFIVE=3Dy # CONFIG_PTP_1588_CLOCK is not set CONFIG_DRM=3Dy CONFIG_DRM_RADEON=3Dy -CONFIG_DRM_VIRTIO_GPU=3Dy CONFIG_FRAMEBUFFER_CONSOLE=3Dy CONFIG_USB=3Dy CONFIG_USB_XHCI_HCD=3Dy @@ -78,12 +72,6 @@ CONFIG_USB_STORAGE=3Dy CONFIG_USB_UAS=3Dy CONFIG_MMC=3Dy CONFIG_MMC_SPI=3Dy -CONFIG_VIRTIO_PCI=3Dy -CONFIG_VIRTIO_BALLOON=3Dy -CONFIG_VIRTIO_INPUT=3Dy -CONFIG_VIRTIO_MMIO=3Dy -CONFIG_RPMSG_CHAR=3Dy -CONFIG_RPMSG_VIRTIO=3Dy CONFIG_EXT4_FS=3Dy CONFIG_EXT4_FS_POSIX_ACL=3Dy CONFIG_AUTOFS4_FS=3Dy @@ -98,6 +86,5 @@ CONFIG_NFS_V4_2=3Dy CONFIG_ROOT_NFS=3Dy CONFIG_9P_FS=3Dy CONFIG_CRYPTO_USER_API_HASH=3Dy -CONFIG_CRYPTO_DEV_VIRTIO=3Dy CONFIG_PRINTK_TIME=3Dy # CONFIG_RCU_TRACE is not set diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_de= fconfig index 87ee6e62b64b..bbcf14fd6f40 100644 --- a/arch/riscv/configs/rv32_defconfig +++ b/arch/riscv/configs/rv32_defconfig @@ -14,6 +14,7 @@ CONFIG_CHECKPOINT_RESTORE=3Dy CONFIG_BLK_DEV_INITRD=3Dy CONFIG_EXPERT=3Dy CONFIG_BPF_SYSCALL=3Dy +CONFIG_SOC_VIRT=3Dy CONFIG_ARCH_RV32I=3Dy CONFIG_SMP=3Dy CONFIG_MODULES=3Dy @@ -30,7 +31,6 @@ CONFIG_IP_PNP_BOOTP=3Dy CONFIG_IP_PNP_RARP=3Dy CONFIG_NETLINK_DIAG=3Dy CONFIG_NET_9P=3Dy -CONFIG_NET_9P_VIRTIO=3Dy CONFIG_PCI=3Dy CONFIG_PCIEPORTBUS=3Dy CONFIG_PCI_HOST_GENERIC=3Dy @@ -38,15 +38,12 @@ CONFIG_PCIE_XILINX=3Dy CONFIG_DEVTMPFS=3Dy CONFIG_DEVTMPFS_MOUNT=3Dy CONFIG_BLK_DEV_LOOP=3Dy -CONFIG_VIRTIO_BLK=3Dy CONFIG_BLK_DEV_SD=3Dy CONFIG_BLK_DEV_SR=3Dy -CONFIG_SCSI_VIRTIO=3Dy CONFIG_ATA=3Dy CONFIG_SATA_AHCI=3Dy CONFIG_SATA_AHCI_PLATFORM=3Dy CONFIG_NETDEVICES=3Dy -CONFIG_VIRTIO_NET=3Dy CONFIG_MACB=3Dy CONFIG_E1000E=3Dy CONFIG_R8169=3Dy @@ -57,13 +54,10 @@ CONFIG_SERIAL_8250_CONSOLE=3Dy CONFIG_SERIAL_OF_PLATFORM=3Dy CONFIG_SERIAL_EARLYCON_RISCV_SBI=3Dy CONFIG_HVC_RISCV_SBI=3Dy -CONFIG_VIRTIO_CONSOLE=3Dy CONFIG_HW_RANDOM=3Dy -CONFIG_HW_RANDOM_VIRTIO=3Dy # CONFIG_PTP_1588_CLOCK is not set CONFIG_DRM=3Dy CONFIG_DRM_RADEON=3Dy -CONFIG_DRM_VIRTIO_GPU=3Dy CONFIG_FRAMEBUFFER_CONSOLE=3Dy CONFIG_USB=3Dy CONFIG_USB_XHCI_HCD=3Dy @@ -74,13 +68,6 @@ CONFIG_USB_OHCI_HCD=3Dy CONFIG_USB_OHCI_HCD_PLATFORM=3Dy CONFIG_USB_STORAGE=3Dy CONFIG_USB_UAS=3Dy -CONFIG_VIRTIO_PCI=3Dy -CONFIG_VIRTIO_BALLOON=3Dy -CONFIG_VIRTIO_INPUT=3Dy -CONFIG_VIRTIO_MMIO=3Dy -CONFIG_RPMSG_CHAR=3Dy -CONFIG_RPMSG_VIRTIO=3Dy -CONFIG_SIFIVE_PLIC=3Dy CONFIG_EXT4_FS=3Dy CONFIG_EXT4_FS_POSIX_ACL=3Dy CONFIG_AUTOFS4_FS=3Dy @@ -95,6 +82,5 @@ CONFIG_NFS_V4_2=3Dy CONFIG_ROOT_NFS=3Dy CONFIG_9P_FS=3Dy CONFIG_CRYPTO_USER_API_HASH=3Dy -CONFIG_CRYPTO_DEV_VIRTIO=3Dy CONFIG_PRINTK_TIME=3Dy # CONFIG_RCU_TRACE is not set --=20 2.17.1