[GIT PULL] x86: remove Intel MPX

From: Dave Hansen
Date: Wed Dec 05 2018 - 11:44:46 EST


Hi x86 maintainers,

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/daveh/x86-mpx.git mpx-remove

There is only one commit, removing the Intel MPX implementation from the
tree. The benefits of keeping the feature in the tree are not worth the
ongoing maintenance cost.

I updated this branch for 4.20-rc4 and it has passed all of the normal
0-day compile tests.

--

Documentation/x86/intel_mpx.txt | 244 ----
arch/x86/Kconfig | 28 -
arch/x86/include/asm/bugs.h | 6 -
arch/x86/include/asm/disabled-features.h | 8 +-
arch/x86/include/asm/fpu/xstate.h | 4 +-
arch/x86/include/asm/mmu.h | 4 -
arch/x86/include/asm/mmu_context.h | 31 -
arch/x86/include/asm/mpx.h | 115 --
arch/x86/include/asm/processor.h | 18 -
arch/x86/include/asm/trace/mpx.h | 134 ---
arch/x86/kernel/cpu/common.c | 18 -
arch/x86/kernel/cpu/cpuid-deps.c | 1 -
arch/x86/kernel/cpu/intel.c | 37 -
arch/x86/kernel/fpu/xstate.c | 6 +-
arch/x86/kernel/setup.c | 2 -
arch/x86/kernel/sys_x86_64.c | 9 -
arch/x86/kernel/traps.c | 74 --
arch/x86/kvm/cpuid.c | 13 +-
arch/x86/kvm/cpuid.h | 1 -
arch/x86/kvm/svm.c | 6 -
arch/x86/kvm/vmx.c | 60 +-
arch/x86/kvm/x86.c | 25 -
arch/x86/kvm/x86.h | 3 +-
arch/x86/mm/Makefile | 1 -
arch/x86/mm/hugetlbpage.c | 5 -
arch/x86/mm/mpx.c | 936 ----------------
fs/exec.c | 1 -
include/asm-generic/mm_hooks.h | 11 -
include/uapi/linux/prctl.h | 2 +-
kernel/sys.c | 13 +-
mm/mmap.c | 6 -
tools/testing/selftests/x86/mpx-debug.h | 15 -
tools/testing/selftests/x86/mpx-dig.c | 499 ---------
tools/testing/selftests/x86/mpx-hw.h | 124 --
tools/testing/selftests/x86/mpx-mini-test.c | 1616 --------------------
tools/testing/selftests/x86/mpx-mm.h | 10 -
36 files changed, 13 insertions(+), 4073 deletions(-)
delete mode 100644 Documentation/x86/intel_mpx.txt
delete mode 100644 arch/x86/include/asm/mpx.h
delete mode 100644 arch/x86/include/asm/trace/mpx.h
delete mode 100644 arch/x86/mm/mpx.c
delete mode 100644 tools/testing/selftests/x86/mpx-debug.h
delete mode 100644 tools/testing/selftests/x86/mpx-dig.c
delete mode 100644 tools/testing/selftests/x86/mpx-hw.h
delete mode 100644 tools/testing/selftests/x86/mpx-mini-test.c
delete mode 100644 tools/testing/selftests/x86/mpx-mm.h