From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9177C433F5 for ; Tue, 1 Feb 2022 16:01:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240774AbiBAQBB (ORCPT ); Tue, 1 Feb 2022 11:01:01 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:27281 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240755AbiBAQBA (ORCPT ); Tue, 1 Feb 2022 11:01:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643731260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9TOgZSvYLjnxXgPMR3aA+UnxenzdhiCu/Ec4ih921w8=; b=DXSklULSxOGUrGHaoR8WfDOrGoeJv3PujW5GzQowRLju8Xsefu/JKXgUv8Ox7FJiMY/zoV 5BdYDmUL5ZhGsljrPZfTNEsv65cjVOhoVKNs8CdIhgpg8GxUsNvLwadSjMGFbASmGEDE/F MeIUNTbMh4aSphpCmx8pCfFKsz3bkJU= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-467-qDA4APOaN8OnafwsywEBWQ-1; Tue, 01 Feb 2022 11:00:58 -0500 X-MC-Unique: qDA4APOaN8OnafwsywEBWQ-1 Received: by mail-ed1-f72.google.com with SMTP id i22-20020a50fd16000000b00405039f2c59so8923134eds.1 for ; Tue, 01 Feb 2022 08:00:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=9TOgZSvYLjnxXgPMR3aA+UnxenzdhiCu/Ec4ih921w8=; b=7402EseYRra/i0fynMRwES2Ba8Wel2VGmB8gn1WjNjxkrWT7uYP6630VFzFpB1rHaa JQfW6/JULq2vwWc2qKO7yN+GGz0BIEI0c0sYGV9waLBDvs3Jnln924f6QVDtz3EgVbIF xF3xDUX7E9l9QHKTbi8HFXNKkUVfChZsVMKS+YNLW5taq1bStIw1RsSJl9dsoUOut1hD d67Xk+yzYxwiWtsZhjWxLqITrK0RFIWNvMKNTEUhjlxJ3UYlDbnEm2ji1Qam1g4Lh10z 55I/D5L3XVsyDQ/DaCR4cxzqDjV48H1pNYkJd0CvK86MEJTXiYQIGMInb/N0mLHlMWLt 8F3Q== X-Gm-Message-State: AOAM533BJu6RwtuN6VpMyQv3knaKji1avs0EESt15FPA+AveN0gyvWSG UoL3hKLmhULNZgKpAZsEmpFuCKR85ZKuthR+IidDTqbZW2bHtV7iwmcLnroHeCZWtgon/Zymj0K AhliV6b5ZRPI1myK24fHr8H9Z X-Received: by 2002:a17:907:72d6:: with SMTP id du22mr21767230ejc.179.1643731257022; Tue, 01 Feb 2022 08:00:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyi6gqf6sTZV2adqJ/EwU8K0kh4yabr0HjJDqz0uGv4IXAxFUKBb//nn4tH0Br/W6v0yRG1zw== X-Received: by 2002:a17:907:72d6:: with SMTP id du22mr21767209ejc.179.1643731256826; Tue, 01 Feb 2022 08:00:56 -0800 (PST) Received: from ?IPV6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.googlemail.com with ESMTPSA id gh33sm14883510ejc.17.2022.02.01.08.00.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Feb 2022 08:00:56 -0800 (PST) Message-ID: Date: Tue, 1 Feb 2022 17:00:54 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH V5 21/21] KVM: compat: riscv: Prevent KVM_COMPAT from being selected Content-Language: en-US To: Anup Patel , Guo Ren 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 References: <20220201150545.1512822-1-guoren@kernel.org> <20220201150545.1512822-22-guoren@kernel.org> From: Paolo Bonzini In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/1/22 16:44, Anup Patel wrote: > +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 Hi Anup, feel free to send this via a pull request (perhaps together with Mark Rutland's entry/exit rework). Paolo