Add a file "fstab.gs101-fips" alongside the existing "fstab.gs101" in
order to specify different encryption settings in FIPS mode.
"androidboot.fstab_suffix=gs101-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.
Bug: 191417025
Change-Id: I1d115e014df8ba2fb83046ac0b9b791597364846
For charging efficiency certification swap CPU6 with CPU4 while in
off-mode charging.
Bug: 194146139
Signed-off-by: AleX Pelosi <apelosi@google.com>
Change-Id: Ib2bee00b952df65d60534342e20f5d331b839e4c
Merged-In: Ib2bee00b952df65d60534342e20f5d331b839e4c
Bug: 196833426
Test: Boot and confirm proper level set
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I3f46c74f35925ee0b31ec719b93d007e93a5a18f
And restart it after /data is mounted.
Bug: 187105270
Test: boot raven, secure storage test com.android.storage-unittest.td
Change-Id: I505e315b58c3e0830d9a1f11d2f8afd549186535
Bug: 181348043
Test: Local test and verify trip point
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I499bcfecf4a0eea7459f8cdd41d4e7c59129ffef
Enabling batoilo thermal zone.
Reduced soft_ocp_warn per bug 184739333.
Bug: 194240210
Test: Local test: flash and boot
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I4cad70946af1cd8ffd2131df9f505dac49b8c8f8
Start bootanimation explicitly by name. Let animation start before
surfaceflinger to avoid the condition ctl.start bootanim queued after mount_all command.
Bug: 193726798
Bug: 191910503
Test: boot test
Change-Id: Id0d276ac8bca39c6ac1dae2b2d542107a9522b91
Use the default chosen by the block layer (64). The purpose of this patch is
to reduce storage latency. Without this patch:
# grep -aH . /sys/block/sd*/queue/nr_requests
/sys/block/sda/queue/nr_requests:256
/sys/block/sdb/queue/nr_requests:64
/sys/block/sdc/queue/nr_requests:64
/sys/block/sdd/queue/nr_requests:64
With this patch applied:
# grep -aH . /sys/block/sd*/queue/nr_requests
/sys/block/sda/queue/nr_requests:64
/sys/block/sdb/queue/nr_requests:64
/sys/block/sdc/queue/nr_requests:64
/sys/block/sdd/queue/nr_requests:64
Bug: 194450129
Test: Built Android images and installed these on an Android phone.
Change-Id: I236874f3791d62a2d5faf0d37a149025639f5c4a
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Bug: 194386750
Test: no Permission denied while accessing the file node
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: Ia399e59a2f7098147522161d5c7458545febfb77
Update usb_pwr_therm2 emul_temp control to allow
vendor.disable.usb.overheat.mitigation.control to disable/enable
usbc-port throttling to prevent device offline during thermal
mitigation test in lab.
Bug: 194252201
Test: setprop vendor.disable.usb.overheat.mitigation.control 0/1 to
check usb_pwr_therm2 temperature reading
Change-Id: Ia522706ce32bee68596b977a3e526f0b951a95ca
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.
Bug: 194271751
Test: GCA
Change-Id: I8e13e9ad0057b8f42f8ed3958bf0c6d58a5a02bc
Set uclamp_min and prefer_idle to sys_group to improve 2nd init
stage boot time performance.
* original
boot_progress_start_avg: 4832.3
* with tuning
boot_progress_start_avg: 4028.75
Bug: 193192017
Test: boot test
Change-Id: I8ebd52fddceadbee22e9a8c75969d52047b2acfc
To support USB port overheat protection, we need to launch thermalHAL in
off charging mode.
Bug: 183573049
Test: verified usb port overheat protection in off charging mode with
emul temp
Change-Id: I0b36646d9779c2c1a25f38aafea5ca178bf91be1
We have seen cases SF main thread running longer occasionally which may
run in danger of missing frames. This CL lifts cpufreq for SF when touch
boost is active to compensate the sudden jump of its cpu demand.
Bug: 192099706
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I49b2d589249f60a38eab907afbadfbcfdd233d1c
Allow to thermalhal to update trip points for neutral_therm which is the
triggering sensor of virtual skin sensor for o6 proto.
Bug: 193373779
Test: neutral_therm can be updated to the correct threshold
Change-Id: I16dcd44ce9e69f456df322664756dc74357bf50b
This is to expose a common path to runtime.
Test: Manual. Verified edgetpu_logging works with modified path
Bug: 191193044
Signed-off-by: Erick Reyes <erickreyes@google.com>
Change-Id: I11865108931443d96389640c89b6cc29aee3a634
No longer needed now init listens for property changes on a
separate thread.
Bug: 186580823
Bug: 191646246
Test: Boot test
Change-Id: I7e5e12c4422aa516cd9d8c63b1e5be37b6aa80bf
Bug: 176195960
Test: no Permission denied while accessing the file node
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: Ia70c110de8bc1b6166c57e9c3df3d4f43f23a428
SurfaceFlinger IPC improved with mid and big cores, relaxing cpuset will
help improve its efficiency. For render engine, we set uclamp.min to
skip scheduling on little cores.
FWIW, we let the RT scheduler figure out what is good for perf/power.
Bug: 170507315
Bug: 191054286
Test: Build and boot
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I880cf549e33a3a2f629e8260366c4ce8c34c3ae6
This reverts commit b6c4f766b748af81d502cf031c75b2c6c4c7cf09.
Reason for revert: switch to use ro.boot.hardware.sku for judgement
Bug: 188396079
Change-Id: I012b2d32d9b7245fd1d1be5a00c5e922a1f52d19