[PATCH v2 0/1] Add option to disable mte support

yee.lee at mediatek.com yee.lee at mediatek.com
Wed Jul 28 19:07:11 PDT 2021


From: Yee Lee <yee.lee at mediatek.com>

For some case of low-end devices with limited resources,
an option to disable mte support is necessary.

This patch Adds an alias in id-reg override mechanism
to suppress the mte feature via passing a param.

=== Test ===
QEMU5.2 + mte
passed "arm64.nomte" in cmdline
boot log:
..(skip)
[    0.000000] CPU features: SYS_ID_AA64PFR1_EL1[11:8]: forced to 0

Changed since v2:
 - Use id-reg override machanism to suppress feature. 

Yee Lee (1):
  arm64/cpufeature: Add arm64.nomte to override id-reg

 arch/arm64/kernel/idreg-override.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.18.0


More information about the Linux-mediatek mailing list