selftests/x86: Add an iopl test
authorAndy Lutomirski <luto@kernel.org>
Wed, 16 Mar 2016 21:14:20 +0000 (14:14 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 17 Mar 2016 08:49:26 +0000 (09:49 +0100)
commitb08983015cdddca7e41c95f5054e2a8fb222a264
tree30786d4ef9c8ee27fe1e91c396f4bbcc22850e37
parent00f526850151e91fdad0896a1436341687ad2582
selftests/x86: Add an iopl test

This exercises two cases that are known to be buggy on Xen PV right
now.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jan Beulich <JBeulich@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/61afe904c95c92abb29cd075b51e10e7feb0f774.1458162709.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/testing/selftests/x86/Makefile
tools/testing/selftests/x86/iopl.c [new file with mode: 0644]