From: Marc Zyngier <maz@kernel.org>
To: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: yee.lee@mediatek.com, linux-kernel@vger.kernel.org,
nicholas.Tang@mediatek.com, Kuan-Ying.lee@mediatek.com,
chinwen.chang@mediatek.com,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
David Brazdil <dbrazdil@google.com>,
Mark Rutland <mark.rutland@arm.com>,
Ionela Voinescu <ionela.voinescu@arm.com>,
Amit Daniel Kachhap <amit.kachhap@arm.com>,
Quentin Perret <qperret@google.com>,
Andrew Scull <ascull@google.com>,
James Morse <james.morse@arm.com>, Fuad Tabba <tabba@google.com>,
"moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)"
<linux-arm-kernel@lists.infradead.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@lists.infradead.org>
Subject: Re: [PATCH 1/1] arm64/cpufeature: Add option to disable mte support
Date: Wed, 28 Jul 2021 11:05:45 +0100 [thread overview]
Message-ID: <87zgu6da86.wl-maz@kernel.org> (raw)
In-Reply-To: <88cded87-bc06-4aeb-4996-76a5faa58afe@arm.com>
On Wed, 28 Jul 2021 10:59:24 +0100,
Suzuki K Poulose <suzuki.poulose@arm.com> wrote:
>
> On 28/07/2021 10:42, yee.lee@mediatek.com wrote:
> > From: Yee Lee <yee.lee@mediatek.com>
> >
> > Add a static key to exapnd the logic of system_supports_mte().
> > This function controls mte enablement in both EL1 and EL0.
> >
> > The static key, "arm64_mte_support" is default true and can
> > be disabled via the early_param.
>
> Please could we use the id-reg override mechanism and give it
> an alias ?
>
> See :
>
> arch/arm64/kernel/idreg-override.c
>
> And could add something along the lines of :
>
> arm64.nomte
Damn, you beat me to it! :D
M.
--
Without deviation from the norm, progress is not possible.
prev parent reply other threads:[~2021-07-28 10:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-28 9:42 [PATCH 0/1] arm64/cpufeature: Add an option for mte support yee.lee
2021-07-28 9:42 ` [PATCH 1/1] arm64/cpufeature: Add option to disable " yee.lee
2021-07-28 9:59 ` Suzuki K Poulose
2021-07-28 10:05 ` Marc Zyngier [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=87zgu6da86.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=Kuan-Ying.lee@mediatek.com \
--cc=amit.kachhap@arm.com \
--cc=ascull@google.com \
--cc=catalin.marinas@arm.com \
--cc=chinwen.chang@mediatek.com \
--cc=dbrazdil@google.com \
--cc=ionela.voinescu@arm.com \
--cc=james.morse@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=matthias.bgg@gmail.com \
--cc=nicholas.Tang@mediatek.com \
--cc=qperret@google.com \
--cc=suzuki.poulose@arm.com \
--cc=tabba@google.com \
--cc=will@kernel.org \
--cc=yee.lee@mediatek.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;
as well as URLs for NNTP newsgroup(s).