diff options
author | Andy Lutomirski <luto@kernel.org> | 2015-07-09 19:17:29 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-07-21 10:51:20 +0200 |
commit | f2a50f8b7da45ff2de93a71393e715a2ab9f3b68 (patch) | |
tree | acba1a6a46474fc38053a29b1c0d57607ccaba65 /arch/hexagon | |
parent | 5aef51c340cb50ed9a3997dc5d782324372078bd (diff) | |
download | blackbird-op-linux-f2a50f8b7da45ff2de93a71393e715a2ab9f3b68.tar.gz blackbird-op-linux-f2a50f8b7da45ff2de93a71393e715a2ab9f3b68.zip |
x86/selftests, x86/vm86: Improve entry_from_vm86 selftest
The entry_from_vm86 selftest was very weak. Improve it: test
more types of kernel entries from vm86 mode and test them more
carefully.
While we're at it, try to improve behavior on non-SEP CPUs. The
old code was buggy because I misunderstood the intended
semantics of #UD in vm86, so I didn't handle a possible signal.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Denys Vlasenko <vda.linux@googlemail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/d8ef1d7368ac70d8342481563ed50f9a7d2eea6f.1436492057.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/hexagon')
0 files changed, 0 insertions, 0 deletions