Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1604497rwo; Wed, 2 Aug 2023 17:46:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlFHvx9fkx5WKfkGXo12U6+2N8q5C2D7Uzt3ZYxoArX0q4rLLOmA66kwx0lZh7kuUmfAzR0s X-Received: by 2002:adf:f60a:0:b0:314:3e77:f210 with SMTP id t10-20020adff60a000000b003143e77f210mr6043465wrp.59.1691023566217; Wed, 02 Aug 2023 17:46:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691023566; cv=none; d=google.com; s=arc-20160816; b=Ku2Gj8Vuiej/pUGVU95oCCufzk6cfy44d+PWPFgPV9iYdcA1EvgYTckRQC7SmW6OMU X4W0VRB/bC+AD2LHoDzmMK9ahWvLUipYOy+FEOhilOv/o12dXxDQmpvgDbBDpLWBsX3P NH1IHcDHDo6+GULjq8NUXJpaw9yPnR1nMNXTCS61Rsn9G8E+0FiK1+hYJh3njXNIK3MO 0K6VthB3V2/sCNnAsHcp0CpYBt7bkOCcODIsmPledVJaQSJ/8y8lXDLRQCFChUBn09/N hzIWmgUCuem+1vIFIPIj0gL8EMGWwgeDIqta+hSQGKLCPTAHLRRuCN8XJg+ruQ7xGhP2 tnkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=86rY/ZX4o3sTvcqKmgckScfeu8mwqdbfXr2MG0VjG08=; fh=JvJhDicfqMK/GnrmZZopyFEXsRp970Qgv0/MgYmVEUk=; b=bt+lurmaaALn5TFLDZnmXxb2vVtXJs1B/kcURsENw7Y49oMuo1C5tOpdNXM8zzI5dw 4QaE6SpJ4giS1QTBeNl5rBu/ADsoM40P0cCTdmNzo/L4BACj209Zqo50YqJydCGIjsnZ a1xpdeN4pnUF3FBp2AUvbdPitq2svTXx9uwZM8TSkiJ0cyly9N8CGJN07wX4AqUwa/Q1 ZaC7koSvKDA3sKyeQoiT4z6ax/33AYcxws9hoxTlx0/D1FGqTFBl+ejK9y+T8A0gdGiV 3RQTGe/Is8j6yRO5XUGEir7WwBw7TF9zC9bGhUaX46t9EtxjjdlI/8cjYkuS9aw1Ibqr hNIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="HPxE/cdN"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q2-20020aa7d442000000b0052228b411e4si6596991edr.203.2023.08.02.17.45.39; Wed, 02 Aug 2023 17:46:06 -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=@google.com header.s=20221208 header.b="HPxE/cdN"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232999AbjHCAEx (ORCPT + 99 others); Wed, 2 Aug 2023 20:04:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233008AbjHCAEv (ORCPT ); Wed, 2 Aug 2023 20:04:51 -0400 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DF612D67 for ; Wed, 2 Aug 2023 17:04:47 -0700 (PDT) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-585f254c41aso2915207b3.1 for ; Wed, 02 Aug 2023 17:04:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691021086; x=1691625886; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=86rY/ZX4o3sTvcqKmgckScfeu8mwqdbfXr2MG0VjG08=; b=HPxE/cdN7rXiTJbxTtQ5G97tr/fBNYEVOt2e0Bi0Zmjpfo2w711w/ZxE8d9vWF6gjA LRtlqjZjZwk5fczyrxrnoxNAec0PJgtxTSW9Sh7AZEli9VIpVUaA6MCTGkjSzu7ULCwX SjdkhmSaXKj0h9UsB4OBcgWkDM+utrbW+pxxdiZLnabiOyTEnMGaA2pFLUwi3KdFkhZR bCclnx+PPg/RMRM+MmdKInwoI4U5uhW3i75nDyuCETn1efc4U60HbujvIUFARC93WsgX fgygfOR8u3hJxZCOXuvugoK4Xw71iyZxAv6Y06S7H1rVQFZXacUeaxuacXSw3n4yqxyU az3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691021086; x=1691625886; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=86rY/ZX4o3sTvcqKmgckScfeu8mwqdbfXr2MG0VjG08=; b=YWKn/elxFi9oEgxHP+aCppcIl8rBq+63xNumgaLkopwbOXrBlGi3FSkcQlRo5z4i7W +0Lga/nO1GgWvjcaMBWsMZiaOVGjpZPWrWDZoap3V38xLnkQDOtTY7lLnidJZL9n2ABb 3oKsXpGhLntBfudc0ib+2uqiFJqUwkRKyjSYsBLUY65IYZ1hMLus1+gNHsOmhKWIaqSd oXvMYaBNAp8dBzvSgntnPO+ircA0Cj+7iI3svPZE5DMQIdqldX4tbfrGcyp7GETEUYqF mPJGq99K3oV5hcrzDSMQU9w47QlX6xTs3LbssqbPMTZoWp+sVee5ZRd7V4hR5qWRdUZi K9Xg== X-Gm-Message-State: ABy/qLZBvb3aNSbulWp6KhIi0hYllLtTnmSXsHxckre4Y9w2wLYAjOjR KC/k1xCP/ecJ7ol+JWXtvhRwQ1Hn9fI= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a81:a789:0:b0:586:5388:82ba with SMTP id e131-20020a81a789000000b00586538882bamr75718ywh.6.1691021086460; Wed, 02 Aug 2023 17:04:46 -0700 (PDT) Date: Wed, 2 Aug 2023 17:04:18 -0700 In-Reply-To: <20230607004311.1420507-1-seanjc@google.com> Mime-Version: 1.0 References: <20230607004311.1420507-1-seanjc@google.com> X-Mailer: git-send-email 2.41.0.585.gd2178a4bd4-goog Message-ID: <169101955030.1828845.4745877591921561605.b4-ty@google.com> Subject: Re: [PATCH 0/2] KVM: x86: Snapshot host MSR_IA32_ARCH_CAPABILITIES From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Chao Gao , Xiaoyao Li , Pawan Gupta Content-Type: text/plain; charset="utf-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL 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 Tue, 06 Jun 2023 17:43:08 -0700, Sean Christopherson wrote: > Snapshot the host's MSR_IA32_ARCH_CAPABILITIES to avoid repeated RDMSRs > at runtime, and cleanup the pseudo-cache vmx_fb_clear_ctrl_available. > > Sean Christopherson (2): > KVM: x86: Snapshot host's MSR_IA32_ARCH_CAPABILITIES > KVM: VMX: Drop unnecessary vmx_fb_clear_ctrl_available "cache" > > [...] Applied to kvm-x86 misc, with a fixup for the ARCH_CAPABILITIES.FB_CLEAR_CTRL vs. MSR_IA32_MCU_OPT_CTRL.FB_CLEAR_DIS confusion in patch 2's changelog. Thanks! [1/2] KVM: x86: Snapshot host's MSR_IA32_ARCH_CAPABILITIES https://github.com/kvm-x86/linux/commit/a2fd5d02bad6 [2/2] KVM: VMX: Drop unnecessary vmx_fb_clear_ctrl_available "cache" https://github.com/kvm-x86/linux/commit/550ba57faa04 -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes