Merge "Allow to override MTE mode from device config on zumapro" into main
This commit is contained in:
commit
d7ca6ccc81
1 changed files with 26 additions and 0 deletions
|
@ -997,3 +997,29 @@ on property:vendor.all.modules.ready=1
|
||||||
chown system system /sys/bus/i2c/devices/9-0043/dbc/dbc_tx_lvl_hold_off_ms
|
chown system system /sys/bus/i2c/devices/9-0043/dbc/dbc_tx_lvl_hold_off_ms
|
||||||
chown system system /sys/bus/i2c/devices/9-0043/default/pm_active_timeout_ms
|
chown system system /sys/bus/i2c/devices/9-0043/default/pm_active_timeout_ms
|
||||||
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