From patchwork Wed Jul 18 09:41:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joerg Roedel X-Patchwork-Id: 10531915 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 466CD602CA for ; Wed, 18 Jul 2018 09:43:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3635028FC3 for ; Wed, 18 Jul 2018 09:43:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 29D9028FD4; Wed, 18 Jul 2018 09:43:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB11B28FC3 for ; Wed, 18 Jul 2018 09:43:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 026106B02AD; Wed, 18 Jul 2018 05:41:43 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id F3F766B02AE; Wed, 18 Jul 2018 05:41:42 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DC5246B02AF; Wed, 18 Jul 2018 05:41:42 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by kanga.kvack.org (Postfix) with ESMTP id 6CAF16B02AD for ; Wed, 18 Jul 2018 05:41:42 -0400 (EDT) Received: by mail-ed1-f71.google.com with SMTP id y14-v6so1688103edo.21 for ; Wed, 18 Jul 2018 02:41:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:in-reply-to:references; bh=CliYgnZbmohA5O1xBxVSliAIvcy3J5hZOwxEIrmd3QM=; b=USSSatOQkubOeHEqoRMx0bRnFWNX54hUbyIN8h5InV6zgRZYRbgJf0akDtuE9Opj2o Y5fvF3r1d1RGSJ/pm0TyaSnhPkMEVYorwPooVIPmHr9DXp8zMfBSH0Zb9sQ4N7wCxBAq bV3DBlAuE7hJoqkJXjYCl42PvCDcA+i9dJKpKYkt1lzjM88kz0xiDp2696TD4QPVlVye ut4s+hy/VvJwL1j+3D+U82nQxExzoNilk0qPB2d1bSOih863bhCaKZ7s/2LMWxIRLAJO 3xvhEjHsCkxRe3x/A6BYfAoJdejL9eXzJOYvHn3/nlG5OVB3+OhKMg47aiQwTX5WKv9h yjIA== X-Gm-Message-State: AOUpUlG96XMD47mcihAsJq7LUy92GIF4QzFp2+vOXiFCkVS6RcDEcYXk yly/EaGYKI1+YTye6BGrjb71iK9RPYAQFggc7mAE/FToBipOy/ECdYIdk0QnwzErivukwHUBQn8 1wqCRZsw1u5YRD8fN1q/mSBmxsqUyYqZsFrfoNu4tpClg5REWbgRPZAXNGPcfK2GT0g== X-Received: by 2002:a50:c251:: with SMTP id t17-v6mr6315609edf.108.1531906902006; Wed, 18 Jul 2018 02:41:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc9bgH4tJy+Hqsj7T7cLWHRsfqpmn04gLFPMA17G1zPy/UEO96SCEx3Bln/YM5hh4sr2M8d X-Received: by 2002:a50:c251:: with SMTP id t17-v6mr6315582edf.108.1531906901454; Wed, 18 Jul 2018 02:41:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531906901; cv=none; d=google.com; s=arc-20160816; b=HmusQeCfiCxIJJoyi/kOQ6x6Fgq9K4OndfZWGigZPmacyByPmxMNSC4E4ryVTmR8zs uCViJ0Pg5opl5+Gp8cfkQdz9eiYKdm9xusCO1lezIiICZUfIn0D2wrZlU0Ls1d9FoiUT PBmj+BHNV/5O0+nGTBByzqzea16ug8hIWowg1IgsUA+x+piIN888hMTr1To0CL0qvpQf G3iIiGamAsOsIOmiqEtMWKteZ52YpYlYlNtJa2S27IS/yu2Y1Uw253twO7t0ogulh8tB 0uYfyGv6dfIFfU/V4Wzu2eakhVvbVbskCQIV/ikuQOiGxIW2ikJzusNLgDksnjgjr7oe Ge1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=CliYgnZbmohA5O1xBxVSliAIvcy3J5hZOwxEIrmd3QM=; b=zM/fIwfpCMVgrg7NeNGmEuP6XP83JZNepl2rlXBRiNyRrgFJ3IbzKqJ0GaGUsl/GTI E4GI//oGeyoVSiBaSG9Edw3vIiJPJh33DzfAmzgVG0royJAojheIzfuPwo6xACHBJnTU ykbybDpIu87gHEjRzUUqgC5fICk3AHZzqNrp57iqjWb4fFsYf6hAxstFkI/km9n/Q2M+ 3/VXZayfAdwU8pIn/HrcdyQn6zYzrErVopOkWxeg88Y+Qh/pQpUA1zMq8mn7pnuRH9Ea KP2qR6b2hxISgo1bL2AMMBU9udiJo1g7xWBryG9q9ZgO6SqmGLhEiMZPvZ1MEKRCEtxB wwuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@8bytes.org header.s=mail-1 header.b="TowtiU/2"; spf=pass (google.com: domain of joro@8bytes.org designates 2a01:238:4383:600:38bc:a715:4b6d:a889 as permitted sender) smtp.mailfrom=joro@8bytes.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: from theia.8bytes.org (8bytes.org. [2a01:238:4383:600:38bc:a715:4b6d:a889]) by mx.google.com with ESMTPS id l56-v6si2671942edd.239.2018.07.18.02.41.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jul 2018 02:41:41 -0700 (PDT) Received-SPF: pass (google.com: domain of joro@8bytes.org designates 2a01:238:4383:600:38bc:a715:4b6d:a889 as permitted sender) client-ip=2a01:238:4383:600:38bc:a715:4b6d:a889; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@8bytes.org header.s=mail-1 header.b="TowtiU/2"; spf=pass (google.com: domain of joro@8bytes.org designates 2a01:238:4383:600:38bc:a715:4b6d:a889 as permitted sender) smtp.mailfrom=joro@8bytes.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: by theia.8bytes.org (Postfix, from userid 1000) id 296DA30A8; Wed, 18 Jul 2018 11:41:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=8bytes.org; s=mail-1; t=1531906887; bh=8glzuKAs23d7wHuOZFiXc3kocfypfj5+orC4WHMKs0Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TowtiU/2lgahyk1yLnLJZp83KaIfz92h7GQp5i7MLWzkj8zPrcQ6syXlpDHwUq7LB zCuPNg5E3AjPKPP1bsXtvLOxD6s4k5lwXIKvUj5qIAmPCxTeE7xbAodBQbEEq+/fhw tS92WuqXiUKtzJzEUkJL1xuqLkTrEEfXuhfxWj7LtBp+I8EiGiUcoloUdKE3lUEtes bVnNhWHRGZPrEAleugjRfrBQvsUU02sNTk1AGmX6ORZUH9FfvUsHYrtbJ+Pnlj2Nr7 G1E1EkQMGcNqVn6XG7GZ78gDMw8NlGlZ9ZGBjET9xKvssOZ8PbGhXsdbKF9CasBxaE jsy6ZpgLGQyCg== From: Joerg Roedel To: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" Cc: x86@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , Andy Lutomirski , Dave Hansen , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Greg KH , Will Deacon , aliguori@amazon.com, daniel.gruss@iaik.tugraz.at, hughd@google.com, keescook@google.com, Andrea Arcangeli , Waiman Long , Pavel Machek , "David H . Gutteridge" , jroedel@suse.de, joro@8bytes.org Subject: [PATCH 37/39] x86/pti: Allow CONFIG_PAGE_TABLE_ISOLATION for x86_32 Date: Wed, 18 Jul 2018 11:41:14 +0200 Message-Id: <1531906876-13451-38-git-send-email-joro@8bytes.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531906876-13451-1-git-send-email-joro@8bytes.org> References: <1531906876-13451-1-git-send-email-joro@8bytes.org> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP From: Joerg Roedel Allow PTI to be compiled on x86_32. Signed-off-by: Joerg Roedel --- security/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/Kconfig b/security/Kconfig index c430206..afa91c6 100644 --- a/security/Kconfig +++ b/security/Kconfig @@ -57,7 +57,7 @@ config SECURITY_NETWORK config PAGE_TABLE_ISOLATION bool "Remove the kernel mapping in user mode" default y - depends on X86_64 && !UML + depends on X86 && !UML help This feature reduces the number of hardware side channels by ensuring that the majority of kernel addresses are not mapped