diff options
author | Sean Christopherson <seanjc@google.com> | 2025-02-28 01:24:08 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-02-28 20:17:45 +0300 |
commit | fb71c795935652fa20eaf9517ca9547f5af99a76 (patch) | |
tree | 7a5fdaf8f6f4dbce41ef386894406059a241d50f /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | d0eac42f5cecce009d315655bee341304fbe075e (diff) | |
download | linux-fb71c795935652fa20eaf9517ca9547f5af99a76.tar.xz |
KVM: x86: Snapshot the host's DEBUGCTL in common x86
Move KVM's snapshot of DEBUGCTL to kvm_vcpu_arch and take the snapshot in
common x86, so that SVM can also use the snapshot.
Opportunistically change the field to a u64. While bits 63:32 are reserved
on AMD, not mentioned at all in Intel's SDM, and managed as an "unsigned
long" by the kernel, DEBUGCTL is an MSR and therefore a 64-bit value.
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Cc: stable@vger.kernel.org
Reviewed-and-tested-by: Ravi Bangoria <ravi.bangoria@amd.com>
Link: https://lore.kernel.org/r/20250227222411.3490595-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions