Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1813373pxb; Sat, 23 Jan 2021 06:28:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRd9+BXf8sCFzt2NQGk/Te8IHClG4duzwbqdtLLF3RrEBmVDoErTSJv7BQQ83jdEbW0eXJ X-Received: by 2002:a17:906:494b:: with SMTP id f11mr3546533ejt.366.1611412122226; Sat, 23 Jan 2021 06:28:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611412122; cv=none; d=google.com; s=arc-20160816; b=u1TgiZIVk638v5xeYQ5C6WBlnCL282Q9XEn0jM/vlqWZtHI6FjOY7CpY77ut+AGhiY 6q7HzkdcAMAFfMPmNyovF1DJYADXMQ7VJCtugPwCONsX+X2jj50iRh9pyU9zZmrvD9Cc Qi7P4VJu5Y70u2zjBs0uL1f1qR2HvVByJT1h+QdhKLahdLJEuWsmc5G/o9jbGHdJFBm8 5ZFd0ca1BUHk/2LekMa4kAYzVbkiKNC+nlj11amyMOjDOJtPy1TIVUlT2rboLOoOayZG 5UESn8sHQQYe2hh7wkNxYbhP0vVrll5yyk6EV4UD7NHARIEvPGwbhN1HJwg+CLTtROtK fxjA== 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=LbewPk9Q+LSVw3XneBpyoij3AsAsGI9GtOCnpEr+BSQ=; b=WxLO/nHZ4TM1aREuO3Eg9WCLg8kAPPYbUQr8b/Y6PNpe8/JcdEe82QRXdbc95f4YV3 +8Zttblp2bWFFT9GMHMJCnI4D7YcZDYvGDCStpZfsHfH21f2juazp/F8AUfnkwoJRS3S IPFQ72wA8f6g9hrXKZjSGwZqG/el4SZeXNSvOsFOL3V43eR5mOpXRTHIL754nJBJci26 0rkbOfC0XMVfRd2c8y46wCrUv76hqr9CJkHGHNMq+1NiI8OjQwoVVCAY4ydPfMFHiio0 vYqEAt4uGv2f0SfC5WdmWXRT7oGbeGzehC2Eyr9aC9Bc02+gxKZfdPNh1hczj+/rQzcU gEXQ== 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 q13si4648169edd.419.2021.01.23.06.28.17; Sat, 23 Jan 2021 06:28:42 -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 S1725933AbhAWOYx (ORCPT + 99 others); Sat, 23 Jan 2021 09:24:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:35124 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725922AbhAWOYw (ORCPT ); Sat, 23 Jan 2021 09:24:52 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 120EF22DFA; Sat, 23 Jan 2021 14:24:08 +0000 (UTC) Date: Sat, 23 Jan 2021 14:24:06 +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 19/21] arm64: cpufeatures: Allow disabling of BTI from the command-line Message-ID: References: <20210118094533.2874082-1-maz@kernel.org> <20210118094533.2874082-20-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210118094533.2874082-20-maz@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 18, 2021 at 09:45:31AM +0000, Marc Zyngier wrote: > In order to be able to disable BTI at runtime, whether it is > for testing purposes, or to work around HW issues, let's add > support for overriding the ID_AA64PFR1_EL1.BTI field. > > This is further mapped on the arm64.nobti command-line alias. > > Signed-off-by: Marc Zyngier Reviewed-by: Catalin Marinas