lkml.org 
[lkml]   [2021]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/1] arm64/cpufeature: Add option to disable mte support
From
Date
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


Cheers
Suzuki

\
 
 \ /
  Last update: 2021-07-28 12:00    [W:0.071 / U:0.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site