aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2025-02-27 22:24:08 +0000
committerSean Christopherson <[email protected]>2025-02-28 17:17:45 +0000
commitfb71c795935652fa20eaf9517ca9547f5af99a76 (patch)
tree7a5fdaf8f6f4dbce41ef386894406059a241d50f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentKVM: SVM: Suppress DEBUGCTL.BTF on AMD (diff)
downloadkernel-fb71c795935652fa20eaf9517ca9547f5af99a76.tar.gz
kernel-fb71c795935652fa20eaf9517ca9547f5af99a76.zip
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 <[email protected]> Cc: [email protected] Reviewed-and-tested-by: Ravi Bangoria <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions