aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2025-02-27 22:24:10 +0000
committerSean Christopherson <[email protected]>2025-02-28 17:17:45 +0000
commit189ecdb3e112da703ac0699f4ec76aa78122f911 (patch)
treee01bdc4c1455034b64bdaa8e0baa735ac1c4e9fe /tools/testing/selftests/net/lib/py/utils.py
parentKVM: SVM: Manually context switch DEBUGCTL if LBR virtualization is disabled (diff)
downloadkernel-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 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions