]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
selftests/x86/fsgsbase: Test selectors 1, 2, and 3
authorAndy Lutomirski <luto@kernel.org>
Tue, 1 Aug 2017 14:11:36 +0000 (07:11 -0700)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 15 Sep 2017 16:15:08 +0000 (09:15 -0700)
commit9265b0f2ef8ba89b757bf67339ac10010e2f6c14
tree4f9ca82520206d96850f3f5261f195ab17d24db4
parentaff0e72af9f22934e1bb87649d96659d9c748e5d
selftests/x86/fsgsbase: Test selectors 1, 2, and 3

BugLink: http://bugs.launchpad.net/bugs/1717549
commit 23d98c204386a98d9ef9f9e744f41443ece4929f upstream.

Those are funny cases.  Make sure they work.

(Something is screwy with signal handling if a selector is 1, 2, or 3.
Anyone who wants to dive into that rabbit hole is welcome to do so.)

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Borislav Petkov <bpetkov@suse.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Chang Seok <chang.seok.bae@intel.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
tools/testing/selftests/x86/fsgsbase.c