Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96F28C433EF for ; Thu, 18 Nov 2021 07:54:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 77C8E61B30 for ; Thu, 18 Nov 2021 07:54:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244140AbhKRH5b (ORCPT ); Thu, 18 Nov 2021 02:57:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244100AbhKRH5L (ORCPT ); Thu, 18 Nov 2021 02:57:11 -0500 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73354C061764 for ; Wed, 17 Nov 2021 23:54:11 -0800 (PST) Received: by mail-yb1-xb2e.google.com with SMTP id v138so15481790ybb.8 for ; Wed, 17 Nov 2021 23:54:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atishpatra.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tUx9UjZoKSPnqR6g70X7U+S/RFB8dii6mOvb2a9mdkw=; b=QdZaVueVf1RI9KAn4GY3zFdazR/X2OmjOrNG3c+p4FkxC1hxvkGmqLSDC5JnkUzGoR bJIjgd1N331cufVv26TCQHZiyG8JwYR9tD/2vG9Fp3EtD9lnL7PBKozHyQn83bYGZRnF urnmL7ipfX/FGNoOKIm2xoNfRfCgyS6fcKrQ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tUx9UjZoKSPnqR6g70X7U+S/RFB8dii6mOvb2a9mdkw=; b=Q14UqCfUnSJjZqVXVi5tUk5r405cIU3mu6gclwrY9VYkMWQAeBKX4hLRyAIk/cJnJS nhHDwvI9pvJBF7OdBym9BNarKZSlQVbTD8yeFdajxQmHA93m30Z6v+MHtLHcDxQe/Ymj kdrFZ67yCtM6WL7CFF68IyfpwWVAojCN8y3kBVJYfqnnmgLo851FmjCnCTcUOH/crQli FEZQh2eYCoR2xutoGn26bSuis0xXoevTrAYf/WTBfYcSPa+k5Q6rdRrmqVlNJCiPLiOe ++P86PE5kiKRZLfPVqWy2WlL+pNhMoWdJaguMcmwdP8m3QxHPsV7XEY5ILSFRwP86uW0 0Qhg== X-Gm-Message-State: AOAM531Qqr1J5GbMW/Nu3ha7gp0ibyMgR+K5/p2idCItf0OpYRLR7Mkl V5G5JupIFLqbYXGZWpkfjgz8JpJJCc0ZUlyg0x4n X-Google-Smtp-Source: ABdhPJztIGeM2yO42tHG/OmNK597LLtMYpZrWrT/uiP9eI1nHBWCBrDBBYc830E4jWNuw8OZfj6oG/jQLdidDgSgfko= X-Received: by 2002:a25:b005:: with SMTP id q5mr24987464ybf.35.1637222050369; Wed, 17 Nov 2021 23:54:10 -0800 (PST) MIME-Version: 1.0 References: <20211117084705.687762-1-anup.patel@wdc.com> In-Reply-To: <20211117084705.687762-1-anup.patel@wdc.com> From: Atish Patra Date: Wed, 17 Nov 2021 23:53:59 -0800 Message-ID: Subject: Re: [PATCH v2] RISC-V: Enable KVM in RV64 and RV32 defconfigs as a module To: Anup Patel Cc: Palmer Dabbelt , Paul Walmsley , Albert Ou , Paolo Bonzini , Anup Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv , "linux-kernel@vger.kernel.org List" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 17, 2021 at 12:47 AM Anup Patel wrote: > > Let's enable KVM RISC-V in RV64 and RV32 defconfigs as module > so that it always built along with the default kernel image. > > Signed-off-by: Anup Patel > --- > Changes since v1: > - Rebased on Linux-5.16-rc1 > - Removed unwanted stuff from defconfig PATCH1 > - Dropped PATCH2 and PATCH3 since these are already merged via KVM tree > --- > 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 c252fd5706d2..ef473e2f503b 100644 > --- a/arch/riscv/configs/defconfig > +++ b/arch/riscv/configs/defconfig > @@ -19,6 +19,8 @@ CONFIG_SOC_VIRT=y > CONFIG_SOC_MICROCHIP_POLARFIRE=y > CONFIG_SMP=y > CONFIG_HOTPLUG_CPU=y > +CONFIG_VIRTUALIZATION=y > +CONFIG_KVM=m > CONFIG_JUMP_LABEL=y > CONFIG_MODULES=y > CONFIG_MODULE_UNLOAD=y > diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_defconfig > index 434ef5b64599..6e9f12ff968a 100644 > --- a/arch/riscv/configs/rv32_defconfig > +++ b/arch/riscv/configs/rv32_defconfig > @@ -19,6 +19,8 @@ CONFIG_SOC_VIRT=y > CONFIG_ARCH_RV32I=y > CONFIG_SMP=y > CONFIG_HOTPLUG_CPU=y > +CONFIG_VIRTUALIZATION=y > +CONFIG_KVM=m > CONFIG_JUMP_LABEL=y > CONFIG_MODULES=y > CONFIG_MODULE_UNLOAD=y > -- > 2.25.1 > Reviewed-by: Atish Patra -- Regards, Atish