Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C9FB1C43334 for ; Mon, 27 Jun 2022 18:21:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MqyyojS1mgQCNZhNpje8oNY2OddyJhuzulHT1QkKiLw=; b=yz3BevHzEhV4aZoC+oTJg9JfNo s0505wtGRcpQS10/3J4zUYyx0a+8mN4kC1f9ZhMuTptAkqhENZACEFbdEu0igMVpbj6CgoHnpmDw+ 5i1FrtksKOuSvZReR/RrElHVRdm9t9FBjVC/wBEjy+b5v9tWCSQK1D99FilNfFivvXNFR/nEDzxWy MFlwpKHuYxX+YnmqB7LbhYRlJMjOCENAjuvgQmlJlG1o77cALYttwNCrHMwTXf7MM0hEJgJ0F3TgU Kl+goWOrZiJ8U0TxovL4Al8GcynEHRAfYqM8ftp4setKzSI7IFXxAbGqzKxOjLRhs9qLuQ3bXseL5 hWe0Qb4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5tLR-002Ncw-F0; Mon, 27 Jun 2022 18:20:21 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5tLO-002NcY-GA for linux-arm-kernel@lists.infradead.org; Mon, 27 Jun 2022 18:20:19 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2067EB8182F; Mon, 27 Jun 2022 18:20:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7825C3411D; Mon, 27 Jun 2022 18:20:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656354015; bh=owgyY3MwhP4fmyK535ZRaDR6jEsr8KwmNItCYgVCGKU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uhzkwcccrqI/pEKx7QdQNKwjY5rBr+KUoBJKfeRGWhMZC/JvzxKiyxFI3Du01WhpL lZqgywNdjE4AlkqKU/iO9y/7wvyxv94KMgCX+g3e4TWf/MjU7vbzTmg6yxLKnIUyni P7qHuDcxWe16l59stsPUFgeRa2eR1hzkFWx3itvGvnKL0YHGpl6kc289yzGKjme9fZ yLOddgRThWurAogDQFRy+LJksQjauQdVJGsPye2MvchWdTUGIp20TtmFvY0paJMpAe VmjGy85/GRAq7v66XMxR4RiTvsfNv0dSZLxX/L1rAehAswv1M8ucX8BGl3+kamDjqe VQ7V7D79h/zSA== Date: Mon, 27 Jun 2022 19:20:09 +0100 From: Mark Brown To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , Catalin Marinas , Mark Rutland , Ard Biesheuvel , danielmentz@google.com, saravanak@google.com, kernel-team@android.com Subject: Re: [PATCH 5/6] arm64: Add the arm64.nosme command line option Message-ID: References: <20220627151412.1496361-1-maz@kernel.org> <20220627151412.1496361-6-maz@kernel.org> <87sfnqdln9.wl-maz@kernel.org> MIME-Version: 1.0 In-Reply-To: <87sfnqdln9.wl-maz@kernel.org> X-Cookie: Your supervisor is thinking about you. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220627_112018_722904_32D8D0E3 X-CRM114-Status: GOOD ( 15.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2237169385758948394==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2237169385758948394== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="V/Ql8DvyKIeNvy+Z" Content-Disposition: inline --V/Ql8DvyKIeNvy+Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 27, 2022 at 07:08:42PM +0100, Marc Zyngier wrote: > Mark Brown wrote: > > On Mon, Jun 27, 2022 at 04:14:11PM +0100, Marc Zyngier wrote: > > > + mrs_s x2, SYS_ID_AA64SMFR0_EL1 > > > + ubfx x2, x2, #ID_AA64SMFR0_FA64_SHIFT, #1 // Full FP in SM? > > > + cbz x2, .Lskip_sme_fa64 > > I'm sure any firmware authors who enable SME will remember to also > > enable FA64 if it's supported in their hardware! > I could add check the override here too. It is a bit ugly as SMFR0 > isn't encoded as 4 bit features, but hey, why not. It'd be good for completeness and helping track things down if something does go wrong. --V/Ql8DvyKIeNvy+Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmK59NgACgkQJNaLcl1U h9ABKQf/YFszTHhhjJkSmW2v9EvgY4c5gxL3Xr8gQthQLsObEzg9WNa3gCCGpP75 fqZ3VjCneiXPSKPZQdgd51RIUM3yV5bx7qdLHfGJpiFWUV7v+m7xZy0pKKlGBRy5 qnDPXQSOP10064RfHSODMVr3PAZ4yhhpoRZt7d2mXgZRYZSNwkFJ1CCASC4+SX0P vkcyxPN8TJiWfy436g9cunVq9LtTWTbuC1TTJtSCY2uvPLAlNtaBvAh0mkkC5TgM KI6oCQsrQp8A7ILj7aSG0h0ExrBH4ntTG+h/3MujK+fTox+rCYI2b7szT8xua+ep 9fLwqga26iplBVcXapb/Q8bUKHfKlg== =Z5V8 -----END PGP SIGNATURE----- --V/Ql8DvyKIeNvy+Z-- --===============2237169385758948394== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2237169385758948394==--