[PATCH v5 6/7] kselftest/arm64/mte: preparation for mte store only test
Yeoreum Yun
yeoreum.yun at arm.com
Wed Jun 11 07:12:30 PDT 2025
Hi Mark,
> 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>
Thanks ;)
> > - 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.
Thanks. later I'll use enum first.
--
Sincerely,
Yeoreum Yun
More information about the linux-arm-kernel
mailing list