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 7DE1EC433FE for ; Tue, 15 Feb 2022 17:12:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242304AbiBORNA (ORCPT ); Tue, 15 Feb 2022 12:13:00 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:38958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235970AbiBORM6 (ORCPT ); Tue, 15 Feb 2022 12:12:58 -0500 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCCC2119F7A for ; Tue, 15 Feb 2022 09:12:47 -0800 (PST) Received: by mail-pf1-x435.google.com with SMTP id m22so16712687pfk.6 for ; Tue, 15 Feb 2022 09:12:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=4Ih/L1veWypfxISiZ1TtaNISG3XBd4cm3yr2gMKyACg=; b=dYK73zPbAkhTSeb39UbwOGm9YFUDPd0a8aCni9+sVsWlfMzYteao2bcTOyPQkFbN3U pXGz6zgGiB4POoy9tgzE3oWFmqLGfVOrNd2qlzb/jaqHHXr/Nzt/d2PVMCYV0r+Zy6Np 5UiMqJVoXez3TblDAHwYreNkeZ+iPH7tE2we928Z2FHWSJSpMBUWNoneUGPLXXllUxi7 IY0X0pkOizpQPl8Rn24LIYVzylIjmHNVpDOEVJWw+EIat0xUVdrjzdBNsvfAIiATgC9n BYW4C0pQ1+thWhCr6Yj8HCA56AdNcF89uRoujduB9a7HUT3sQi+vDsvfwSnGFG/Z1uL6 JcsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=4Ih/L1veWypfxISiZ1TtaNISG3XBd4cm3yr2gMKyACg=; b=v8i665UxmpTkHdqL/uckJmkmWBBmSUCup7FY5i6j9SHmaDkhBRKRwdlR0BVHxdXeNr 9fQPfNT20UlIUAIr64iAtEhzGior3Kf4KXsq0o6FnCsXWg5m9Z8hr8vH+agRZv/nH5FK af9hZvAt1B7tcnXoIggpyI+7FZCw3RUKTPXLBWcY8Tn7Ah6rMGUuzAdBuontSjJRFkU6 VLVmB6488V+k7qY9REsphQOBHyqZKwcoI5xCmMLAEKidl9hTrNHvayeNhyBbEBV5X48Z mD/0Q5/M2tQ4qIqbYDamWKvxYPJFuQ7fFM+xIFmWFXcf6AzE1Hb665ojBqxW8xxUTUV5 +HMQ== X-Gm-Message-State: AOAM532+ezOljchJ75mlvVN00zHL8jp5kco/6W4+JWyAvBsepHzxLgXh JSNDe77+moatgcOvDA0EkpkLpg== X-Google-Smtp-Source: ABdhPJyrM4EBr7SfMl20JOUiLnT8F4bn4dyKiGiUdYjgLg/BHgdWuJxRFFxSOIi8z2ZefNOw/Bj8PA== X-Received: by 2002:aa7:87c7:: with SMTP id i7mr4902382pfo.83.1644945167236; Tue, 15 Feb 2022 09:12:47 -0800 (PST) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id j14sm43340909pfj.218.2022.02.15.09.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 09:12:46 -0800 (PST) Date: Tue, 15 Feb 2022 17:12:43 +0000 From: Sean Christopherson To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH v2 4/5] KVM: x86: make several APIC virtualization callbacks optional Message-ID: References: <20220214131614.3050333-1-pbonzini@redhat.com> <20220214131614.3050333-5-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220214131614.3050333-5-pbonzini@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 14, 2022, Paolo Bonzini wrote: > SVM does not need most of them, and there's no need for vendors to > support APIC virtualization to be supported in KVM, so mark them as > optional and delete the implementation. > > For consistency, apicv_post_state_restore is also marked as optional > and called with static_call_cond, even though it is implemented for > both Intel APICv and AMD AVIC. > > Signed-off-by: Paolo Bonzini > --- Reviewed-by: Sean Christopherson