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 B9FFBC43334 for ; Mon, 27 Jun 2022 16:50:56 +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=rkSneeKC6hUAXd/IzyIACt6Q+Z9yJZLvxe7VrDLenPc=; b=O3CoQ/wWzbAp8QvTr40ZduT7Gt LwyqcLSRHiEsGwRV34mTN7xFojf9XgLW5mUVK5gC2F37dGY8Hj2iSif+W2skNwYsPhbuF2v5NPq8j YCW/7cyIHUdAlz1UXYBZ+bnop/o/koadu0YpiW9Hs8AzTd1aX++0A7Md/yO4ppGZ9iaQ7uDR7OgE/ ylAww2L2rrYZovcUSz4RhYTOI0Qul20A6LigLAVTWT9yfD+xgL+Rbcc4BjREUT1PSXpTsR0IRr+Vv O7zm/dfd+0yqdnYKd8Vas4N7oe1ITGpZ3wxwgw0tgWKddWJzwRYENPxxrTs8fO0Fw3RfMtNr94cYF lN9kJNEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5rvv-001tmN-2h; Mon, 27 Jun 2022 16:49:55 +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 1o5rvs-001tlP-3y for linux-arm-kernel@lists.infradead.org; Mon, 27 Jun 2022 16:49:53 +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 DE382B818D4; Mon, 27 Jun 2022 16:49:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5A5EC341CA; Mon, 27 Jun 2022 16:49:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656348589; bh=MlGbKojX4mw/taKcU6qvqePmxXnoXl3EvcAbXlFWuwU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uJopbgon3lc1U8r5X/bMwYReqEPTJ8+khGHAB/+xojJUNZeC9xWX2DlfuGNFRqCFk 4rpltG1t+pCe7YakndEclDsLzSxbV7LYnfgXYMWEscrGRRqVLqWUxCVJ32YJjx58H3 kVE4bLwZGwCYZMkdqaxnb0esh7H2y/yCnK4xVwKTIcrW24lGrgwqV8oG6obEFJjzBM Y2EU5jPH1WX/p8X01/xVnJH/Orpzn3A0KNTRkeKsd9ob6fPLi/Ve8XTjSCAbq8+WTe MdL1fNjFqB+S5XtGmDCyXkSwXmRNT0/dgr7/9NInPu/w66J3nY5uj/giGIC06xCSwB 7Etta+trJslWA== Date: Mon, 27 Jun 2022 17:49:44 +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 0/6] arm64: Disabling SVE/SME from the command-line Message-ID: References: <20220627151412.1496361-1-maz@kernel.org> <878rpi2kf7.wl-maz@kernel.org> MIME-Version: 1.0 In-Reply-To: <878rpi2kf7.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_094952_336147_E642690C X-CRM114-Status: GOOD ( 21.28 ) 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="===============2093471150036002999==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2093471150036002999== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QljMmIoUIVD1r2GR" Content-Disposition: inline --QljMmIoUIVD1r2GR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 27, 2022 at 04:30:36PM +0100, Marc Zyngier wrote: > Mark Brown wrote: > > Oh dear, I've not seen any reports of this. I'm guessing it's TF-A just > > not enabling the requisite traps, coupled with people using prebuilt > > kernels that turned off SVE when doing validation? > Most probably something along these lines. The case I'm aware of > involves booting a vanilla kernel on a system with a half baked > firmware. I have little sympathy for these systems, but this looks > like a reasonable ask to be able to disable a feature from the command > line in order to pinpoint the issue. It does, given the number of features that we've got in the pipeline that require higher EL enablement I was actually wondering if we might be better off going further and making this more of a standard idiom for how we add any feature that requires setup at EL2/3 to be functional so we don't need to go add overrides separately and most likely get them backported or whatever. There's the AMU which needs CPTR_EL[23].TAM for example. > Will someone ship a system with this baked into the command line? I > don't believe it for a second (/me ducks). I simply can't understand what you're saying here, must be something inconceivable. --QljMmIoUIVD1r2GR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmK536cACgkQJNaLcl1U h9AfLAf/ahK4sEJRd5pB2+mjNiJfscllDY6Z1LQjMZeG8bh4bxB78k8gqqQUMOiZ k1WzCLzPrt+9PmLUt4BiJGFBuOjn4Wvo364yodYAw/yJCrctN0+I3IBUMJyekGtc 5OCiEUI3LefptDCK8Ju2ZpAitthmz1dqry9UVpYsoPkcZcTT13Z1Dyix1SZ/09TL NB+zsIBP5SVYGzHWnjiF2pSieW3IZylOoye5AwAwR7bNGQtev1nadMRIYWFJ1Kj+ jGTtZaYZXaw9MFcqq++2Y0mOwx8JTMtfX8yPjoP3D28OQj2qVgVMXnaXDodvT+be 6mCBdmD/qHJesfwT2QaT2F2JEBzBLA== =Asy5 -----END PGP SIGNATURE----- --QljMmIoUIVD1r2GR-- --===============2093471150036002999== 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 --===============2093471150036002999==--