diff options
| author | Yosry Ahmed <yosry@kernel.org> | 2026-03-07 01:16:17 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-03-12 09:05:41 -0700 |
| commit | 3b27c82ba2f3dcf8075e3df74dbf7294d2955d1a (patch) | |
| tree | 080e3c091bbeb70ec8e084c0dd4e384a9aaddb15 /tools/perf/scripts/python | |
| parent | 43e41846ac7ebee529c3684b5726d71224f4fbdd (diff) | |
KVM: x86: Move some EFER bits enablement to common code
Move EFER bits enablement that only depend on CPU support to common
code, as there is no reason to do it in vendor code. Leave EFER.SVME and
EFER.LMSLE enablement in SVM code as they depend on vendor module
parameters.
Having the enablement in common code ensures that if a vendor starts
supporting an existing feature, KVM doesn't end up advertising to
userspace but not allowing the EFER bit to be set.
No functional change intended.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Yosry Ahmed <yosry@kernel.org>
Link: https://patch.msgid.link/20260307011619.2324234-2-yosry@kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
