[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6ba8ab92-7771-d077-32ba-40896e06b035@intel.com>
Date: Wed, 9 Aug 2023 11:14:20 +0800
From: "Yang, Weijiang" <weijiang.yang@...el.com>
To: Paolo Bonzini <pbonzini@...hat.com>
CC: <rick.p.edgecombe@...el.com>, <chao.gao@...el.com>,
<binbin.wu@...ux.intel.com>, <seanjc@...gle.com>,
<peterz@...radead.org>, <john.allen@....com>,
<kvm@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v5 08/19] KVM:x86: Report KVM supported CET MSRs as
to-be-saved
On 8/5/2023 5:47 AM, Paolo Bonzini wrote:
> On 8/3/23 06:27, Yang Weijiang wrote:
>> Add all CET MSRs including the synthesized GUEST_SSP to report list.
>> PL{0,1,2}_SSP are independent to host XSAVE management with later
>> patches. MSR_IA32_U_CET and MSR_IA32_PL3_SSP are XSAVE-managed on
>> host side. MSR_IA32_S_CET/MSR_IA32_INT_SSP_TAB/MSR_KVM_GUEST_SSP
>> are not XSAVE-managed.
>
> MSR_KVM_GUEST_SSP -> MSR_KVM_SSP
>
> Also please add a comment,
>
> /*
> * SSP can only be read via RDSSP; writing even requires
> * destructive and potentially faulting operations such as
> * SAVEPREVSSP/RSTORSSP or SETSSBSY/CLRSSBSY. Let the host
> * use a pseudo-MSR that is just a wrapper for the GUEST_SSP
> * field of the VMCS.
> */
>
OK, will take it, thanks!
> Paolo
>
Powered by blists - more mailing lists