1. Reconfigure DFS clock divider to divide by 4.
2. OCP_WARN_CPU2 was repurposed for DFS usage. Since SOFT_OCP_WARN_CPU2
was not used by BCL, it will be repurposed to replace OCP_WARN_CPU2.
Bug: 223909471
Test: Local test to verify register value
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ie9960c30b102d67f0ade156631386b656ff82790
Sync with ag/14540731 to fix the wrong path.
BatteryDefender: Failed to write /sys/devices/platform/soc/soc:google,charger/charge_start_level
BatteryDefender: Failed to write /sys/devices/platform/soc/soc:google,charger/charge_stop_level
Bug: 222008498
Change-Id: I4782e2c387b147fc48cf4134d27af8675964dc44
Signed-off-by: Ken Tsou <kentsou@google.com>
- Create fstab.modem for modem as flexibility.
- Add and support both erofs and ext4 images for compatibility.
Bug: 201348703
Change-Id: Idc6dd8ef8f044c764f2811469806ee9e6defb87f
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.
Bug: 221070649
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: If130d477f617c0e62efa5f35effa122b60253107
Change panel idle node ownership to allow composer to access.
Bug: 198808492
Test: init and composer can write to panel idle node
Change-Id: I9fd7fe752cfe0694216d608765c4647dd3c00b95
Enable permissions for wcl_fcc and dc_icl cooling devices
current state for charging throttling.
Bug: 204523879
Test: build and boot on device. Check charging throttling
Change-Id: Icf175bd270d0eb6a9d2adcde2199b034683a8b8f
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Bug: 215814890
Test: Local test to verify permission
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I09d3d9bc5033ba2f31adbb34fa8969dc75a767bc
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: Id1f6ea94da83825ca39093aba5c85bec5bee4a72
ThermalHAL listens genl event, so we do not need to
modify the thermal zone policy to user_space
Bug: 204718864
Test: Confirm no selinux denied log, and thermal zone policy is not changed
Change-Id: I77119d79d65902f6ce5cb632349a8cf7aec1d664
... 'This way we don't need to guess when we need to chown.'
This is Tri's change to init.gs101.rc (http://go/a-g/15447093),
applied to init.<censored>.rc.
Under some circumstances (see bug), storageproxyd needs to access
/dev/sg1 but doesn't have permission, leading to other apps
blocking on storage.
Bug: 214910469
Test: Check that steps b/214910469#comment76 no longer gets stuck
Change-Id: I9e4133b6bb9ffab1e0044a16b3582436ccf5dd44
... 'And restart it after /data is mounted.'
This is Tri's change to init.gs101.rc (http://go/a-g/15447094),
applied to init.<censored>.rc.
Bug: 187105270
Test: boot device, secure storage test com.android.storage-unittest.td
Change-Id: I226181b35c59f4882e466d2b8a839d32750e93e0
init: change file owners of sysfs nodes min_vrefresh and
idle_delay_ms in order to grant permission for hwcomposer
Bug: 213299701
Test: use the following commands
adb shell "vndservice call Exynos.HWCService 1005 i32 0 i32 30"
adb shell "vndservice call Exynos.HWCService 1006 i32 0 i32 1000"
Change-Id: I57043afd6ac08740775680505ee6f3247d56a956
No longer need this script.
Bug: 207031989
Test: boot to home, make sure all f2fs partitions are mounted
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I882084fb3a7cf1771e146d7d950ee4a5106792fe
Change local hbm node ownership to allow framework to access.
Bug: 205640231
Test: check ownership after boot
Signed-off-by: Shiyong Li <shiyongli@google.com>
Change-Id: Iba041a9cf8672682411f2167f8677b30e5979027
Add a file "fstab.gs201-fips" alongside the existing "fstab.gs201" in
order to specify different encryption settings in FIPS mode.
"androidboot.fstab_suffix=gs201-fips" on the kernel command line will be
used to select the FIPS fstab when needed.
As the two fstabs should be otherwise identical, generate them from a
template file so that they will stay in sync.
Note that generating the fstabs requires that they be installed as build
system modules rather than via PRODUCT_COPY_FILES, which results in the
vendor_ramdisk copy of the fstabs being installed to system/etc rather
than /. This shouldn't cause any problem, now that Android has been
updated to look for the fstab in this location too.
(cherry-pick from device/google/gs101)
Test: Boot to home screen with/without fips mode
Bug: 202417706
Signed-off-by: Konstantin Vyshetsky <vkon@google.com>
Change-Id: I8fdc1c9a91399816fa2d4c53f282d63e988ce7d5
high-group is running on CPU 6-7.
mid-group is running on CPU 4-5.
mid-high-gropu is running on CPU 4-7.
Move camera tasks to CPU 4-7 for 1 seconds when AP launch.
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 194271751
Test: GCA
Change-Id: I8e13e9ad0057b8f42f8ed3958bf0c6d58a5a02bc
Prefer high cap will choose the mid / high cores when possible with
consideration of energy efficiency.
Running task on high cores with low clock is more efficient than running
at little core with high clock.
This hint also addresses CTS issues with keeping latency_sensitive = 1.
(equivalent to prefer idle)
This hint adds:
1) Enable prefer_high_cap of camera vendor group
2) Set high_capacity_start_cpu to 4
4) Set MemFreq floor
5) Change camera-daemon/cpu.uclamp.latency_sensitive owner to root
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 186564130
Test:
android.hardware.camera2.cts.RobustnessTest#testAeAndAfCausality (5/5)
android.hardware.cts.CameraTest#testPreviewCallback (5/5)
android.hardware.camera2.cts.CameraDeviceTest#testCameraDeviceRepeatingBurst (5/5)
android.hardware.cts.CameraTest#testFocusDistances (3/6). (3/6) without CL.
*****************************************************************
raven Camera CTS Test Results
*****************************************************************
Tests Passed: 217, Failed: 0, Not found: 0, Status unknown: 0
Change-Id: Ia2abb0eb9c57fa05c4db7bf1d02053e303301781
This is not needed in device-specific init.rc file, because it's
is superseded by commit https://r.android.com/1866693.
Bug: 203720638
Test: presubmit
Change-Id: I74cfa6f3aa0c9125559f3241ed8e23f8a8510616