On Thu, Jul 02, 2020 at 11:13:35PM +0800, Xiaoyao Li wrote: > On 7/1/2020 4:04 PM, Yang Weijiang wrote: > > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > > index c5835f9cb9ad..6390b62c12ed 100644 > > --- a/arch/x86/kvm/x86.c > > +++ b/arch/x86/kvm/x86.c > > @@ -186,6 +186,9 @@ static struct kvm_shared_msrs __percpu *shared_msrs; > > | XFEATURE_MASK_BNDCSR | XFEATURE_MASK_AVX512 \ > > | XFEATURE_MASK_PKRU) > > +#define KVM_SUPPORTED_XSS (XFEATURE_MASK_CET_USER | \ > > + XFEATURE_MASK_CET_KERNEL) > > + > > This definition need to be moved to Patch 5? > Good capture, thanks! I'll move it in next series. > > u64 __read_mostly host_efer; > > EXPORT_SYMBOL_GPL(host_efer); > >