Received: by 10.223.185.116 with SMTP id b49csp457491wrg; Fri, 16 Feb 2018 01:44:51 -0800 (PST) X-Google-Smtp-Source: AH8x224NUQJ+evpAJfK+tz7aXUnpSRyu2m9+N26CyNQ26dtv+1Whp5QCmqjAoiiGTKOvGV5mVkaZ X-Received: by 2002:a17:902:7e85:: with SMTP id c5-v6mr5472508plm.110.1518774291744; Fri, 16 Feb 2018 01:44:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518774291; cv=none; d=google.com; s=arc-20160816; b=SflwpsEbJjCXdCZwuhnpSoZsNE1HKlV4UPKtmilofVJr2miSqe8jX8B2WogcXlNJyW G4nUsnteHyRjoTQ/bF3211YOqpOwgPhG1dZ04M8jYiwPrkfdx9WWwr4O2Fj6RUsbrjXT 6l6Bv8FAdYMaHA2NvUescM0QjMYR5bcI7apNV6nQ5V+tiPbwNBHELxVmSlpRBoMiwGeM INA7hkLQbCWpSvWWlPkQk2d9ltMNHlQ+s76ApQ0BYS/mEd5lgGASUjoiGV/XmVFPYKtk l6lYODtkGdz0aZj4dM1OZvXZ4s8+A2EhFUvbhuLlqSNEYniehZtFazkIPLf2cWL0BSmz vzuQ== 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=93SoG/E3saCvT920AAhOu5tKUnwUlbCMcY8XFut1h0Q=; b=YVqKoM3Dhh+IE46r8bspthBzPbic/WuVlG6DG7XWzJ4dXWN+KCHoIHKM/pVNIwCCS2 en8mFm+qiTYlIC9unZio09Pkpn9PyRNRb8MMfvBa+hyO3O/1LqW3/kwTyKT3w0M8deaZ /wO+cjB/XC1/NYiUwNPi+GT13AlaAIyNIClDK/shGx84Z2xT0MLTzcRl6QWRaaNFyYx3 t5TndCuO7aef725+mq3OieUkF3dD4eDa4g/OXAnZrAIs7FVC2EgRreInfF1TE6AjxNIu tDudJlKugzhTd/nx4RTqcszPgVSn78oYZ1vD7xxG7Y7KD+ZLyBHrVNakNwKJ2P1GWW9X TQzA== 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 b34-v6si4214237plc.54.2018.02.16.01.44.36; Fri, 16 Feb 2018 01:44:51 -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 S1426773AbeBOQ7l (ORCPT + 99 others); Thu, 15 Feb 2018 11:59:41 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:59698 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423479AbeBOPjM (ORCPT ); Thu, 15 Feb 2018 10:39:12 -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 E8DAE1135; Thu, 15 Feb 2018 15:39:11 +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 Subject: [PATCH 4.15 016/202] [Variant 3/Meltdown] arm64: mm: Temporarily disable ARM64_SW_TTBR0_PAN Date: Thu, 15 Feb 2018 16:15:16 +0100 Message-Id: <20180215151713.700527466@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180215151712.768794354@linuxfoundation.org> References: <20180215151712.768794354@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.15-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: Greg Kroah-Hartman --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -920,6 +920,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