diff options
author | Sean Christopherson <seanjc@google.com> | 2024-12-20 04:26:17 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-01-08 23:57:03 +0300 |
commit | 983820cb53c0e796777caf85bfc2810ad0c8fb22 (patch) | |
tree | 9b0f6400e8ecaa5a1de056a6c91dc450630dd1ce /tools/perf/scripts/python/task-analyzer.py | |
parent | 7803339fa929387bbc66479532afbaf8cbebb41b (diff) | |
download | linux-983820cb53c0e796777caf85bfc2810ad0c8fb22.tar.xz |
KVM: selftests: Add helpers for locally (un)blocking IRQs on x86
Copy KVM-Unit-Tests' x86 helpers for emitting STI and CLI, comments and
all, and use them throughout x86 selftests. The safe_halt() and sti_nop()
logic in particular benefits from centralized comments, as the behavior
isn't obvious unless the reader is already aware of the STI shadow.
Cc: Manali Shukla <Manali.Shukla@amd.com>
Link: https://lore.kernel.org/r/20241220012617.3513898-1-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions