Received: by 10.223.185.116 with SMTP id b49csp518414wrg; Fri, 16 Feb 2018 02:52:55 -0800 (PST) X-Google-Smtp-Source: AH8x225VrHIKP+kw27nKXZhhtwIq7Sefq10OGnSO/KJ4RWBere7aG3zz5qGv4ezfK26EFLs4natK X-Received: by 2002:a17:902:36a:: with SMTP id 97-v6mr5617287pld.365.1518778375453; Fri, 16 Feb 2018 02:52:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518778375; cv=none; d=google.com; s=arc-20160816; b=a8WhTyGMB7XQzq6stayzh7ivU91d50jAA0dgdpbNWjXo8h9y2BCNLV8Oyo6NN1CdY0 +p1NtQoda+1ndV7CgUQyngJ8PO37By47xPdypg9qpQ6rwnXjWVC6FLtqbeYDBM7ckykc 1w4MPwTCMAhAbLgvbXmnA7wnbjd12dV//gi5dXC4K73vPvpYe0lRY0IXwxfJhUkhXsXC to4vtyCKIVRF0jNvBBLKBlfbkUVeC9qQ4g6O0rhaj3191dZs+him0VX830j4nLZNpiTW ta/ALTV6xtL+GDbzkFPePQbX1iYH1zZdw998e5bN2JSoD9Nv8JPRJ3bycFg5S81zoqqZ 99EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=78miSuzeeu+t43lGeODbmVacnuqzUDMiHr3TFj6EfNM=; b=N/+lsvFkyzfTm0LeitYhdj144Mefeuqbd8suCSOTDowCuGXtldYCPJIp+CoMfhTv8k hY3A2RQ/At5cMmLZ5NJiLuuLj1o6MpNHlpfrvUX5oEvnKkj+fGe+mqCktn2GtqAx5rri PqBJ0RT4Lf0xsmXes0QFpuGNlTSQfTWatSjdKHM1unSbEEaw8h6V4iK8WITfI5LZjLgM sBfURu6qtM2VZyJmUq9d81QpSQ7bI55226BzRZiPNT01E7Fp13CTA2uQ1F0n6ftTFA2v 585ms81KQapVYC/rEPPBDdTy/W2v7JjXB9dR1pvlKSSDj4WRY6acbqEyf9C93WPo1s1n vPjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q25si1279352pfh.304.2018.02.16.02.52.40; Fri, 16 Feb 2018 02:52:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1165762AbeBORvr (ORCPT + 99 others); Thu, 15 Feb 2018 12:51:47 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:55092 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1164231AbeBOPac (ORCPT ); Thu, 15 Feb 2018 10:30:32 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 5DC9F110F; Thu, 15 Feb 2018 15:30:31 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mark Rutland , Laura Abbott , Shanker Donthineni , Will Deacon , Ard Biesheuvel Subject: [PATCH 4.14 024/195] [Variant 3/Meltdown] arm64: mm: Temporarily disable ARM64_SW_TTBR0_PAN Date: Thu, 15 Feb 2018 16:15:15 +0100 Message-Id: <20180215151706.962798698@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180215151705.738773577@linuxfoundation.org> References: <20180215151705.738773577@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Will Deacon Commit 376133b7edc2 upstream. We're about to rework the way ASIDs are allocated, switch_mm is implemented and low-level kernel entry/exit is handled, so keep the ARM64_SW_TTBR0_PAN code out of the way whilst we do the heavy lifting. It will be re-enabled in a subsequent patch. Reviewed-by: Mark Rutland Tested-by: Laura Abbott Tested-by: Shanker Donthineni Signed-off-by: Will Deacon Signed-off-by: Ard Biesheuvel Signed-off-by: Greg Kroah-Hartman --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -882,6 +882,7 @@ endif config ARM64_SW_TTBR0_PAN bool "Emulate Privileged Access Never using TTBR0_EL1 switching" + depends on BROKEN # Temporary while switch_mm is reworked help Enabling this option prevents the kernel from accessing user-space memory directly by pointing TTBR0_EL1 to a reserved