aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorAndy Lutomirski <[email protected]>2019-07-02 03:43:19 +0000
committerThomas Gleixner <[email protected]>2019-07-02 06:45:20 +0000
commit9402eaf4c11f0b892eda7b2bcb4654ab34ce34f9 (patch)
tree5b392bddeac59062107c2e2adacaf80fc514bc66 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentx86/mtrr: Skip cache flushes on CPUs with cache self-snooping (diff)
downloadkernel-9402eaf4c11f0b892eda7b2bcb4654ab34ce34f9.tar.gz
kernel-9402eaf4c11f0b892eda7b2bcb4654ab34ce34f9.zip
selftests/x86: Test SYSCALL and SYSENTER manually with TF set
Make sure that both variants of the nasty TF-in-compat-syscall are exercised regardless of what vendor's CPU is running the tests. Also change the intentional signal after SYSCALL to use ud2, which is a lot more comprehensible. This crashes the kernel due to an FSGSBASE bug right now. This test *also* detects a bug in KVM when run on an Intel host. KVM people, feel free to use it to help debug. There's a bunch of code in this test to warn instead of going into an infinite looping when the bug gets triggered. Reported-by: Vegard Nossum <[email protected]> Signed-off-by: Andy Lutomirski <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: "BaeChang Seok" <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: [email protected] Cc: "Bae, Chang Seok" <[email protected]> Link: https://lkml.kernel.org/r/5f5de10441ab2e3005538b4c33be9b1965d1bb63.1562035429.git.luto@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions