x86/mpx: remove MPX from arch/x86
commit45fc24e89b7cc2e227b2f03d99dda0a2204bf383
authorDave Hansen <dave.hansen@linux.intel.com>
Thu, 23 Jan 2020 18:41:20 +0000 (23 10:41 -0800)
committerDave Hansen <dave.hansen@intel.com>
Thu, 23 Jan 2020 18:41:20 +0000 (23 10:41 -0800)
tree913d1b90a3a490d3290e93d38e28ed8ddae2896a
parent42222eae17f7c930833dfda7896ef280879de94a
x86/mpx: remove MPX from arch/x86

From: Dave Hansen <dave.hansen@linux.intel.com>

MPX is being removed from the kernel due to a lack of support
in the toolchain going forward (gcc).

This removes all the remaining (dead at this point) MPX handling
code remaining in the tree.  The only remaining code is the XSAVE
support for MPX state which is currently needd for KVM to handle
VMs which might use MPX.

Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: x86@kernel.org
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
15 files changed:
Documentation/x86/intel_mpx.rst [deleted file]
arch/x86/include/asm/bugs.h
arch/x86/include/asm/disabled-features.h
arch/x86/include/asm/mmu.h
arch/x86/include/asm/mmu_context.h
arch/x86/include/asm/mpx.h [deleted file]
arch/x86/include/asm/processor.h
arch/x86/include/asm/trace/mpx.h [deleted file]
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/setup.c
arch/x86/kernel/sys_x86_64.c
arch/x86/mm/hugetlbpage.c
arch/x86/mm/mmap.c
arch/x86/mm/mpx.c [deleted file]