Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1068508pxm; Wed, 23 Feb 2022 17:17:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtZxSjhw4PG+R4Pyx4JNMjiM83wxpWC53rk4uoAejsd46wQJIlsFa5nXGg6C5/yfQqgWiU X-Received: by 2002:a17:902:e80a:b0:14c:def1:ef60 with SMTP id u10-20020a170902e80a00b0014cdef1ef60mr361003plg.144.1645665433787; Wed, 23 Feb 2022 17:17:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645665433; cv=none; d=google.com; s=arc-20160816; b=y1Hb5D6KeEVaWG/V/QJPmKEamgpQrnV3LlVL8r4hpb5nN0rYjElsA653tvriKjOh66 5USI7jr0TZoKMkXJJIZH1tb4i4OxJQeYbUgJ7bv9QOY44VT0m0anB0TsqFsXkMKdAnuH 6uc1CbF+yRqDCokkkLZf9Es1IZRotSs/IuqrBNZNOEaxfA8goIORo7fctfWPpGgS0BOA X5MZB6poxoYOM3vxlM6x8bdwK26BOz9O2Nyt8mt0wpYuvLAydT6Y4Q3Zj/ZtByoPd+Af fNlHUoS1EDnh4ldA9FKcApWSvG0BnTRq7PxmyTTlbUd7FgQxGi5bS7b86+MOyEswDP+a Xv6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=EIgDsKHK/7A3hYjGzuwp0mt1Zx4DqedctDxyTOeLL7s=; b=CcqK+bDS+5UHekskkJFQd8M5oIloK+dE90Dr3uYosw9NLtRQG62DH6lWsDyxOWg2CW VIoj0Mh34E9GCTEe9cgLKJI6IenWTZejjAIkUx9Rr9HN42cl06cWcbyqGtHNyb9enGXm svsICZqamqYi5E4MtBvyPkAE52vEWp8m43hO+P/sSGr2E93+gfZbRQ1tPE1bdGLQsQGJ 4qA70Hb2CVayD/eA4IpGJvYa5xpssoIVEme5lk1KXVWrXZE0I/upDI6Sc2FTWUKolXlp 6gaX3o+4rycKfeJoG5K/mnCRKVI8C5BvQ/w1xJqqr5SGg9s1k4rs5QOAk8qXVHWSmvcj YRqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=zoYMgTMz; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s19si1153498pfk.137.2022.02.23.17.17.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 17:17:13 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=zoYMgTMz; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E16D513570C; Wed, 23 Feb 2022 17:01:57 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236704AbiBWBn4 (ORCPT + 99 others); Tue, 22 Feb 2022 20:43:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236691AbiBWBnb (ORCPT ); Tue, 22 Feb 2022 20:43:31 -0500 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DB9750B28 for ; Tue, 22 Feb 2022 17:42:59 -0800 (PST) Received: by mail-pf1-x42b.google.com with SMTP id d17so13898943pfl.0 for ; Tue, 22 Feb 2022 17:42:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=EIgDsKHK/7A3hYjGzuwp0mt1Zx4DqedctDxyTOeLL7s=; b=zoYMgTMzBim7kT8E8RtAzBQzMnYT267FbUn9niV42OhWDDak0NhGQ8Ea/WIztMSdKQ WSxjG++qNqyUmAc2rFY4lbsG8EtYCif2aWPLPIhNyEZJFdnXyvMGv1g5SNsAeHcVaduN 3aF9JUoL1uISZZVizP5eOdEs4wFcri1mJ7W2+7jH2qbukUw1tdGNQIlJ7nb9rT4vPg83 DNDX30kjb/RQrzmTdb3zLlrb9dUO4t3W5ODDYJ1SgNy4mYdShMW01rxlYfOZC4Zw1ELa Ncu4htbBSvAwLAgsMrP0ne4wobOp/VZfsAFVcBGt3znGcbkmYmTp/NzzfAR3cyfAxHK5 q+Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=EIgDsKHK/7A3hYjGzuwp0mt1Zx4DqedctDxyTOeLL7s=; b=I+nclBON2RTmYmLKGjgvXWK1vJLHeWSGSvJl+av/Bn4d04KzEfs65pbGEbZIqzlHEN yWMVtzr11ryq/aczPNZAZODKoyQXO88h+/7CwAB1pAqTiwTIxIzN1Vf2IVWfVGEqSkSs Mw+HPHzvJQJGvREhl5kcB+g9oTQIby30kzKk21vYlvcia0n4gHzfhyJp0daQn5PN5g7u lVlQGoVyWhL95Hz9nEgqZRsUNXnX07y8akT0JcRZ5uROwMZdf4rfpB1Hvt6jM6HPZAKn wGcSkur1jviqf+WADzhk6hXO0z8sqDHjgS/GL6y3jJwRBrj2Almdf9OxsGBw7jtmDPBT gWGA== X-Gm-Message-State: AOAM533iE0emymgqEvNKEUKsvG6EjhE6x1zN/m2uzbua25nLhbCsCXiu EiZ70i7/9xjKgBkfPTwAmiuFyQ== X-Received: by 2002:a05:6a00:114f:b0:4cd:65d0:7dd5 with SMTP id b15-20020a056a00114f00b004cd65d07dd5mr27015541pfm.41.1645580578972; Tue, 22 Feb 2022 17:42:58 -0800 (PST) Received: from localhost ([12.3.194.138]) by smtp.gmail.com with ESMTPSA id h7sm18228501pfi.128.2022.02.22.17.42.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 17:42:58 -0800 (PST) Date: Tue, 22 Feb 2022 17:42:58 -0800 (PST) X-Google-Original-Date: Tue, 22 Feb 2022 17:22:39 PST (-0800) Subject: Re: [PATCH V5 21/21] KVM: compat: riscv: Prevent KVM_COMPAT from being selected In-Reply-To: <20220201150545.1512822-22-guoren@kernel.org> CC: guoren@kernel.org, Arnd Bergmann , anup@brainfault.org, Greg KH , liush@allwinnertech.com, wefu@redhat.com, drew@beagleboard.org, wangjunqiang@iscas.ac.cn, Christoph Hellwig , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, 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@lists.infradead.org, x86@kernel.org, guoren@linux.alibaba.com From: Palmer Dabbelt To: guoren@kernel.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 01 Feb 2022 07:05:45 PST (-0800), guoren@kernel.org 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 > --- > 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 Reviewed-by: Palmer Dabbelt Acked-by: Palmer Dabbelt I'm assuming Anup is going to take this as per the discussion, but LMK if you want me to take it along with the rest of the series. There's some minor comments outstanding on the other patches.