Re: [PATCH v2 1/4] x86/cpufeatures: Add enumeration for SERIALIZE instruction

From: Paolo Bonzini
Date: Tue Aug 18 2020 - 03:15:17 EST


On 23/07/20 01:02, Thomas Gleixner wrote:
>> I am cc'ing Fenghua, who has volunteered to work on this. Addind support
>> for SERIALIZE in sync_core() should not block merging these patches,
>> correct?
> Come on. We are not serving KVM first before making this usable on bare
> metal.

This in the end was merged in 5.9, but: why not? It is just an
instruction with no other support code needed in the kernel (or KVM for
that matter except for marking the CPUID bit as supported). It is
common to run hosts with an older kernel than the guests, and by this
line of reasoning, we should not even have enabled support for FSGSBASE
in KVM.

Paolo