[PATCH v5 6/7] kselftest/arm64/mte: preparation for mte store only test
Mark Brown
broonie at kernel.org
Wed Jun 11 06:10:40 PDT 2025
On Wed, Jun 11, 2025 at 10:48:01AM +0100, Yeoreum Yun wrote:
> Since ARMv8.9, FEAT_MTE_STORE_ONLY can be used to restrict raise of tag
> check fault on store operation only.
>
> This patch is preparation for testing FEAT_MTE_STORE_ONLY
> It shouldn't change test result.
Not verified that that's the case but from inspection:
Reviewed-by: Mark Brown <broonie at kernel.org>
> - mte_switch_mode(mode, MTE_ALLOW_NON_ZERO_TAG);
> + mte_switch_mode(mode, MTE_ALLOW_NON_ZERO_TAG, false);
> item = ARRAY_SIZE(sizes);
I was going to say on the other series that the boolean flags are kind
of awkward from a readability point of view, but equally it doesn't feel
worth it to make these arguments enums so I'll just mention it but it's
fine either way.
-------------- 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/20250611/f0aa74cb/attachment.sig>
More information about the linux-arm-kernel
mailing list