diff options
author | 2020-11-02 11:51:10 -0800 | |
---|---|---|
committer | 2020-11-24 13:46:16 +0100 | |
commit | 716572b0003ef67a4889bd7d85baf5099c5a0248 (patch) | |
tree | d8e205314e9865d8bb9c078735fda51a38b7c512 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/msr: Downgrade unrecognized MSR message (diff) | |
download | wireguard-linux-716572b0003ef67a4889bd7d85baf5099c5a0248.tar.xz wireguard-linux-716572b0003ef67a4889bd7d85baf5099c5a0248.zip |
selftests/x86/fsgsbase: Fix GS == 1, 2, and 3 tests
Setting GS to 1, 2, or 3 causes a nonsensical part of the IRET microcode
to change GS back to zero on a return from kernel mode to user mode. The
result is that these tests fail randomly depending on when interrupts
happen. Detect when this happens and let the test pass.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/7567fd44a1d60a9424f25b19a998f12149993b0d.1604346596.git.luto@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions