diff options
author | Yee Lee <[email protected]> | 2021-08-03 15:08:22 +0800 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2021-08-03 15:48:01 +0100 |
commit | 7a062ce31807eb402c38edbec50c1b848b4298f3 (patch) | |
tree | 0844ecbf2b1562746161775040c28fbe3cc00683 /net/lapb/lapb_timer.c | |
parent | 767215030150d9d01ff65fbc1c5dff515ffdcfe3 (diff) |
arm64/cpufeature: Optionally disable MTE via command-line
MTE support needs to be optionally disabled in runtime
for HW issue workaround, FW development and some
evaluation works on system resource and performance.
This patch makes two changes:
(1) moves init of tag-allocation bits(ATA/ATA0) to
cpu_enable_mte() as not cached in TLB.
(2) allows ID_AA64PFR1_EL1.MTE to be overridden on
its shadow value by giving "arm64.nomte" on cmdline.
When the feature value is off, ATA and TCF will not set
and the related functionalities are accordingly suppressed.
Suggested-by: Catalin Marinas <[email protected]>
Suggested-by: Marc Zyngier <[email protected]>
Suggested-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Yee Lee <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions