If the enumeration is too long, it may trigger the watchdog mechanism
to cause device reset. Therefore, this patch will modify the timeout.
Ported from Change-Id: Ib54d8ff5a1e680fc86f2b89ee0d02d63ee5741d8
(usb: modify the initial_descriptor_timeout to 500ms)
Bug: 365715654
Test: verified `initial_descriptor_timeout` is set to 500
Flag: EXEMPT cherry-picked CLs from existing projects
Change-Id: I36c5a0ba0a766720cd7d6601cc56f3a883adac8a
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
The zumapro targets that only boot with 16kb kernels will
have this filesystem setup for data and metadata partitions:
- data partition: f2fs
- metadata partition: ext4
Important: For the HW file encryption to work in the data partition in 16kb kernels the `dusize_4k` parameter has to be set:
```
fileencryption=:aes-256-hctr2:inlinecrypt_optimized+wrappedkey_v0+dusize_4k
```
Bug: 350101696
Test: built pgagnostic target and checked the fs for mounted
partitions.
Flag: EXEMPT bugfix
Change-Id: I566618e6fa1db2ff4463e00e8d091e7226ba0399
For multi-window foreground app group.
Bug: 200769420
Test: build pass
Flag: NONE vendor init file does not support flag
Change-Id: Ia20ec09e7b4eade86e013b102f81400898c0c54c
The preferred_idle_mask is changed during boot time, but it does not
restore to the default setitng as in powerhint, so some node may keep
the wrong value when framework restarts.
Bug: 248621289
Test: build pass
Flag: NONE init rc file change does not support flags
Change-Id: Ib11681b9a751b1d67d02e9788d888e515d5a3519
Write to /sys/class/typec/port<...>/device/update_sdp_enum_timeout
to reduce SDP enumeration timeout value when device is in charger
mode. This will enable faster detection of a DCP port.
Test: Validate (in charger mode) that the sysfs attribute is 1
(meaning lower sdp timeout value is being used). Read dmesg to
see print showing timeout value is 5000ms.
Bug: 356685367
Flag: EXEMPT bugfix
Change-Id: I1bc872911d7f1eab26e62fe6f12fba05608e0f83
(porter from commit 3644ca07e87069fd2bed99f9f1fe13862ad43f62)
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
Revert submission 28323508-common_perf_init
Reason for revert: Potential culprit for b/360746202- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Reverted changes: /q/submissionid:28323508-common_perf_init
Change-Id: Ice26f3451cec999b3b2b3e2f42c0aa06eff68f75
Moving common cpufreq configurations to gs-common.
Bug: 335874870
Flag: NONE code refactor
Test: boot and check parameters
Change-Id: Ieff1185a09b310924ea60ebc4f2fbf6047e8592f
Signed-off-by: Will Song <jinpengsong@google.com>
In case of always, we always enable hdcp regardless of drm status.
Bug: 359951297
Flag: EXEMPT bugfix
Change-Id: I477f5c0cfa1350c295c3722a35ab42fb7a9a73e6
Signed-off-by: Ji Soo Shin <jisshin@google.com>
Sync the missing operations on modem efs files with the seperated fstab.
Bug: 359426567
Flag: EXEMPT bugfix
Change-Id: Ib678adc86c36a536ed32861e93d1d973e2c7c34a
expected_present_time
init: change file owners of sysfs nodes frame_interval and
expected_present_time in order to grant permission for hwcomposer
Bug: 330392550
Flag: EXEMPT bugfix
Test: swipe home screen, and check the notifyExpectedPresent()
Change-Id: Ic8f5f2213c483eaa46cf3a6c1b4baa1b886cb6e4
Set the new disablt_util_est knob for each group. It should be disabled
by default except for few select groups.
Bug: 336169796
Flag: EXEMPT boot time init script
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I225b203756c656ee8b8d3157796b6fe5454c9e26
The system/vendor/product read only partitions will be moved
to fstab.ro.system file to easily identify them in the future.
Bug: 356425337
Test: $ source build/envsetup.sh
$ lunch [zumapro]-trunk_staging-userdebug
$ m
$ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I0402df991160e1fabdfdc5d4e4482320f671ae09
The TARGET_RW_FILE_SYSTEM_TYPE will contain the rw filesystem
to use. The rw filesystem for the devices can be f2fs or ext4.
If TARGET_RW_FILE_SYSTEM_TYPE is not defined, the default
fs will be f2fs.
Bug: 356425337
Test: $ source build/envsetup.sh
$ lunch [zumapro]-trunk_staging-userdebug
$ m
$ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: Ib087a06a98525ca449253dffce9df470a05432d3
The efs read/write partitions will be part of the fstab.rw.efs
file and will have their own RC file to mount them.
This change allows us to identify the different partitions and
their types. It will also make easier to select different
RC files depending on the page size.
Bug: 356425337
Test: $ source build/envsetup.sh
$ lunch [zumapro]-trunk_staging-userdebug
$ m
$ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I3eb877ecc3ccf435110ee0da4a949b44729b3bdb
fstab.zumapro.in is splitted in 2 files:
- One file will contain all the partitions that do not use f2fs fs.
- One file will contain all the partitions that use f2fs fs.
This will allow in the future to configure /data and /metadata
with ext4 fs.
Bug: 356425337
Test: $ source build/envsetup.sh
$ lunch [zumapro]-trunk_staging-userdebug
$ m
$ ./vendor/google/tools/flashall -w
Flag: EXEMPT bugfix
Change-Id: I6923fdefadf9299df44e2ba550d5af10446e8a20
The zram compression algorithm will be set based on the
page size.
- 4kb kernels will use lz77eh
- 16kb kernels will use lzo-rle due Emerald Hill does not
support 16kb page sizes.
Bug: 354960718
Test: # 4kb kernel
zumapro:/ # getconf PAGE_SIZE
4096
zumapro:/ # cat /sys/block/zram0/comp_algorithm
[lz77eh] zstd lz4 lzo-rle lzo
# 16kb kernel
zumapro:/ # getconf PAGE_SIZE
16384
zumapro:/ # cat /sys/block/zram0/comp_algorithm
lz77eh zstd lz4 [lzo-rle] lzo
Flag: EXEMPT bugfix
Change-Id: I9630c6323860621a48ca9620fcf416372ccdf7f6