[PATCH v11 11/40] arm64/sme: Identify supported SME vector lengths at boot

Mark Brown broonie at kernel.org
Mon Feb 21 15:39:07 PST 2022


On Mon, Feb 21, 2022 at 03:57:20PM +0000, Catalin Marinas wrote:
> On Mon, Feb 07, 2022 at 03:20:40PM +0000, Mark Brown wrote:

> > +		if (IS_ENABLED(CONFIG_ARM64_SME)) {
> > +			sme_kernel_enable(NULL);
> > +			vec_init_vq_map(ARM64_VEC_SME);

> Why do we need to call sme_kernel_enable() here? It's called again later
> via the cpufeature framework. I guess you need the CPACR_EL1 setup but
> we don't seem to do this for SVE.

It's not needed any more, it's bit rot.
-------------- 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/20220221/21e3b27b/attachment.sig>


More information about the linux-arm-kernel mailing list