diff options
author | Andy Lutomirski <luto@kernel.org> | 2015-05-29 14:58:24 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-30 10:21:32 +0200 |
commit | c2affbf9a50882572e04645d5946ab0a921f061f (patch) | |
tree | c4ae76f81a3779fa4b798d9b481982c4eb1cfbb3 /tools/testing/selftests/timers/threadtest.c | |
parent | 927392d73a97d8d235bb65400e2e3c7f0bec2b6f (diff) | |
download | op-kernel-dev-c2affbf9a50882572e04645d5946ab0a921f061f.zip op-kernel-dev-c2affbf9a50882572e04645d5946ab0a921f061f.tar.gz |
x86/asm/entry/32, selftests: Add a selftest for kernel entries from VM86 mode
Test a couple of special cases in 32-bit kernels for entries
from vm86 mode. This will OOPS both old kernels due to a bug
and and 4.1-rc5 due to a regression I introduced, and it should
make sure that the SYSENTER-from-vm86-mode hack in the kernel
keeps working.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Jan Beulich <JBeulich@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/09a9916761e0a9e42d4922f147af45a0079cc1e8.1432936374.git.luto@kernel.org
Tests: 394838c96013 x86/asm/entry/32: Fix user_mode() misuses
Tests: 7ba554b5ac69 x86/asm/entry/32: Really make user_mode() work correctly for VM86 mode
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/testing/selftests/timers/threadtest.c')
0 files changed, 0 insertions, 0 deletions