Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1034591ybz; Wed, 22 Apr 2020 12:18:09 -0700 (PDT) X-Google-Smtp-Source: APiQypJbVxrEzLcSoaj9XsOLqyMGRFNUyZ69lepdWpulTVl6U+T232XMa48NJY0GAsPSoYPSwo86 X-Received: by 2002:a05:6402:1cac:: with SMTP id cz12mr85102edb.373.1587583089177; Wed, 22 Apr 2020 12:18:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587583089; cv=none; d=google.com; s=arc-20160816; b=mYwBmwpeM8jq29Yu3c7mVcQzBLSzLGaPNHjjHgrnuHUFfD0h1PL0hWwFGKnVnhK3EA jXskyBhvbFcAiUnKaJWJCwKZDChQayc+MK5yAc/Ls9we9DzMXGHrdCJmvVxG2oOC504g H3d/PowvyA/BnXO6yMM/UFiTmGVEKpm1XimdlVeHy078B/166dbgCoabT92Am5Df/dh5 aRKrWF/7FdfaMuynt/ACe+TogDGHmm6ZICbn+biiQ29OhOR9dImGuRMHCSPV2y57Ie3r k3SSp3CcMdfheZQafGaCsj7KAXxDQ7/q5P5ysQr0HT4HR7QkcZ6Wl6RX3IeZVkDpI5lv k9ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=mKXAJzkphUQdfPI4fJFN9WIqk0Kzq7i6dDanB48J1WA=; b=kTUQdYi20Zo1gMgqgJ+y/9tpNTVzs9LTd2pLYz8Wn8KZglzlXC61DR4L3Wvpaoj1cZ SKXdou2lmQi55FlUOv5ygKJo1z2dFKeFAkQBAUCTqws43Cuuu3suRbgA2FdEZuqQkhqv 9nxfgzqtZUnBOKqqAO/XsoKg7JFRokqcvxziWL3B/HePjFteB0TgnXmxpam3NHAx5nTm 72QgsK3wOxG+i2YF38y/7O6V1rUJk7B58IhFPoPJlhXUCYnmHH4voa8NrF55O9HP2WV+ /TLkD9U+WA/E+mwvAh3v1MqjuBXMHdlMuDxL6n20psSYEwp8vmIJu3Yir0GMlXqZWuxL Eh9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo10si31080edb.19.2020.04.22.12.17.45; Wed, 22 Apr 2020 12:18:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726540AbgDVTNe (ORCPT + 99 others); Wed, 22 Apr 2020 15:13:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725913AbgDVTNd (ORCPT ); Wed, 22 Apr 2020 15:13:33 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C293BC03C1A9; Wed, 22 Apr 2020 12:13:33 -0700 (PDT) Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jRKoK-00073V-6C; Wed, 22 Apr 2020 21:13:28 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 87BF11C02FC; Wed, 22 Apr 2020 21:13:27 +0200 (CEST) Date: Wed, 22 Apr 2020 19:13:27 -0000 From: "tip-bot2 for Jimmy Assarsson" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] mm: Remove MPX leftovers Cc: Jimmy Assarsson , Borislav Petkov , Dave Hansen , x86 , LKML In-Reply-To: <20200402172507.2786-1-jimmyassarsson@gmail.com> References: <20200402172507.2786-1-jimmyassarsson@gmail.com> MIME-Version: 1.0 Message-ID: <158758280709.28353.11814672256767435249.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 66648766ef38d8d6c48ded2f59cf98420aec2cdb Gitweb: https://git.kernel.org/tip/66648766ef38d8d6c48ded2f59cf98420aec2cdb Author: Jimmy Assarsson AuthorDate: Thu, 02 Apr 2020 19:25:07 +02:00 Committer: Borislav Petkov CommitterDate: Wed, 22 Apr 2020 21:02:35 +02:00 mm: Remove MPX leftovers Remove MPX leftovers in generic code. Fixes: 45fc24e89b7c ("x86/mpx: remove MPX from arch/x86") Signed-off-by: Jimmy Assarsson Signed-off-by: Borislav Petkov Acked-by: Dave Hansen Link: https://lkml.kernel.org/r/20200402172507.2786-1-jimmyassarsson@gmail.com --- fs/proc/task_mmu.c | 3 --- include/linux/mm.h | 7 ------- 2 files changed, 10 deletions(-) diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 8d382d4..e12ad2e 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c @@ -622,9 +622,6 @@ static void show_smap_vma_flags(struct seq_file *m, struct vm_area_struct *vma) [ilog2(VM_GROWSDOWN)] = "gd", [ilog2(VM_PFNMAP)] = "pf", [ilog2(VM_DENYWRITE)] = "dw", -#ifdef CONFIG_X86_INTEL_MPX - [ilog2(VM_MPX)] = "mp", -#endif [ilog2(VM_LOCKED)] = "lo", [ilog2(VM_IO)] = "io", [ilog2(VM_SEQ_READ)] = "sr", diff --git a/include/linux/mm.h b/include/linux/mm.h index 5a32342..e1882ee 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -329,13 +329,6 @@ extern unsigned int kobjsize(const void *objp); # define VM_MAPPED_COPY VM_ARCH_1 /* T if mapped copy of data (nommu mmap) */ #endif -#if defined(CONFIG_X86_INTEL_MPX) -/* MPX specific bounds table or bounds directory */ -# define VM_MPX VM_HIGH_ARCH_4 -#else -# define VM_MPX VM_NONE -#endif - #ifndef VM_GROWSUP # define VM_GROWSUP VM_NONE #endif