From: Catalin Marinas <catalin.marinas@arm.com>
To: linux-arm-kernel@lists.infradead.org,
Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>, james.morse@arm.com, maz@kernel.org
Subject: Re: [PATCH 0/2] arm64: alternative: Remove optional 'cfg' parameter
Date: Wed, 23 Sep 2026 19:20:04 +0100 [thread overview]
Message-ID: <179018757672.2942904.11161685932352017769.b4-ty@arm.com> (raw)
In-Reply-To: <20260902113232.314831-1-mark.rutland@arm.com>
On Wed, 02 Sep 2026 12:32:30 +0100, Mark Rutland wrote:
> These patches remove the optional 'cfg' parameter from alternative
> macros.
>
> Use of the 'cfg' parameter is less clear than ifdeffery or IS_ENABLED()
> checks, and also doesn't allow the compiler to elide asm() blocks when
> 'cfg' is not selected, so it's preferable to avoid it.
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/2] arm64: mte-kasan: Use IS_ENABLED() rather than ALTERNATIVE() 'cfg' parameter
https://git.kernel.org/arm64/c/228718f6babd
[2/2] arm64: alternative: Remove 'cfg' parameter
https://git.kernel.org/arm64/c/0406e2e71daf
prev parent reply other threads:[~2026-09-23 18:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 11:32 [PATCH 0/2] arm64: alternative: Remove optional 'cfg' parameter Mark Rutland
2026-09-02 11:32 ` [PATCH 1/2] arm64: mte-kasan: Use IS_ENABLED() rather than ALTERNATIVE() " Mark Rutland
2026-09-22 11:25 ` Vladimir Murzin
2026-09-02 11:32 ` [PATCH 2/2] arm64: alternative: Remove " Mark Rutland
2026-09-22 11:34 ` Vladimir Murzin
2026-09-23 18:20 ` 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=179018757672.2942904.11161685932352017769.b4-ty@arm.com \
--to=catalin.marinas@arm.com \
--cc=james.morse@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=maz@kernel.org \
--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