From 8d3dd98c477d3d6fbf4af19874a28f6ef23bb1f6 Mon Sep 17 00:00:00 2001 From: Evgenii Stepanov Date: Tue, 17 Sep 2024 11:16:46 -0700 Subject: [PATCH] [ZumaPro] Change default MTE mode to Asymm. Flag: EXEMPT device rc update Bug: 367730185 Test: build Change-Id: Ifd1efba5c081e6b7612ca82110feac4473aceb74 --- conf/init.zumapro.soc.rc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/conf/init.zumapro.soc.rc b/conf/init.zumapro.soc.rc index ec0f6bc..3852fd3 100644 --- a/conf/init.zumapro.soc.rc +++ b/conf/init.zumapro.soc.rc @@ -130,6 +130,16 @@ on init write /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu6_memlat@17000010/mem_latency/stall_floor 2400 write /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu7_memlat@17000010/mem_latency/stall_floor 500 + # Prefer Asymmetric MTE mode when enabled + write /sys/devices/system/cpu/cpu0/mte_tcf_preferred asymm + write /sys/devices/system/cpu/cpu1/mte_tcf_preferred asymm + write /sys/devices/system/cpu/cpu2/mte_tcf_preferred asymm + write /sys/devices/system/cpu/cpu3/mte_tcf_preferred asymm + write /sys/devices/system/cpu/cpu4/mte_tcf_preferred asymm + write /sys/devices/system/cpu/cpu5/mte_tcf_preferred asymm + write /sys/devices/system/cpu/cpu6/mte_tcf_preferred asymm + write /sys/devices/system/cpu/cpu7/mte_tcf_preferred asymm + on zygote-start # For PixelLogger configuration file. chmod 0771 /data/vendor/wifi