diff options
author | Sean Christopherson <seanjc@google.com> | 2024-11-28 04:34:22 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-12-19 01:20:21 +0300 |
commit | 0fea7aa2dc6a7095fa6acc00bff2aaa108635e63 (patch) | |
tree | 6bd355990d3962fc79c6d295ac8f9148781e028b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9b2776c7cf2bdfb6a68b121c4038e167247ad1b1 (diff) | |
download | linux-0fea7aa2dc6a7095fa6acc00bff2aaa108635e63.tar.xz |
KVM: x86: Explicitly track feature flags that require vendor enabling
Add another CPUID feature macro, VENDOR_F(), and use it to track features
that KVM supports, but that need additional vendor support and so are
conditionally enabled in vendor code.
Currently, VENDOR_F() is mostly just documentation, but tracking all
KVM-supported features will allow for asserting, at build time, take),
that all features that are set, cleared, *or* checked by KVM are known to
kvm_set_cpu_caps().
To fudge around a macro collision on 32-bit kernels, #undef DS to be able
to get at X86_FEATURE_DS.
No functional change intended.
Link: https://lore.kernel.org/r/20241128013424.4096668-56-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions