Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1815327pxb; Sat, 23 Jan 2021 06:31:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVBE1fTTanzwsSIl6LWqxd79gO9E8uJMPOfumFMj3EJw0wXhlbo/ZoOCzQimddhLUNYfne X-Received: by 2002:a05:6402:95a:: with SMTP id h26mr1082168edz.288.1611412317463; Sat, 23 Jan 2021 06:31:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611412317; cv=none; d=google.com; s=arc-20160816; b=PitG9KOwR/Ex/j3riUVC+nIsue1E+Dirf6YUVqd5+nLTegSn8NCi3FtZj5WLbdoo9K 5C4uPHwHx8kxtW0iCEhDMXA73sSXQ1t6URCP60dCUU4wh6Kfmlv6pAt0aU6tFhRI91hc AJw4m/P7d3s8i0l/phmlkK0SRpW5rX9J0lOLfYaYrkPe9mwpUSX1aUIMD8+TDkaLt+/F iq2i3Dbt6P/Q5fsTwA7ORVs2t4ZUAUEuA8d9pqOcIzHlDpRQHLtPnPz6k3y8fBZm/4v7 uhLJbCQZ45xfCo7al2Oi+kAb/5I9AVR0cWyVlsHfpO79eAdvx0r+saIwy9jXXtGon7pb DSZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=tMLQrjU7XqTXaytC9KUXYz4aqNsZb/bx78TA1HwxiK8=; b=psYg0SGAka0th1G3z9AGGgfr35WG+Px25uXOZEGAJMZt0VAMm0Bgg/HnLfan/ZaXmH 5haKtTe5DxycHQ/UJs6PzSFeuS5PGMB0+rtxli5UdqHSN6YahmxHVFZ9NODOYwjhLWw9 7szGIVKjz3+xX++lenLm0vdpxavX1Izb5K0R9r2vPELO4CacqydS6XujfDOozIIImPxP cNOx3PacxnUMXItpju1ygstXkt2gxHpjjlqP5BdbjP3tSTw1qLiG8i0lbWeiw+DTjmnD JAL0yXFD03tdjhYVN/3SqOigehlRBvxIi081ROoYNKUkbQMDS78mqnhsj9dQVZ16JcJb 36/g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk23si5107580edb.368.2021.01.23.06.31.34; Sat, 23 Jan 2021 06:31:57 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726016AbhAWO3D (ORCPT + 99 others); Sat, 23 Jan 2021 09:29:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:35550 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbhAWO2x (ORCPT ); Sat, 23 Jan 2021 09:28:53 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1BA3B22EBE; Sat, 23 Jan 2021 14:28:09 +0000 (UTC) Date: Sat, 23 Jan 2021 14:28:07 +0000 From: Catalin Marinas To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, Will Deacon , Mark Rutland , David Brazdil , Alexandru Elisei , Ard Biesheuvel , Jing Zhang , Ajay Patil , Prasad Sodagudi , Srinivas Ramana , James Morse , Julien Thierry , Suzuki K Poulose , kernel-team@android.com Subject: Re: [PATCH v4 21/21] arm64: cpufeatures: Allow disabling of Pointer Auth from the command-line Message-ID: References: <20210118094533.2874082-1-maz@kernel.org> <20210118094533.2874082-22-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210118094533.2874082-22-maz@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 18, 2021 at 09:45:33AM +0000, Marc Zyngier wrote: > In order to be able to disable Pointer Authentication at runtime, > whether it is for testing purposes, or to work around HW issues, > let's add support for overriding the ID_AA64ISAR1_EL1.{GPI,GPA,API,APA} > fields. > > This is further mapped on the arm64.nopauth command-line alias. > > Signed-off-by: Marc Zyngier Reviewed-by: Catalin Marinas