Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp898700ybe; Wed, 4 Sep 2019 09:20:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5gaQ8SrCFnhSQJEBNCwiNlluo2yE/gA8yP+Froty+qii7241Y5LiNmH2VTbaq7bOrzyeo X-Received: by 2002:aa7:81d1:: with SMTP id c17mr30347652pfn.219.1567614015773; Wed, 04 Sep 2019 09:20:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567614015; cv=none; d=google.com; s=arc-20160816; b=kUkgX+DQxBn6YOioqCrdHpX3S5H+TfBRPBPMzs9xSb7S7pKNb2WeZgIQr7UEEX2Yu7 +f+3yuQhVq2Oq2Y4xCD2apxxME4F/TNb+pb7S7X4GRiYkzyba/Qf4YmJfjhRHif0MDJC /E0fw8zo+tXbLxuJN5YrXdSnaT6EQNLXo2Dmt3nIDnKNXKCHkdP1RDJdQ1PD1b0O/sc+ 4PIPP1t0py/MQAb/DqUOO/f6Y2DJ47XQUlRhTODd8SA4MqYWjSg67RjzH6TTWkxnhulu HwfR+l7FDp3dI4hWYgDojrlSbeBPavRMtidR0d2py5LjJkFzxEh14Ow3ZYpsu4fEmU4L ZB2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=rtzMO9oNYcqZ7xJCU1SqvD7PjblQqbDV29Zyklt+ON0=; b=sbvGrkUeQYYljZNYtz0LWUjRO2YM3e1z2l8+E712btGbM2op9AwRKCqC88aVkhy4/7 4j6iBxQgyceuoJJqAeQ/auMg4gaRhL2p0q1mZpalY7aN5QR+tDdQ/osOIXiunTGc744O wzaMi0cgkxn9rXwqQIEDacgNcNJ3A3QFL8oL+lp+iXNPqq40/Dspxs190KNlCTiB0FoK zwOMUbh+AkjQbzf1dmmZy8ch3HJNYrSnU7Q7gA8+rTqAqsm29gA+t02ZTpU6skJ3YO2m EpAXv6BIqOQUOnzoZ6lTbGLNhjPr6lyE32qb8SzDcf4mu1wAPLr+GKQl1h00WjN6Qa8c e0dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=Ncsm1Yid; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u4si11766534pgr.228.2019.09.04.09.19.59; Wed, 04 Sep 2019 09:20:15 -0700 (PDT) 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=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=Ncsm1Yid; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387534AbfIDQR4 (ORCPT + 99 others); Wed, 4 Sep 2019 12:17:56 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:33590 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732580AbfIDQRx (ORCPT ); Wed, 4 Sep 2019 12:17:53 -0400 Received: by mail-wm1-f66.google.com with SMTP id r17so2906501wme.0 for ; Wed, 04 Sep 2019 09:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rtzMO9oNYcqZ7xJCU1SqvD7PjblQqbDV29Zyklt+ON0=; b=Ncsm1Yid1oE4dNBUtEf93AxZ82UtQoJXxFdx0JoIxtdJEmRAih94AH5ZwIg0s+WCim AwYZNcE2ZXCEwyjlpNBFvd4eWLy16pliyRkGzd8PNAwAYTrAFCsTSd4oR+h1O5QNnMQW kGJPudKVYmlPaqsgdMx26QCxk9FkD6ft+jCl3F/yHrpccmJzCYpWz1oD2Vxhih6imE3M /b3Pu4IZDf3U8jGi3dM3ShEAaISjTKjmJHBIATpOUpkQE1bYfhdAOI8eURLyug8cj1q5 2OT2bCy7l9JwDwuo/2v2svut0t96JXYsa7UZXE1mr1Imahm0LRqbw997Y6zCI3Yplb2A TAAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rtzMO9oNYcqZ7xJCU1SqvD7PjblQqbDV29Zyklt+ON0=; b=WO+cK7iah2BfB533TfuNoj+rbe+62Ti3/QBUPgDSX82GOdyY9JYj7bN4UxFNn5mLns zivbmGLvuq1Z/GorcbiCpP+rrbivmM9+f8xGPmymqFNSDbmVGj3gfxq5rSUpTvlFUOjJ zqJS7hvVM1KrDKu1+IXshojdWgU+vfTFiOXptIpxt3O5OlWdqNlAQUniJj/cxe+O85M+ qSNVdFmMaWPW+zQ5insP0JtXoXrSv5xVVpExp9fDPBr5a37aGYML9vvvQCbpVcV5kQ1Y cQUEDoHGagv5DwtTGqlRIhmLutpRyAMeYmfmL9WsXf+UC8fPftMA3mUyqWWndKQLe4hx 4HmA== X-Gm-Message-State: APjAAAUJCI1iRsJfdymL6UBjACT8S+mt+Bt2ctzZzOvjA56mTrjV9rOi 2SUTiIzkP995Xd8xC7fvfpx0QlFHZ9L9ouxeGX4dSQ== X-Received: by 2002:a1c:c909:: with SMTP id f9mr5262027wmb.52.1567613871859; Wed, 04 Sep 2019 09:17:51 -0700 (PDT) MIME-Version: 1.0 References: <20190904161245.111924-1-anup.patel@wdc.com> <20190904161245.111924-3-anup.patel@wdc.com> In-Reply-To: <20190904161245.111924-3-anup.patel@wdc.com> From: Anup Patel Date: Wed, 4 Sep 2019 21:47:40 +0530 Message-ID: Subject: Re: [PATCH] RISC-V: Enable KVM for RV64 and RV32 To: Anup Patel Cc: Palmer Dabbelt , Paul Walmsley , Paolo Bonzini , Radim K , Daniel Lezcano , Thomas Gleixner , Alexander Graf , Atish Patra , Alistair Francis , Damien Le Moal , Christoph Hellwig , "kvm@vger.kernel.org" , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 4, 2019 at 9:43 PM Anup Patel wrote: > > DO NOT UPSTREAM !!!!! > > Signed-off-by: Anup Patel > --- > arch/riscv/configs/defconfig | 2 ++ > arch/riscv/configs/rv32_defconfig | 2 ++ > 2 files changed, 4 insertions(+) > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > index 420a0dbef386..320a7f1da4fc 100644 > --- a/arch/riscv/configs/defconfig > +++ b/arch/riscv/configs/defconfig > @@ -16,6 +16,8 @@ CONFIG_EXPERT=y > CONFIG_BPF_SYSCALL=y > CONFIG_SOC_SIFIVE=y > CONFIG_SMP=y > +CONFIG_VIRTUALIZATION=y > +CONFIG_KVM=y > CONFIG_MODULES=y > CONFIG_MODULE_UNLOAD=y > CONFIG_NET=y > diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_defconfig > index 87ee6e62b64b..6223e47cc5f0 100644 > --- a/arch/riscv/configs/rv32_defconfig > +++ b/arch/riscv/configs/rv32_defconfig > @@ -16,6 +16,8 @@ CONFIG_EXPERT=y > CONFIG_BPF_SYSCALL=y > CONFIG_ARCH_RV32I=y > CONFIG_SMP=y > +CONFIG_VIRTUALIZATION=y > +CONFIG_KVM=y > CONFIG_MODULES=y > CONFIG_MODULE_UNLOAD=y > CONFIG_NET=y > -- > 2.17.1 > Please ignore this patch. The KVM RISC-V should be disabled by default since it's experimental currently. Regards, Anup