]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mpx: remove MPX from arch/x86
authorDave Hansen <dave.hansen@linux.intel.com>
Thu, 23 Jan 2020 18:41:20 +0000 (10:41 -0800)
committerDave Hansen <dave.hansen@intel.com>
Thu, 23 Jan 2020 18:41:20 +0000 (10:41 -0800)
commit8affa895602164f17bb7f0963a792f51c9897ac5
tree913d1b90a3a490d3290e93d38e28ed8ddae2896a
parent0c99fba61e4a07b43be9cc9221e6d96dd3122411
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]