Allow to override MTE mode from device config on zumapro
Bug: 302218596 Change-Id: I77a1231dd8d4bb01b6a796838b5c1c8f8d3b2461
This commit is contained in:
parent
01a8b2ec59
commit
a4e817020a
1 changed files with 26 additions and 0 deletions
|
@ -983,3 +983,29 @@ on property:vendor.all.modules.ready=1
|
||||||
chown system system /sys/bus/i2c/devices/9-0043/default/delay_before_stop_playback_us
|
chown system system /sys/bus/i2c/devices/9-0043/default/delay_before_stop_playback_us
|
||||||
|
|
||||||
enable vendor.vibrator.cs40l26
|
enable vendor.vibrator.cs40l26
|
||||||
|
|
||||||
|
# MTE
|
||||||
|
on property:persist.device_config.runtime_native_boot.mode_override=sync
|
||||||
|
# Per-core mode overrides.
|
||||||
|
# Little Cores: sync
|
||||||
|
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: sync
|
||||||
|
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
|
||||||
|
# Big Core: sync
|
||||||
|
write /sys/devices/system/cpu/cpu7/mte_tcf_preferred sync
|
||||||
|
|
||||||
|
on property:persist.device_config.runtime_native_boot.mode_override=asymm
|
||||||
|
# Per-core mode overrides.
|
||||||
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue