Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1841837pxb; Wed, 2 Feb 2022 13:49:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJzadafpDjGTP24OTq9JhH8+gBfyS249Y7oELzkiUYt9NiSCcm/Mn+sO8lCHme7nvc45lJdI X-Received: by 2002:a17:90b:3841:: with SMTP id nl1mr10491193pjb.50.1643838586160; Wed, 02 Feb 2022 13:49:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643838586; cv=none; d=google.com; s=arc-20160816; b=tv8rjm4/NRvA3l1URCBAcPN7HNsqkd72kcGusyCxB7l0EEbQpO6Vxf0nR+kIUIy1Ut ZDbU77dcjKucQ2whbESQZSfdzkTJhR6QvWCmdb6GIhLG4XHbfnBbJVLbuAvKBQkGdney 71rlLNx+KUeqAykCTG+RLkmwbG+s/ezJXIarF5gkU7p0flin0draRN4TiLbcBmLnVOb+ AvxglQwzag1K2GnuLnprnGCNjs1a22owlAzqvk/cDdNyu+Plwj/sGioLnHCVT/XlnvZj C/Hp8vqsSBQVyobHlaROfoKLYyLPIUklsQF9eEp/bs8e7+z+v5y318bN8DHxDRyAq4OD wxfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=LCcU9g3LWk+Ni1MDTb90PSlSH2Ejv1l38RdD5isGmzA=; b=TSndP4nN0inxiLqOnwqaMD9odLl6yN/vGwJ9aOfDuuCYieSMUhiwS6VGqUneKIkF6N N05vo/tpB6O4mc9UC2ufXDwz643kVWNKnQEHIVrGmebZopOhXOFsMY2frMLrXjnKkEqp yAmmHU4bdjRNWEV91G10ry6z3ifaadhF2y4IKMDc9aXejmhd1z/t4orCRUK9CybTioDP 1VECsoXQiehr3x1V9tfmMj/oxbXMKoMNfsMcSyq5zE2aKU+cCmdjqLGgZwnehlp2aJdj sEVz992zGGfGGRnUniyHPDwBezl0Va+L5gcgj01YSUSpUGGeWbLgxIWJsdx1ufpKVz/x Hjaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=dNCxlG7n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h65si1797690pgc.542.2022.02.02.13.49.32; Wed, 02 Feb 2022 13:49:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@brainfault-org.20210112.gappssmtp.com header.s=20210112 header.b=dNCxlG7n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240372AbiBAPpL (ORCPT + 99 others); Tue, 1 Feb 2022 10:45:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240331AbiBAPpK (ORCPT ); Tue, 1 Feb 2022 10:45:10 -0500 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 708A2C061401 for ; Tue, 1 Feb 2022 07:45:09 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id n8so13048978wmk.3 for ; Tue, 01 Feb 2022 07:45:09 -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=LCcU9g3LWk+Ni1MDTb90PSlSH2Ejv1l38RdD5isGmzA=; b=dNCxlG7n/ZWCDBHispxymrFtrSs4c9YqEglHxbiG1ucYsKtBOTQqyfDQwy3eotCMjP uLM2L/H5EOfuyuixCibGBeRPuEqC7JcUChO4/5W88/l97mdNAgNvT/xqYmtLFgbKxh5n w5nISZOS0HKXiiexKQd+CqHtqM0kejpiHufa6rVenmJHxnYBkcSCvAZ+K0lfDvYe8v8/ paGmxHQs3RqMpJLOQQe5QQ5vAOhsHvaHBxJGkYOele0OKszptBqf8ga7cK7KXkXhM0iv Gsb4gJ97geGtk3lJlPWcjuPmCn1m0Qbge+0Fy+Y8HGop/fCzxMmzbROs7ofYWtG8VEDd mjlQ== 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=LCcU9g3LWk+Ni1MDTb90PSlSH2Ejv1l38RdD5isGmzA=; b=RyBh2HTBk+Kbb1vFWhunVxvaeotQxchcaAtHnia7P96dgemdDEdlpLWjEKClZcEShM 966fCMT8J+TBguXET4o5ZL0d7RuAmuUJOippY5wYTeSI/OuLfSEeF7cEEppgLxzXWFhV 9CqEitlSswC18vGMXxJ5FgUY6QLgJiJ1DKW2wcU0Cxv4BzKAnWhSGpidnTW8V64KQoiG 2hE/HBCjuiKd3zgCpw7VfeXUznSm9MSpMftqQ8BXGP4zxAwTLKh7cdRmtID9PiOy+YBZ oJ5yRxeA9zaVzpZVrPpt3kNioNY9r8YjVwe65CYFEOjvFI9XeP8rx1OrFvndnJGGHs3i 4h0w== X-Gm-Message-State: AOAM530Hj8qD7M8DE1xq3+OxB75HKuUw661qnFPXckhlAuvDvX303ctW nnCNgSwKAxItqJYA8F7OrdsTrcpZx8QEWzMWVCf+OA== X-Received: by 2002:a7b:c929:: with SMTP id h9mr2237691wml.176.1643730307764; Tue, 01 Feb 2022 07:45:07 -0800 (PST) MIME-Version: 1.0 References: <20220201150545.1512822-1-guoren@kernel.org> <20220201150545.1512822-22-guoren@kernel.org> In-Reply-To: <20220201150545.1512822-22-guoren@kernel.org> From: Anup Patel Date: Tue, 1 Feb 2022 21:14:56 +0530 Message-ID: Subject: Re: [PATCH V5 21/21] KVM: compat: riscv: Prevent KVM_COMPAT from being selected To: Guo Ren , Paolo Bonzini Cc: Palmer Dabbelt , Arnd Bergmann , Greg Kroah-Hartman , liush , Wei Fu , Drew Fustini , Wang Junqiang , Christoph Hellwig , linux-arch , "linux-kernel@vger.kernel.org List" , linux-riscv , linux-csky@vger.kernel.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-parisc@vger.kernel.org, linux-mips@vger.kernel.org, linux-arm-kernel , x86@kernel.org, Guo Ren , kvm-riscv@lists.infradead.org, KVM General Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +Paolo On Tue, Feb 1, 2022 at 8:38 PM wrote: > > From: Guo Ren > > Current riscv doesn't support the 32bit KVM API. Let's make it > clear by not selecting KVM_COMPAT. > > Signed-off-by: Guo Ren > Signed-off-by: Guo Ren > Cc: Arnd Bergmann > Cc: Anup Patel This looks good to me. Reviewed-by: Anup Patel Regards, Anup > --- > virt/kvm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig > index f4834c20e4a6..a8c5c9f06b3c 100644 > --- a/virt/kvm/Kconfig > +++ b/virt/kvm/Kconfig > @@ -53,7 +53,7 @@ config KVM_GENERIC_DIRTYLOG_READ_PROTECT > > config KVM_COMPAT > def_bool y > - depends on KVM && COMPAT && !(S390 || ARM64) > + depends on KVM && COMPAT && !(S390 || ARM64 || RISCV) > > config HAVE_KVM_IRQ_BYPASS > bool > -- > 2.25.1 >