summaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-02-27 14:24:10 -0800
committerSean Christopherson <seanjc@google.com>2025-02-28 09:17:45 -0800
commit189ecdb3e112da703ac0699f4ec76aa78122f911 (patch)
treee01bdc4c1455034b64bdaa8e0baa735ac1c4e9fe /net/lapb/lapb_timer.c
parent433265870ab3455b418885bff48fa5fd02f7e448 (diff)
downloadlinux-189ecdb3e112da703ac0699f4ec76aa78122f911.tar.gz
linux-189ecdb3e112da703ac0699f4ec76aa78122f911.tar.bz2
linux-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: stable@vger.kernel.org Reviewed-and-tested-by: Ravi Bangoria <ravi.bangoria@amd.com> Link: https://lore.kernel.org/r/20250227222411.3490595-6-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions