From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12429C468A7 for ; Fri, 5 Jul 2019 18:06:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DF90B216FD for ; Fri, 5 Jul 2019 18:06:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727487AbfGESGu (ORCPT ); Fri, 5 Jul 2019 14:06:50 -0400 Received: from mga11.intel.com ([192.55.52.93]:30893 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbfGESGt (ORCPT ); Fri, 5 Jul 2019 14:06:49 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jul 2019 11:06:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,455,1557212400"; d="scan'208";a="316145291" Received: from viggo.jf.intel.com (HELO localhost.localdomain) ([10.54.77.144]) by orsmga004.jf.intel.com with ESMTP; 05 Jul 2019 11:06:48 -0700 Subject: [PATCH 1/3] x86/mpx: remove selftests Makefile entry To: linux-kernel@vger.kernel.org Cc: Dave Hansen , x86@kernel.org, luto@kernel.org From: Dave Hansen Date: Fri, 05 Jul 2019 10:53:18 -0700 References: <20190705175317.1B3C9C52@viggo.jf.intel.com> In-Reply-To: <20190705175317.1B3C9C52@viggo.jf.intel.com> Message-Id: <20190705175318.784C233E@viggo.jf.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dave Hansen MPX is being removed from the kernel due to a lack of support in the toolchain going forward (gcc). This is the smallest possible patch to fix some issues that have been reported around running the MPX selftests. It is would also have been part of any removal series, so it is offered first. Signed-off-by: Dave Hansen Cc: x86@kernel.org Cc: Andy Lutomirski --- b/tools/testing/selftests/x86/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN tools/testing/selftests/x86/Makefile~mpx-remove-x86-selftests-makefile tools/testing/selftests/x86/Makefile --- a/tools/testing/selftests/x86/Makefile~mpx-remove-x86-selftests-makefile 2019-07-05 10:40:42.179907064 -0700 +++ b/tools/testing/selftests/x86/Makefile 2019-07-05 10:40:42.183907064 -0700 @@ -11,7 +11,7 @@ CAN_BUILD_X86_64 := $(shell ./check_cc.s CAN_BUILD_WITH_NOPIE := $(shell ./check_cc.sh $(CC) trivial_program.c -no-pie) TARGETS_C_BOTHBITS := single_step_syscall sysret_ss_attrs syscall_nt test_mremap_vdso \ - check_initial_reg_state sigreturn iopl mpx-mini-test ioperm \ + check_initial_reg_state sigreturn iopl ioperm \ protection_keys test_vdso test_vsyscall mov_ss_trap TARGETS_C_32BIT_ONLY := entry_from_vm86 syscall_arg_fault test_syscall_vdso unwind_vdso \ test_FCMOV test_FCOMI test_FISTTP \ _