diff options
author | 2024-11-27 17:33:53 -0800 | |
---|---|---|
committer | 2024-12-18 14:19:49 -0800 | |
commit | 46505c0f69f99cc8cf0b50842a35a49200db5144 (patch) | |
tree | b813900d79d8976e0e5a30c049214ea5790fcd11 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: Add a macro to precisely handle aliased 0x1.EDX CPUID features (diff) | |
download | wireguard-linux-46505c0f69f99cc8cf0b50842a35a49200db5144.tar.xz wireguard-linux-46505c0f69f99cc8cf0b50842a35a49200db5144.zip |
KVM: x86: Handle kernel- and KVM-defined CPUID words in a single helper
Merge kvm_cpu_cap_init() and kvm_cpu_cap_init_kvm_defined() into a single
helper. The only advantage of separating the two was to make it somewhat
obvious that KVM directly initializes the KVM-defined words, whereas using
a common helper will allow for hardening both kernel- and KVM-defined
CPUID words without needing copy+paste.
No functional change intended.
Link: https://lore.kernel.org/r/20241128013424.4096668-27-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions