aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-12-20 01:26:17 +0000
committerSean Christopherson <[email protected]>2025-01-08 20:57:03 +0000
commit983820cb53c0e796777caf85bfc2810ad0c8fb22 (patch)
tree9b0f6400e8ecaa5a1de056a6c91dc450630dd1ce /tools/testing/selftests/net/lib/py/utils.py
parentKVM: selftests: Use data load to trigger LLC references/misses in Intel PMU (diff)
downloadkernel-983820cb53c0e796777caf85bfc2810ad0c8fb22.tar.gz
kernel-983820cb53c0e796777caf85bfc2810ad0c8fb22.zip
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 <[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