[PATCH v3 2/2] x86/kvm: Expose new features for supported cpuid

2020-08-09 Thread Cathy Zhang
Expose the SERIALIZE and TSX Suspend Load Address Tracking features in KVM CPUID, so when running on processors which support them, KVM could pass this information to guests and they can make use of these features accordingly. SERIALIZE is a faster serializing instruction which does not modify reg

Re: [PATCH v3 2/2] x86/kvm: Expose new features for supported cpuid

2020-08-09 Thread Paolo Bonzini
On 09/08/20 09:47, Cathy Zhang wrote: > Expose the SERIALIZE and TSX Suspend Load Address Tracking > features in KVM CPUID, so when running on processors which > support them, KVM could pass this information to guests and > they can make use of these features accordingly. > > SERIALIZE is a faster

Re: [PATCH v3 2/2] x86/kvm: Expose new features for supported cpuid

2020-08-10 Thread Zhang, Cathy
On 8/10/2020 1:14 AM, Paolo Bonzini wrote: On 09/08/20 09:47, Cathy Zhang wrote: Expose the SERIALIZE and TSX Suspend Load Address Tracking features in KVM CPUID, so when running on processors which support them, KVM could pass this information to guests and they can make use of these features a

RE: [PATCH v3 2/2] x86/kvm: Expose new features for supported cpuid

2020-08-10 Thread Luck, Tony
> As you suggest, I will split the kvm patch into two parts, SERIALIZE and > TSXLDTRK, and this series will include three patches then, 2 kvm patches > and 1 kernel patch. SERIALIZE could get merged into 5.9, but TSXLDTRK > should wait for the next release. I just want to double confirm with >

Re: [PATCH v3 2/2] x86/kvm: Expose new features for supported cpuid

2020-08-10 Thread Zhang, Cathy
On 8/11/2020 7:59 AM, Luck, Tony wrote: As you suggest, I will split the kvm patch into two parts, SERIALIZE and TSXLDTRK, and this series will include three patches then, 2 kvm patches and 1 kernel patch. SERIALIZE could get merged into 5.9, but TSXLDTRK should wait for the next release. I just

Re: [PATCH v3 2/2] x86/kvm: Expose new features for supported cpuid

2020-08-11 Thread Paolo Bonzini
On 11/08/20 01:59, Luck, Tony wrote: > > Part 1: Add TSXLDTRK to cpufeatures.h Part 2: Add TSXLDTRK to > arch/x86/kvm/cpuid.c (on top of the version that Paolo committed with > SERIALIZE) > > Paolo: The 5.9 merge window is still open this week. Will you send > the KVM serialize patch to Linus bef