From: Catalin Marinas <catalin.marinas@arm.com>
To: Bradley Morgan <brads@mainlining.org>
Cc: will@kernel.org, mark.rutland@arm.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND] arm64: entry: drop the unused tmp2 argument of mte_set_kernel_gcr()
Date: Tue, 24 Nov 2026 11:34:57 +0000 [thread overview]
Message-ID: <awV2YYTIqObQzenY@arm.com> (raw)
In-Reply-To: <20261007185512.2.mte-tmp2@mainlining.org>
On Wed, Oct 07, 2026 at 05:45:01PM +0000, Bradley Morgan wrote:
> mte_set_kernel_gcr() takes a tmp2 argument the macro never uses. It
> used to, the body passed \tmp and \tmp2 to mte_set_gcr, then
> commit 82868247897b ("arm64: kasan: mte: use a constant kernel
> GCR_EL1 value") swapped that for
>
> mov \tmp, KERNEL_GCR_EL1
>
> and tmp2 stayed in the declaration and in the one caller, which
> passes x23 for it.
>
> Drop it, both places.
>
> Signed-off-by: Bradley Morgan <brads@mainlining.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
prev parent reply other threads:[~2026-11-24 11:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 17:45 Bradley Morgan
2026-10-09 10:37 ` Vladimir Murzin
2026-10-09 15:01 ` Bradley Morgan
2026-11-24 11:34 ` Catalin Marinas [this message]
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=awV2YYTIqObQzenY@arm.com \
--to=catalin.marinas@arm.com \
--cc=brads@mainlining.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=will@kernel.org \
/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®