[PATCH] mte: Follow arm64.nomte override in MMU setup.

Evgenii Stepanov eugenis at google.com
Tue Aug 9 09:41:28 PDT 2022


On Tue, Aug 9, 2022 at 1:50 AM Marc Zyngier <maz at kernel.org> wrote:
> How comes such memory is being used? How comes it is in the linear
> map?
>
> arm64.nomte is affecting the use of MTE feature on the platform. It
> doesn't guard the use of a MTE carve-out, and doesn't allow it to be
> used in any shape or form.
>
> To use this memory, you should remove the MTE configuration
> altogether, as you cannot infer what the CPU is doing with it.

This can be used to enable MTE in TZ but not in the NS memory.



More information about the linux-arm-kernel mailing list