Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1145936rwi; Thu, 3 Nov 2022 01:27:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5s32suRcggPXpMuQ1ErcciIxkCxpBHTDcM7yoC4/7HskdqtJTv81lbh0s9PZtcRazNieE6 X-Received: by 2002:a17:907:6e06:b0:7ae:1219:7035 with SMTP id sd6-20020a1709076e0600b007ae12197035mr3176269ejc.30.1667464045714; Thu, 03 Nov 2022 01:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667464045; cv=none; d=google.com; s=arc-20160816; b=DpcmM4MeLxnwtEqWJaiFvmXJfqhDPUXCM3nLaHljXhF7e/GcDJex1XKD2kYpuqwcJZ YPwj3TBtC/GOud3lj4WOohMVvBanBCK23qpVGBba5LhLNBlh+Kuq/AX9bjdLgzqracHb sL2Q1WViI/RcdL7GYq73Ps9HZQ9Z4lEKkzV2q4z34HXheZWxxa+GCHDA5aHNe7nicTuG ByJA3t4Nt6C/N37K8mbaVcU5YuwBF/S2HuhLuV6SjIFeNcArIf7dEr5TQzdjB1qUzIsc i8fTxbyNaHRAnYSjFfP3/hpxg5jWn/RYIar2MwfQjIH7owDess6t4sXafjNJWAT7TTQe 2hgw== 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=D/SNnecemsjQs+W90QUlkgsOD/Rjb4+lDkgjOjEDTCQ=; b=XXJXflQySMmmlrs5FCPxUbtmXSzEMiJsXodGtXs5iWvhiwIRgffL5CgI1LgYAY1ic0 ubv1xr0LVJQW+Z0i+Caq+N+OBs4RoJq4EoK13QA0qjgh3r3Wk5G9vAklux+tHFtnA6ZX /h/Y+5EFyUIn/SvVY26itYeX0DeH09fcTRll71TeO6wRZby8lkJdIDxGkddr4o+E192e HRZNVDo+kXpyxZtKiYdTOPPnwV4Fsce1L18fuzM5u0II28bDaD6nY2XKcE+5yl6grzVj v1e8XIr0YukGfWAT0hqjBN/bWdeJslWhiv1d2sbYJyo/GHEFzJ23G1PvzygfjuznBELL Lg5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jw3d99cv; 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 o3-20020aa7c503000000b0045d4f995ac0si372818edq.588.2022.11.03.01.27.02; Thu, 03 Nov 2022 01:27:25 -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=jw3d99cv; 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 S230465AbiKCHSW (ORCPT + 97 others); Thu, 3 Nov 2022 03:18:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230476AbiKCHST (ORCPT ); Thu, 3 Nov 2022 03:18:19 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAF18266E for ; Thu, 3 Nov 2022 00:18:17 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id bs21so1311923wrb.4 for ; Thu, 03 Nov 2022 00:18:17 -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=D/SNnecemsjQs+W90QUlkgsOD/Rjb4+lDkgjOjEDTCQ=; b=jw3d99cvMg52Lg1tLW9BuRNFr97hU8VbjiyM8gochZWG1eGvxYgj4JDJfCZnnjS66j 2lDmaY49Y9gNXV+0NqqYMPompzAvLelDDyxTDyv63Mzv1FpaKJ2B9UYwTxwc6+9E1fj5 FJhI1fX/X/YYeQJFY71s0y5YmCRlxUG6ujCNUlpLlY/mY+G8+yumC0FbiEGwNFo+LVFU bsVfMxNPq9XriX8IesQE+M4MIPqclT9ZI+C/ooGdqt08Ib6SHWOMYVtcjCYmkNt5Y22V kEpFY0C9GTT/VRjoVENUsza65QqqGrehKGm4P0CKYdVEVtyKJm9XwB/y8pqmKkigPrlA 3XhQ== 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=D/SNnecemsjQs+W90QUlkgsOD/Rjb4+lDkgjOjEDTCQ=; b=WEadqDaVmyTYI6brSj3pRbT0anJcrAC0XCxRbEAE0lD3MG50NtnF6GWwA+22qkdRS0 +0w1QB/cW+DU8XEBYUgkV3LDUPgYEE5RtQ+XvHPDNDjJ8UzrQdD/BElCxWNDw5lPIMWd oAH/pn4dAIlpRUpMQeneClKexYpAcIKfRzRLZ00oJ0FVQ0sOxi6awk5pHrdAGGVEcgZB c4PX4TEywM7zn4NcECD9PbaW53r8r9pB2FKk1wt9202l/5d+v9AIIFKtxXWAJVZQh/G+ OgYp/KMLowuPIVB6FNW6tN0CSFtbz9eX8awbXQbmm6rusF33TFulQjLOt0H0f0kGrAKl 1GPA== X-Gm-Message-State: ACrzQf2yfe0dwf0eD95BYQJsyWHRd4K/RH7NA4ZTl/5Y9ZWwbTyFQgwU eXGUTurYVE1MBfDbtHQczkSwow== X-Received: by 2002:a5d:42c7:0:b0:236:4ddd:3576 with SMTP id t7-20020a5d42c7000000b002364ddd3576mr17938354wrr.289.1667459896483; Thu, 03 Nov 2022 00:18:16 -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 j7-20020a05600c190700b003b477532e66sm6341187wmq.2.2022.11.03.00.18.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Nov 2022 00:18:15 -0700 (PDT) Message-ID: <1da0b1fa-ca20-4370-26b4-9f18ab8ac95d@linaro.org> Date: Thu, 3 Nov 2022 08:18:12 +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 27/44] KVM: Drop kvm_arch_{init,exit}() hooks 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-28-seanjc@google.com> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= In-Reply-To: <20221102231911.3107438-28-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_init() and kvm_arch_exit() now that all implementations > are nops. > > No functional change intended. > > Signed-off-by: Sean Christopherson > --- > arch/arm64/kvm/arm.c | 11 ----------- > arch/mips/kvm/mips.c | 10 ---------- > arch/powerpc/include/asm/kvm_host.h | 1 - > arch/powerpc/kvm/powerpc.c | 5 ----- > arch/riscv/kvm/main.c | 9 --------- > arch/s390/kvm/kvm-s390.c | 10 ---------- > arch/x86/kvm/x86.c | 10 ---------- > include/linux/kvm_host.h | 3 --- > virt/kvm/kvm_main.c | 19 ++----------------- > 9 files changed, 2 insertions(+), 76 deletions(-) Reviewed-by: Philippe Mathieu-Daudé