aboutsummaryrefslogtreecommitdiff
path: root/sound/parisc
diff options
context:
space:
mode:
authorPaolo Bonzini2021-10-21 17:19:27 -0400
committerPaolo Bonzini2022-03-21 09:28:40 -0400
commitf144c49e8c3950add1b051e76ebf40a258984c9d (patch)
tree33d043f4b69c2f90ef04fbb0ad4656be75cb6848 /sound/parisc
parent58b3d12c0a860cda34ed9d2378078ea5134e6812 (diff)
KVM: x86: synthesize CPUID leaf 0x80000021h if useful
Guests X86_BUG_NULL_SEG if and only if the host has them. Use the info from static_cpu_has_bug to form the 0x80000021 CPUID leaf that was defined for Zen3. Userspace can then set the bit even on older CPUs that do not have the bug, such as Zen2. Do the same for X86_FEATURE_LFENCE_RDTSC as well, since various processors have had very different ways of detecting it and not all of them are available to userspace. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions