[PATCH v3 1/7] selftests/x86: Test the FSBASE/GSBASE API and context switching

2016-04-07 Thread Andy Lutomirski
This catches two distinct bugs in the current code. I'll fix them. Signed-off-by: Andy Lutomirski --- tools/testing/selftests/x86/Makefile | 1 + tools/testing/selftests/x86/fsgsbase.c | 398 + 2 files changed, 399 insertions(+) create mode

[PATCH v3 1/7] selftests/x86: Test the FSBASE/GSBASE API and context switching

2016-04-07 Thread Andy Lutomirski
This catches two distinct bugs in the current code. I'll fix them. Signed-off-by: Andy Lutomirski --- tools/testing/selftests/x86/Makefile | 1 + tools/testing/selftests/x86/fsgsbase.c | 398 + 2 files changed, 399 insertions(+) create mode 100644