From: Yeoreum Yun <yeoreum.yun@arm.com>
To: Mark Brown <broonie@kernel.org>
Cc: catalin.marinas@arm.com, pcc@google.com, will@kernel.org,
anshuman.khandual@arm.com, joey.gouly@arm.com, maz@kernel.org,
oliver.upton@linux.dev, frederic@kernel.org,
hardevsinh.palaniya@siliconsignals.io, samuel.holland@sifive.com,
palmer@rivosinc.com, charlie@rivosinc.com,
thiago.bauermann@linaro.org, bgray@linux.ibm.com,
tglx@linutronix.de, puranjay@kernel.org, david@redhat.com,
yang@os.amperecomputing.com, mbenes@suse.cz,
joel.granados@kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 6/7] kselftest/arm64/mte: preparation for mte store only test
Date: Wed, 11 Jun 2025 15:12:30 +0100 [thread overview]
Message-ID: <aEmOzrU3bZEbLcWK@e129823.arm.com> (raw)
In-Reply-To: <87931a27-36e4-4c6f-b97c-206493ec3da0@sirena.org.uk>
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@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
next prev parent reply other threads:[~2025-06-11 14:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-11 9:47 [PATCH v5 0/7] support FEAT_MTE_STORE_ONLY feature Yeoreum Yun
2025-06-11 9:47 ` [PATCH v5 1/7] arm64/cpufeature: add MTE_STORE_ONLY feature Yeoreum Yun
2025-06-11 14:14 ` Mark Brown
2025-06-11 9:47 ` [PATCH v5 2/7] prtcl: introduce PR_MTE_STORE_ONLY Yeoreum Yun
2025-06-11 14:14 ` Mark Brown
2025-06-11 9:47 ` [PATCH v5 3/7] arm64/kernel: support store-only mte tag check Yeoreum Yun
2025-06-11 13:19 ` Mark Brown
2025-06-11 9:47 ` [PATCH v5 4/7] arm64/hwcaps: add MTE_STORE_ONLY hwcaps Yeoreum Yun
2025-06-11 9:48 ` [PATCH v5 5/7] tools/kselftest: add MTE_STORE_ONLY feature hwcap test Yeoreum Yun
2025-06-11 12:46 ` Mark Brown
2025-06-11 14:09 ` Yeoreum Yun
2025-06-11 9:48 ` [PATCH v5 6/7] kselftest/arm64/mte: preparation for mte store only test Yeoreum Yun
2025-06-11 13:10 ` Mark Brown
2025-06-11 14:12 ` Yeoreum Yun [this message]
2025-06-11 9:48 ` [PATCH v5 7/7] kselftest/arm64/mte: add MTE_STORE_ONLY testcases Yeoreum Yun
2025-06-11 13:02 ` Mark Brown
2025-06-11 14:11 ` Yeoreum Yun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aEmOzrU3bZEbLcWK@e129823.arm.com \
--to=yeoreum.yun@arm.com \
--cc=anshuman.khandual@arm.com \
--cc=bgray@linux.ibm.com \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=charlie@rivosinc.com \
--cc=david@redhat.com \
--cc=frederic@kernel.org \
--cc=hardevsinh.palaniya@siliconsignals.io \
--cc=joel.granados@kernel.org \
--cc=joey.gouly@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maz@kernel.org \
--cc=mbenes@suse.cz \
--cc=oliver.upton@linux.dev \
--cc=palmer@rivosinc.com \
--cc=pcc@google.com \
--cc=puranjay@kernel.org \
--cc=samuel.holland@sifive.com \
--cc=tglx@linutronix.de \
--cc=thiago.bauermann@linaro.org \
--cc=will@kernel.org \
--cc=yang@os.amperecomputing.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®