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 699ADC433F5 for ; Wed, 17 Nov 2021 08:49:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4E77661B08 for ; Wed, 17 Nov 2021 08:49:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234649AbhKQIwd (ORCPT ); Wed, 17 Nov 2021 03:52:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234637AbhKQIwb (ORCPT ); Wed, 17 Nov 2021 03:52:31 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEBBEC061570 for ; Wed, 17 Nov 2021 00:49:32 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id d27so3116699wrb.6 for ; Wed, 17 Nov 2021 00:49:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B7IPC7bC9AT8/D6fv37MaKPiWkigtWHGnCaDAdR23ks=; b=hr4Fk8sFDF5tNoJTaSITi0W06sn1vv3dLU2DPO5fkfTKyBCQmGQMCPwnEJLd447s4D /u2JAf8Wh5O2yyhZP75ZiMcjXIZN5AUnPGNYv12RZwVWLvdzsrBmoG8HFaTpHblvz3Cd GkxydX4K4zTJepGsnr721QACfbOk7bZv4XRSAq6Y/Agsz+B9YLIC/+hrhgGzhDleh44m SMJ9OrjL+buwd5wjKSYBaTs6+wR/fYsmq5AK5UkDCRdiCaKK++SiYZtl+Sp6NG8zruad UMhR+Ps9znscTWYK9qSV7l5DZuZWYxc8M+fcQJWDQwFbIKvYjTZzGVXGYHWqi3oSH0eb lTkQ== 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=B7IPC7bC9AT8/D6fv37MaKPiWkigtWHGnCaDAdR23ks=; b=o4vMZUSu6gDtUUyqS0GDz98XsEzS57aXvBzOF/cF+vwNWCDFPh74rxfaSbulxHdG6v M8gXKcgutrtgc9LnM2T0wolJ/SC8RPMNbtm1qbbJOLEw6KkXkO2rO1mZYtVu4l0M/+jv d92Zir1EZN0UIYdvSpB3XB7lMeMTaF5+BeZr7FO0MT0zHbSesRF/Q1E22bIUni1lF9tw YSQau8km8EvNlEqpqDnHAmjCAtwXauiGLfx8b2aDdP8zg2v64q6lQLuJgbrxW2TxxYsY 49Oha9KlsTmoCkc9sZMoNTLtz7MQbH/5A8waKOJOIpmhAZh5RqY8sZkN978jXynbPWvw x/Kg== X-Gm-Message-State: AOAM531YswqdLJ0ndVYXXYxSwEDmKYhjNObOzlrg3D8j6MO7FPcqY0Cl ve+1qY2Vw9ry8ED+car4KDBInv4TNz5ETO/2Si/9Ow== X-Google-Smtp-Source: ABdhPJyULSq3RsjoXSpZlMHvAUGqp8FyT72f4rtpMXvyJSvuccvxb9bbZU1AiHFvqU7V9KJiog1NXIx2vH1S+mg6+HU= X-Received: by 2002:a5d:628f:: with SMTP id k15mr18297636wru.363.1637138971386; Wed, 17 Nov 2021 00:49:31 -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: Anup Patel Date: Wed, 17 Nov 2021 14:19:19 +0530 Message-ID: Subject: Re: [PATCH v2] RISC-V: Enable KVM in RV64 and RV32 defconfigs as a module To: Palmer Dabbelt Cc: Paul Walmsley , Albert Ou , Paolo Bonzini , Atish Patra , KVM General , kvm-riscv@lists.infradead.org, linux-riscv , "linux-kernel@vger.kernel.org List" , Anup Patel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Palmer, On Wed, Nov 17, 2021 at 2:17 PM 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 Like you suggested, I have removed unwanted stuff from defconfig PATCH. Can you consider this patch for Linux-5.16-rcX ? Regards, Anup > --- > 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 >