mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
36fa06f9ff
Allow userspace to enable RDPID for a guest without also enabling RDTSCP.
Aside from checking for RDPID support in the obvious flows, VMX also needs
to set ENABLE_RDTSCP=1 when RDPID is exposed.
For the record, there is no known scenario where enabling RDPID without
RDTSCP is desirable. But, both AMD and Intel architectures allow for the
condition, i.e. this is purely to make KVM more architecturally accurate.
Fixes:
|
||
---|---|---|
.. | ||
avic.c | ||
nested.c | ||
pmu.c | ||
sev.c | ||
svm_ops.h | ||
svm.c | ||
svm.h | ||
vmenter.S |