diff options
| author | Sean Christopherson <[email protected]> | 2025-02-27 22:24:10 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2025-02-28 17:17:45 +0000 |
| commit | 189ecdb3e112da703ac0699f4ec76aa78122f911 (patch) | |
| tree | e01bdc4c1455034b64bdaa8e0baa735ac1c4e9fe /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | KVM: SVM: Manually context switch DEBUGCTL if LBR virtualization is disabled (diff) | |
| download | kernel-189ecdb3e112da703ac0699f4ec76aa78122f911.tar.gz kernel-189ecdb3e112da703ac0699f4ec76aa78122f911.zip | |
KVM: x86: Snapshot the host's DEBUGCTL after disabling IRQs
Snapshot the host's DEBUGCTL after disabling IRQs, as perf can toggle
debugctl bits from IRQ context, e.g. when enabling/disabling events via
smp_call_function_single(). Taking the snapshot (long) before IRQs are
disabled could result in KVM effectively clobbering DEBUGCTL due to using
a stale snapshot.
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
