[PATCH 1/1] arm64/cpufeature: Add option to disable mte support

Marc Zyngier maz at kernel.org
Wed Jul 28 03:05:45 PDT 2021


On Wed, 28 Jul 2021 10:59:24 +0100,
Suzuki K Poulose <suzuki.poulose at arm.com> wrote:
> 
> On 28/07/2021 10:42, yee.lee at mediatek.com wrote:
> > From: Yee Lee <yee.lee at 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.



More information about the Linux-mediatek mailing list