[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87zgu6da86.wl-maz@kernel.org>
Date: Wed, 28 Jul 2021 11:05:45 +0100
From: Marc Zyngier <maz@...nel.org>
To: Suzuki K Poulose <suzuki.poulose@....com>
Cc: yee.lee@...iatek.com, linux-kernel@...r.kernel.org,
nicholas.Tang@...iatek.com, Kuan-Ying.lee@...iatek.com,
chinwen.chang@...iatek.com,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
David Brazdil <dbrazdil@...gle.com>,
Mark Rutland <mark.rutland@....com>,
Ionela Voinescu <ionela.voinescu@....com>,
Amit Daniel Kachhap <amit.kachhap@....com>,
Quentin Perret <qperret@...gle.com>,
Andrew Scull <ascull@...gle.com>,
James Morse <james.morse@....com>,
Fuad Tabba <tabba@...gle.com>,
"moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)"
<linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@...ts.infradead.org>
Subject: Re: [PATCH 1/1] arm64/cpufeature: Add option to disable mte support
On Wed, 28 Jul 2021 10:59:24 +0100,
Suzuki K Poulose <suzuki.poulose@....com> wrote:
>
> On 28/07/2021 10:42, yee.lee@...iatek.com wrote:
> > From: Yee Lee <yee.lee@...iatek.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.
Powered by blists - more mailing lists