Re: [PATCH v5 6/7] kselftest/arm64/mte: preparation for mte store only test
From: Mark Brown
Date: Wed Jun 11 2025 - 09:11:01 EST
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@xxxxxxxxxx>
> - 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.
Attachment:
signature.asc
Description: PGP signature