DO NOT MERGE Revert "[Zuma] set mte_tcf_preferred to sync for little and mid cores"

This change interferes with perf measurement.

This reverts commit 0a55c41d15.

Bug: 239832365
Test: adb shell 'cat /sys/devices/system/cpu/cpu?/mte_tcf_preferred'
      should return all "async"
Change-Id: I1eca9c6e8143011aadcfd7e0b05d1d2d5cab7194
This commit is contained in:
Evgenii Stepanov 2023-04-07 12:47:23 -07:00
parent afd9513c42
commit 0efbedee7a

View file

@ -333,20 +333,6 @@ on init
chown system system /sys/devices/platform/13120000.pcie/link_stats/link_recovery_failures chown system system /sys/devices/platform/13120000.pcie/link_stats/link_recovery_failures
chown system system /sys/devices/platform/13120000.pcie/link_stats/link_up_failures chown system system /sys/devices/platform/13120000.pcie/link_stats/link_up_failures
# Write MTE config
# Little Cores:
write /sys/devices/system/cpu/cpu0/mte_tcf_preferred sync
write /sys/devices/system/cpu/cpu1/mte_tcf_preferred sync
write /sys/devices/system/cpu/cpu2/mte_tcf_preferred sync
write /sys/devices/system/cpu/cpu3/mte_tcf_preferred sync
# Mid Cores:
write /sys/devices/system/cpu/cpu4/mte_tcf_preferred sync
write /sys/devices/system/cpu/cpu5/mte_tcf_preferred sync
write /sys/devices/system/cpu/cpu6/mte_tcf_preferred sync
write /sys/devices/system/cpu/cpu7/mte_tcf_preferred sync
# Big Core: sync more performance is prohibitively bad
write /sys/devices/system/cpu/cpu8/mte_tcf_preferred asymm
on post-fs on post-fs
# Ensure device is ready and start storageproxyd # Ensure device is ready and start storageproxyd
wait /dev/sg1 wait /dev/sg1