Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1109503rwi; Thu, 3 Nov 2022 00:48:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7T6C9jJVxHHGlL57NN0YyO1LcZw1Q/0QFZnJX33+okLZNqkBtQzzkbe46AR6BvIu+7p6y2 X-Received: by 2002:a05:6a02:186:b0:431:25fb:f1fe with SMTP id bj6-20020a056a02018600b0043125fbf1femr25612913pgb.130.1667461703152; Thu, 03 Nov 2022 00:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667461703; cv=none; d=google.com; s=arc-20160816; b=MFtNqaoTYXZG60dspShBnbPLD19Hx2FFb/x6ikUT9tbyWsCXmwLNT7mbBlcyZnPmkK 9dMmCuFI6HOlfscaB2qKrQ8wq+b6mq48N8iuKhtIExUDpcx64mcbg5YP8Y1sUK59gVGN 2rajx8AYJ/f+ub2jK4f5cPCq+Ch4evcZ4ApM2ywhN1HM8GANcpiQDME2QzRarJDlKEWS UQbvTyAbnIujYBg4m53zAjqYaES9FW3dktr3WQdoVVxmZxI1hDAERITHhJzyX1yr4lpu aMwA2kfDAhPBfzwi0Hl6WR+t4MraTgN660fkOrFYeoKTOYISxZ/bRDjAtuGethEgI7AO 36Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=yWamQQEiXwuUaXnbl6PlP555HrcaEY3+l7Gw0jB534c=; b=mAWDRD6oVKHd97PMRQ4SEFB5dovEeIgEsHoR0v9jNVx3lEZnUqvSUkvExhIyeTSkXI Ppj64P+4rDMFyzc/NUKiJ/M1Gq75Eire/PkwnaJ7qoQ5X57PXzNaOt/VvCCUz4O7NxRB JdYVP+L3HXchCOByXju5wE/fAh68zoa6c5p+ZhbSIuTYj7ny6PPrMGzVddslADPT3NXq I7dh5HIOwzk5vJYbD0IAtr9yP+fVK3d+WmCLPQv5AiG0ML/NTQwXRvJiWaBJ7sfvdfpX oxC3jh5AxhyOtlqUdTa6Blr+Udi2+1u35K990fVYUPzpoOkaWg2VKIVyrP5OJX0HI+p6 zx2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eMrmoHws; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u14-20020a63790e000000b0046f71a7292dsi189332pgc.384.2022.11.03.00.48.09; Thu, 03 Nov 2022 00:48:23 -0700 (PDT) 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=@linaro.org header.s=google header.b=eMrmoHws; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231246AbiKCHUT (ORCPT + 97 others); Thu, 3 Nov 2022 03:20:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230271AbiKCHUN (ORCPT ); Thu, 3 Nov 2022 03:20:13 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D6F36406 for ; Thu, 3 Nov 2022 00:20:09 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id a14so1309310wru.5 for ; Thu, 03 Nov 2022 00:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=yWamQQEiXwuUaXnbl6PlP555HrcaEY3+l7Gw0jB534c=; b=eMrmoHwsidAITYv+vZDTWUffj0xdVr6f9Irj4fYthgmDb2BtaKGEsFELQu2H6bnkWP kvYw40kYqV8j7+KID6Jv8TSwG2Jdrk3L2i6NZZnW1qKtWYQv3oDxv2zGF+cGC9qJEynl Q3HGYurZ4Dh8OnDMCMVGhftsWYYclQysAxS0McddFHROl75oHtCo1tssLi3inAUUaVcx fUR6nDRn+ryNrHgMilhwWNuUUGNT/fA+7xVLj81AQOwbU9CL+I5tsAtyXoOgw2iEFCeq 61/G+FvjBXJZUKkwTCZRxbrU1QIQmLSBOvOReMSizUzMvu13QKzBhMJ0mgPECH0jRV1d jpMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yWamQQEiXwuUaXnbl6PlP555HrcaEY3+l7Gw0jB534c=; b=ebH7k4izeqaGmpNkTYWL9coLpXpVABUQJwLAzuKL+FP5tHE89l9nf0URgji0o0vJBY GQ3qoKvSo4kXIGLyV9n1bDLXI1pInhyg6tT3F9/Q5PjF94lVVUvAnbfbEQ862al0pc8b oP7Yc/OrLWpZ7dIXC34ZFktV8PEhuz5FH6KJJqMhFlf/vtkY3g5+fq5rTqXL2PxNUq5U ImmBY3QX7kVfCE/CkYfpZW437s22hIE7clnUVjx+Ib3p7oafJSTKvs5C0O4gdJxtsbNE l45w02GGwKj3gueiyCWAMazOHfVcZGZuwcPMuFKOc5PwBpbXPtH3R1p4dsueBNcGtlaK z8HQ== X-Gm-Message-State: ACrzQf15RLlAASJ55hsavH/ORLllfFD2DABwsiPM+SqzcyAmVBchHryG ExP34grnvt0/M/SZyTTtshbd1A== X-Received: by 2002:a5d:5744:0:b0:236:5c21:177f with SMTP id q4-20020a5d5744000000b002365c21177fmr17331121wrw.449.1667460007685; Thu, 03 Nov 2022 00:20:07 -0700 (PDT) Received: from [192.168.11.175] (216.red-88-29-181.dynamicip.rima-tde.net. [88.29.181.216]) by smtp.gmail.com with ESMTPSA id fc19-20020a05600c525300b003cf57329221sm5884991wmb.14.2022.11.03.00.20.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Nov 2022 00:20:07 -0700 (PDT) Message-ID: <3a2d1d5e-b105-11ed-413b-4ad2dbba058e@linaro.org> Date: Thu, 3 Nov 2022 08:20:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH 30/44] KVM: Drop kvm_arch_check_processor_compat() hook Content-Language: en-US To: Sean Christopherson , Paolo Bonzini , Marc Zyngier , Huacai Chen , Aleksandar Markovic , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , Matthew Rosato , Eric Farman , Vitaly Kuznetsov Cc: James Morse , Alexandru Elisei , Suzuki K Poulose , Oliver Upton , Atish Patra , David Hildenbrand , kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Isaku Yamahata , Fabiano Rosas , Michael Ellerman , Chao Gao , Thomas Gleixner , Yuan Yao References: <20221102231911.3107438-1-seanjc@google.com> <20221102231911.3107438-31-seanjc@google.com> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= In-Reply-To: <20221102231911.3107438-31-seanjc@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 3/11/22 00:18, Sean Christopherson wrote: > Drop kvm_arch_check_processor_compat() and its support code now that all > architecture implementations are nops. > > Signed-off-by: Sean Christopherson > --- > arch/arm64/kvm/arm.c | 7 +------ > arch/mips/kvm/mips.c | 7 +------ > arch/powerpc/kvm/book3s.c | 2 +- > arch/powerpc/kvm/e500.c | 2 +- > arch/powerpc/kvm/e500mc.c | 2 +- > arch/powerpc/kvm/powerpc.c | 5 ----- > arch/riscv/kvm/main.c | 7 +------ > arch/s390/kvm/kvm-s390.c | 7 +------ > arch/x86/kvm/svm/svm.c | 4 ++-- > arch/x86/kvm/vmx/vmx.c | 4 ++-- > arch/x86/kvm/x86.c | 5 ----- > include/linux/kvm_host.h | 4 +--- > virt/kvm/kvm_main.c | 24 +----------------------- > 13 files changed, 13 insertions(+), 67 deletions(-) Reviewed-by: Philippe Mathieu-Daudé