This reverts commit ac3b5c0cf5.
Reason for revert: Issue addressed by disabling write evicts during core wakeup
Bug: 278308279
Change-Id: Ib5c979483a9e28074345443158860f12f6e7ace2
This is only applied when the device is locked.
Bug: 275441997
Test: set the date of first usage successfully
Change-Id: I1037d673422cd198007bb13f8311b993fd5132db
Signed-off-by: Jack Wu <wjack@google.com>
to reduce boot time, boost mif freq when booting
and reset it after booting.
Bug: 274153820
Test: pass
Change-Id: I9977e256e883d9c8a80887b3155ed6b028e1c0c2
Signed-off-by: Chungkai Mei <chungkai@google.com>
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
move the rfkill permission setting from post-fs-data to early_boot
stage because the kernel/net/rfkill/rfkill.ko may not be loaded on
post-fs-data stage and cause the permission setting failed.
Bug: 277148159
Test: reboot device stress test and check the log
Change-Id: I1738febe22af21733ef2b14b16e84186b8156fd6
Bug: 273344931
Test: Make sure all the thermalHAL throttling can be cleared w/ the cmd below:
- adb shell setprop vendor.thermal.virtualskin.severity 4
- adb shell setprop persist.vendor.disable.thermal.control 1
Change-Id: I0a80725362efe5d9c7f48fd11c46f987c350f983
The chown operation on the cp_temp sysfs attribute needs to happen after
the cp_thermal_zone driver has been loaded by the insmod_sh service.
If not, the owner/group won't be updated and after the driver gets
loaded, cp_temp will default to root/root. Hence, we are moving this
operation from init to the post-fs-data stage.
Test: Verified owner/group for the sysfs attribute
Bug: 267485434
Change-Id: Ib463dd5f2de332164714a77bdb0302afeaad5217
Signed-off-by: Mahesh Kallelil <kallelil@google.com>
Changed the ownership of atomic write sysfs nodes for Pixelstats.
These nodes contain values such as peak_atomic_write, committed_atomic_block,
and revoked_atomic_block.
Bug: 242766542
Bug: 259351100
Test: check these ownership under /dev/sys/fs/by-name/userdata/
Change-Id: I4f27eb91d62829ef069565a65b262aaad95a443d
Signed-off-by: Ocean Chen <oceanchen@google.com>
Bug: 271378726
Test: Build and boot on device. Test with emul temp
Change-Id: I3cc53cb11e5dabbb894990c57e10da3a895244e7
Signed-off-by: Sayanna Chandula <sayanna@google.com>
- Define selinux property for /dev/block/by-name/trusty_persist
- Add symlink into init.zuma.rc
Bug: 247013568
Test: - Verify that this change is a NOP for devices with TDP already
created on top of the legacy f2f2 partition /mnt/vendor/persist/ss
- Verify that this change creates a valid symlink on a manually
migrated block device
Change-Id: I231938e708e5a5d6d64818e184a92acdc0ba37de
Increase the DFS clock divider to avoid thermal reset.
Disable CPU cluster power down during clock settings.
Bug: 268768104
Test: Build and boot on device. Check with geek bench test
Change-Id: Ic4b959a7db0c5e903d617531d449b08cc5c81d0a
Signed-off-by: Sayanna Chandula <sayanna@google.com>
SYNC mode increases report quality. It slightly degrades performance
over ASYNC, but for early dogfooding we value debuggability over
performance, as performance is not representative yet.
SYNC is prohibitively slow on the big core.
Test: cat /sys/devices/system/cpu/cpu?/mte_tcf_preferred
Bug: 239832365
Change-Id: I71f552898808ffceba13de74526b7e50538e290f
This folder was created previously by a factory calibration script. On some 2023 devices, auto calibration will replace factory calibration, so the folder won't be automatically created in the factory anymore. We create the folder as part of the device initialization, so it is available by the time we try to write a new calibration file into the folder.
Bug: 246991030
Test: test on device
Change-Id: I8548bc7f7058f435cf3df6734de33bed62b86469