[PATCH 5/6] arm64: Add the arm64.nosme command line option

Mark Brown broonie at kernel.org
Mon Jun 27 11:20:09 PDT 2022


On Mon, Jun 27, 2022 at 07:08:42PM +0100, Marc Zyngier wrote:
> Mark Brown <broonie at kernel.org> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220627/6e66f6a5/attachment.sig>


More information about the linux-arm-kernel mailing list