LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v3 0/1] arm64/cpufeature: Support optionally disable MTE
@ 2021-07-30 14:49 yee.lee
  2021-07-30 14:49 ` [PATCH v3 1/1] arm64/cpufeature: Optionally disable MTE via command-line yee.lee
  0 siblings, 1 reply; 8+ messages in thread
From: yee.lee @ 2021-07-30 14:49 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 supoorts to override id-reg on the 
shadow capability via comandline and suppress MTE feature.

=== 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 v3:
 - Add documentation text

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

Yee Lee (1):
  arm64/cpufeature: Optionally disable MTE via command-line

 Documentation/admin-guide/kernel-parameters.txt | 3 +++
 arch/arm64/kernel/idreg-override.c              | 2 ++
 2 files changed, 5 insertions(+)

-- 
2.18.0


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

end of thread, other threads:[~2021-12-14 12:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-30 14:49 [PATCH v3 0/1] arm64/cpufeature: Support optionally disable MTE yee.lee
2021-07-30 14:49 ` [PATCH v3 1/1] arm64/cpufeature: Optionally disable MTE via command-line yee.lee
2021-08-02 15:30   ` Catalin Marinas
2021-08-03  5:55     ` Yee Lee
2021-11-25 10:19     ` Yee Lee
2021-12-03 16:33       ` Catalin Marinas
2021-12-14  8:19         ` Yee Lee
2021-12-14 12:02           ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).