All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Add option to disable mte support
@ 2021-07-29  2:07 ` yee.lee
  0 siblings, 0 replies; 8+ messages in thread
From: yee.lee @ 2021-07-29  2:07 UTC (permalink / raw)
  To: linux-kernel
  Cc: nicholas.Tang, Kuan-Ying.lee, chinwen.chang, Yee Lee,
	Matthias Brugger, moderated list:ARM/Mediatek SoC support,
	moderated list:ARM/Mediatek SoC support

From: Yee Lee <yee.lee@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
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-29  8:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-29  2:07 [PATCH v2 0/1] Add option to disable mte support yee.lee
2021-07-29  2:07 ` yee.lee
2021-07-29  2:07 ` yee.lee
2021-07-29  2:07 ` [PATCH v2 1/1] arm64/cpufeature: Add arm64.nomte to override id-reg yee.lee
2021-07-29  2:07   ` yee.lee
2021-07-29  2:07   ` yee.lee
2021-07-29  8:47   ` Marc Zyngier
2021-07-29  8:47     ` Marc Zyngier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.