From patchwork Wed Jul 11 11:29:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joerg Roedel X-Patchwork-Id: 10519527 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 43057603D7 for ; Wed, 11 Jul 2018 11:32:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4695228592 for ; Wed, 11 Jul 2018 11:32:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3A7D6285A5; Wed, 11 Jul 2018 11:32:30 +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 E649028592 for ; Wed, 11 Jul 2018 11:32:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CB7696B0294; Wed, 11 Jul 2018 07:30:23 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id C68A46B0295; Wed, 11 Jul 2018 07:30:23 -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 AB8EB6B0296; Wed, 11 Jul 2018 07:30:23 -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 458716B0294 for ; Wed, 11 Jul 2018 07:30:23 -0400 (EDT) Received: by mail-ed1-f71.google.com with SMTP id n2-v6so9876617edr.5 for ; Wed, 11 Jul 2018 04:30:23 -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=FfZMh6Qu1mu9dvLee9ps1xs9owARwisXkRVSQabSMRB4plLau76egN4+44NYAV5brt 5lfY4kCxAc9kk79X6MAB6GbY8LWx9p5fK2aP54bukAsew/VkN9h5qZoaqWkW68hLZ9sR 5w30mBg1jRE+tUDsKO2Zl0EP7I80TNRyvuhG+i/3jBQ6rdqrgolcLwMtJxv15EE2qo5O Ye4eIDzMQzDgie4++eBYl1aZXReTL5TDltunMdN69i/8emKlcy0HsFOk78fIiimyxPm5 mJqZ9KrHunTM8rRKvBQbnCujh0ug04neV6bfW1L4AbQTK+EfrazyrL7mOulf3bSyTo2j 1HIQ== X-Gm-Message-State: APt69E2SSLrrmP1jKSw5OHqMMwclrUtJmuAnSijmJ8Utp1q2SfGN+mgI SH658pVNRrZ4MzJXAlfRBQw8f9qzu+RHE6TH8Y2IATzwJovhKf6wZ++1fwXJ4Gzq608CeAanQ2S YBTuLOzud7PSyr+7D8uiCsNYwBlRu1w30SfAwJYpvgTPTFR1u2GrGUy8TN7jN3a6Ung== X-Received: by 2002:aa7:c910:: with SMTP id b16-v6mr25979603edt.22.1531308622860; Wed, 11 Jul 2018 04:30:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcJqRXU9n5Pf/ec75apBC5UMxlbKZggKYsor/TcuELenWT1yL+noP1c+oCtG7HgTr6Sfzsk X-Received: by 2002:aa7:c910:: with SMTP id b16-v6mr25979573edt.22.1531308622269; Wed, 11 Jul 2018 04:30:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531308622; cv=none; d=google.com; s=arc-20160816; b=DqWU+3LbE8wPqU1Dv1J50kU9uzg0eFJyZ7A4EebykOvTP3wZYAzavLCW9rMuxuw+yZ miFjkna1c4GwupoyHtGMFz+1Klp2vgpsI5EamLSEM/nM8xtWQN6Gt7QA1GVpmY2PiTyE rPQaNdnH1PmlbyzE82M1t4Ylrb0xzwx2i7QxrxyrrzPvFF/HLbsmnV3hZF8eflnUxkj9 wvT2Dt4p73mA9FtWA+33mHhfN3Npc1oZ3rSPJeSr8ooPOte42BhTydP4Sf+fgzC0uTT4 4R7sgTfUkTfNL5uSLpbGcJ5vLF0umwap3T0rMP8jOHNjNdAY1TE9dPqNHg5lqeK+4rVn WaHQ== 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=VGp6n+JmR4GzCbiwlc2IBw6AB8q5eiR9eUYvbVSG30JJfM638JLpUyiyXdCqpYtC8n ziIsRn8j4ey8gZPPjj//EYfBvTeFs/OJ2by1pjLNmdbwTX0MPsO9hzM9iolk3NKbKz3+ zh55+If5EsvoMXcT6M5D7VzjO9OyfNweeW5oE8D7JaNrm/IAHR6/Ffg7NufsBicP/csC 1cXRG2kCkeoq3J7eIu8zKhOlvHMM/bUtVT5cJ3LI3/HMOJAtkjBajY6uOcdwPKvgBkfh 4RcFs0HGp55RjW8v+rGJCRaDJVsJL6CJyzgnGj03wJwDEH8+/Q6SmmE8mPWWbLrMIOAA qq/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@8bytes.org header.s=mail-1 header.b=NaSDi5tD; 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 h20-v6si1288536ede.252.2018.07.11.04.30.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jul 2018 04:30:22 -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=NaSDi5tD; 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 4C9C4309B; Wed, 11 Jul 2018 13:30:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=8bytes.org; s=mail-1; t=1531308608; bh=8glzuKAs23d7wHuOZFiXc3kocfypfj5+orC4WHMKs0Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NaSDi5tDLQjuoBL8dPwdvWtLH1GtJHWq9bYXBE/YSUFtZmrq5n4R3wu74/67PDTIv tPLrL4/OArbUWCtD4HYxZ77V3+q8OB31mUnlzG9WalXnu5BbVSi/c+DGFZUgJVDQXs mWqw4iBybSItLopyFfynRg2LOlq+hjJoXJe0r+CTKY6sLtT691LuIwNpuM1v6OjHeD 3OOHduIZN0OFFZkJlsqBfUcQwV+6TJLdVw3mx+ZRR49hESLUusQT5kvc8nXln3e3nG bFgeQLkOkilYogIYwd7ftsG6Do1vtqQYHzomxC3yHtZsjuqaNIwm5luPk6n5wu44jQ ULdnVaBFABI9A== 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, 11 Jul 2018 13:29:44 +0200 Message-Id: <1531308586-29340-38-git-send-email-joro@8bytes.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531308586-29340-1-git-send-email-joro@8bytes.org> References: <1531308586-29340-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