This reverts commit 980650080a.
Reason for revert: Since the vendor.thermal.symlinks is init early than google-module init
such as gpu cooling, the gpu cooling is not ready while creating thermal.symlinks.
Thermal-hal GPU thermal throttling will fail because there is no thermal-gpufreq-0 in thermal.symlinks.
Bug: 200615564
Test: thermal symlinks can be created in dev folder
Change-Id: Ia3b0999c7a8038f7be5e2390926ff74473c0c339
This reverts commit 58893b442f.
Reason for revert: OTA failues observed during S -> T
Bug: 228927535
Test: Full and Incremental OTA's.
Change-Id: Iec9e15d60dab92213494c9e679de6702f8d56e37
Let vendor_init adjusted the cpusets by device config from the
server. Allow us to study the performance and power impacts
by various experiment settings.
Bug: 223685902
Test: adb remount ; adb push init.gs101.rc /vendor/etc/hw/ ; adb reboot
Test: change persist.device_config.vendor_system_native.<group>_cpuset and check /dev/cpuset/<group>/cpus is also modified
Change-Id: I73369f2cef7b999cb380278503a4dbfcc4cff3cd
to reduce boot time, boost ddr freq when booting
and reset it after booting.
Bug: 230586904
Test: pass
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I25b30d22a4803aeb6e27b914e07f6eb8458e0a50
Since the dwc3 irq is moved by USB gadget hal now, the
script is not needed.
Bug: 224699556
Test: build pass
Change-Id: Iea0aed110183d9583db00d9b182d351de41573cd
Merged-In: Iea0aed110183d9583db00d9b182d351de41573cd
(cherry picked from commit a5f995d2f6)
Since permission change in hal rc may be late, gadget
hal would enable USB function failed. The solution will
change the permission before USB gadget hal starts.
Bug: 224699556
Test: build pass and verified pass
Change-Id: I45c1318f647220480fa03ba3b813a81b21393d71
Merged-In: I45c1318f647220480fa03ba3b813a81b21393d71
(cherry picked from commit b30924e3599f2e92aeae498a6ae15d3b9a397930)
This fixes the permissions for the [067]-001f and [178]-002f raw i2c
numberings for the P21-mainline driver which doesn't use the i2c vendor
hook to rename these numberings. This is required for the thermal hal to
work.
Bug: 231155356
Signed-off-by: Will McVicker <willmcvicker@google.com>
Change-Id: I2341c78b2ab146713a171eeb436f34c1c8839c6e
set 160 back to 161 since RT task will select
little cores
Test: build pass
Bug: 230247757
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I2a1e761370a686e0e3c11202de93d5fd91e47b56
update new boost uclamp value since we update
cpu capacity
Test: PTS UIBench has no obvious difference
Bug: 224649226
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ie2fd9950a98f9786b03ef4e364fd9d584dcc438d
Set flags to enable system_dlkm dynamic partition
for GKI Modules for gs101 devices.
Partition will be empty as of now but this adds
enough support to pass the vts for the feature.
Bug: 222334390
Test: TH, manual build, flash and verification on 6Pro
Full OTA Update test from S to T as below:
1. go/flash: git_sc-v2-release - SP2A.220405.004 (8233519)
2. Full ota build from tm-dev
3. Manual push full ota update and verify boot
4. Verify system_dlkm partition is present & mounted
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: I0b4038b100add965737527b72a8d5f905907e23e
Since page_pinner provides enough permission frmo aosp/1742590,
it doesn't need to call chown.
Bug: 190337297
Test: adb bugreport and confirmed page_pinner dump working
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I0593e61cb4fc439c52dc884ecb52b982e1db4704
Add ProcFilePath for vendor group change of a process.
Bug: 218684257
Test: function works
Change-Id: I2d87a1a5d27dee699b37de6fac8d8b52334ba54e
(cherry picked from commit 72b0f768ee)
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.
Bug: 221077697
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I950fab2e3d70acd76b29f05acff8eec783a0546d
Increase TCP wmem max size to allow high Tx throughput over wifi.
Bug: 213596972
Test: manual test to confirm TCP memory size is increased and wifi TCP throughput with default TCP window size can reach 700Mbps in HE80 mode.
Change-Id: I6058af03da756aaa63e89eddb674f5b054cecf33
Use a new vendor group, ota, for OtaProfiles, and set its uclamp.max
and group_throttle to 40%, which benefits both performance and power
of OTA process.
Bug: 199006579
Test: value set as expected
Change-Id: I63375f3a286f27ab6c54413d6488b175305e6607
Non-modem project does't inlucde the fstab.modem
It can avoid long boot time from fs_mgr mount fail
Bug: 209694809
Test: reboot test
Change-Id: I3f1499f0c3767ba61895699e618856e41844b4bf
Signed-off-by: Ocean Chen <oceanchen@google.com>