From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Subject: [PATCH 0/5] x86: finish the MPX removal process Date: Thu, 23 Jan 2020 11:04:56 -0800 Message-ID: <20200123190456.8E05ADE6@viggo.jf.intel.com> Return-path: Received: from mga04.intel.com ([192.55.52.120]:46723 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727590AbgAWTF7 (ORCPT ); Thu, 23 Jan 2020 14:05:59 -0500 Sender: linux-arch-owner@vger.kernel.org List-ID: To: linux-kernel@vger.kernel.org Cc: Dave Hansen , peterz@infradead.org, luto@kernel.org, x86@kernel.org, torvalds@linux-foundation.org, linux-arch@vger.kernel.org, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, jdike@addtoit.com, richard@nod.at, anton.ivanov@cambridgegreys.com, gxt@pku.edu.cn MPX requires recompiling applications, which requires compiler support. Unfortunately, GCC 9.1 is expected to be be released without support for MPX. This means that there was only a relatively small window where folks could have ever used MPX. It failed to gain wide adoption in the industry, and Linux was the only mainstream OS to ever support it widely. Support for the feature may also disappear on future processors. This set completes the process that we started during the 5.4 merge window. I'd _rather_ this go in via the x86 tree, but I'm not picky. I could also send a pull request directly to Linus. This series is also available here (mostly for 0day to chew on): https://git.kernel.org/pub/scm/linux/kernel/git/daveh/x86-mpx.git/log/?h=mpx-remove-20200123 This posting is mostly an FYI in case any affected maintainers have any concerns. Documentation/x86/intel_mpx.rst | 252 ------- arch/x86/include/asm/mpx.h | 116 --- arch/x86/include/asm/trace/mpx.h | 134 ---- arch/x86/mm/mpx.c | 938 ----------------------------- b/arch/powerpc/include/asm/mmu_context.h | 5 b/arch/um/include/asm/mmu_context.h | 5 b/arch/unicore32/include/asm/mmu_context.h | 5 b/arch/x86/Kconfig | 28 b/arch/x86/include/asm/bugs.h | 6 b/arch/x86/include/asm/disabled-features.h | 8 b/arch/x86/include/asm/mmu.h | 4 b/arch/x86/include/asm/mmu_context.h | 26 b/arch/x86/include/asm/processor.h | 18 b/arch/x86/kernel/alternative.c | 1 b/arch/x86/kernel/cpu/common.c | 18 b/arch/x86/kernel/cpu/intel.c | 36 - b/arch/x86/kernel/setup.c | 2 b/arch/x86/kernel/sys_x86_64.c | 9 b/arch/x86/kernel/traps.c | 74 -- b/arch/x86/mm/Makefile | 1 b/arch/x86/mm/hugetlbpage.c | 5 b/arch/x86/mm/mmap.c | 2 b/fs/exec.c | 1 b/include/asm-generic/mm_hooks.h | 5 24 files changed, 2 insertions(+), 1697 deletions(-) Cc: Peter Zijlstra (Intel) Cc: Andy Lutomirski Cc: x86@kernel.org Cc: Linus Torvalds Cc: linux-arch@vger.kernel.org Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Jeff Dike Cc: Richard Weinberger Cc: Anton Ivanov Cc: Guan Xuetao