[PATCH] arm64: document the boot requirements for MTE

Mark Brown broonie at kernel.org
Tue Apr 5 01:04:04 PDT 2022


On Mon, Apr 04, 2022 at 02:18:58PM -0700, Peter Collingbourne wrote:

> +  For CPUs with the Memory Tagging Extension feature:
> +
> +  - If EL3 is present:
> +
> +    - SCR_EL3.ATA (bit 26) must be initialised to 0b1.
> +
> +  - If the kernel is entered at EL1 and EL2 is present:
> +
> +    - HCR_EL2.ATA (bit 56) must be initialised to 0b1.

Very nitpicky but this is only required for FEAT_MTE2 and above, plain
FEAT_MTE doesn't have these traps.  I don't know that this is a thing
that anyone's actually implemented and from v8.7 on it's not permitted
but the above isn't strictly true if someone did for some reason have
the most basic version.

Otherwise

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- 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/20220405/726fd673/attachment.sig>


More information about the linux-arm-kernel mailing list