The I/O scheduler was changed to mq-deadline in ag/29073420,
making the previous BFQ configuration obsolete.
This commit removes the following lines which no longer
have any effect.
Bug: 186902601
Test: forrest build
Change-Id: I5d662e9762809f2d0598a7e980ef0468ac8aff38
Bug: 347122505
Test: check the priority and latency of input thread in Perffeto
Flag: NONE early device setting updates
Change-Id: Ia05fc4592ebe3946a52e10e435bc8f8cef7becc9
The mq-deadline I/O scheduler is more stable than BFQ. Additionally, the
boot time is shorter with the mq-deadline I/O scheduler. It only changes the scheduler on new kernel.
Bug: 186902601
Test: forrest build
Change-Id: I5d336b3f146ca673c83c03304773d0ccf4c01e77
Signed-off-by: Ocean Chen <oceanchen@google.com>
system/core/init/init.cpp SetUsbController picks the first udc device if
there're multiple udc devices present on the system to populate
sys.usb.controller system property.
CONFIG_USB_DUMMY_HCD enabled in kernel-5.10 GKI would introduce a
dummy udc device named "dummy_udc.0". Depends on timing, the dummy
device might be picked up by the init process and incorrectly populate
sys.usb.controller.
This issue only applies to devices on kernel-5.10 GKI, the WAR is to
overwrite the sysprop if it's incorrectly populated by the dummy udc.
Bug: 333778731
Test: tested on Cheetah
Flag: EXEMPT bugfix
Change-Id: I7555dda7f0bb436200ef7cd8a46b785232187cfd
Remove irrelevant copy and paste content. None of the gs201
devices ever included these services and these sockets are
not doing anything.
Bug: 234559097
Test: presubmit
Flag: EXEMPT dead code removal
Change-Id: I60698b026c2e456296943adc8c2a2f03fe3dd867
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.
Test: m
Bug: 323377234
Change-Id: Ibf3862a5e0f4554e8df5c2ed1c76d460bbd5e543
Set GPU LIGHT clk divider ratios to /2.
Bug: 327700285
Test: Confirm no prints like:
"28000000.mali: Ctx 8349_23 Group 0 CSG 3 CSI: 3"
while running GFXBench under LIGHT MITIGATION
Signed-off-by: George Lee <geolee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:43d42739b57713f7e41df147e6372d1ccce6243f)
Merged-In: I4b62b33c0b72e5a053f477943379727d58f7298e
Change-Id: I4b62b33c0b72e5a053f477943379727d58f7298e
Set GPU LIGHT clk divider ratios to /2.
Bug: 327700285
Test: Confirm no prints like:
"28000000.mali: Ctx 8349_23 Group 0 CSG 3 CSI: 3"
while running GFXBench under LIGHT MITIGATION
Change-Id: I4b62b33c0b72e5a053f477943379727d58f7298e
Signed-off-by: George Lee <geolee@google.com>
Revert GPU clk divider ratios.
Bug: 324534203
Test: Confirm no DATA_INVALID_FAULT while running GFXBench under stress
Change-Id: I84682b476af162eff904ed5bec66ae2e6fa6449a
Signed-off-by: George Lee <geolee@google.com>
Update i2c device paths with static bus numbers.
Also remove some redundant paths.
Bug: 323447554
Test: Boot to home
Change-Id: Id3f0fccd39b70d247c0d7a17a1944223619ec40e
Setting the owner of /dev/logbuffer_cpif as system to allow the
dump_modem script to read the logs as part of bugreport
Test: Tested bugreport on device
Bug: 305600375
Change-Id: Ic7c64f942985596d9a5d919dfd3ca2127de881d0
Signed-off-by: Mahesh Kallelil <kallelil@google.com>
After USB enumeration, some SD card readers do not send signals to the
device when the SD card is inserted or removed.
To support SD card hotplugging, this patch enables in-kernel
media-presence polling, which will check the SD card status every 2
seconds after a SD card reader is attached.
Bug: 186479576
Test: SD card insertion/removal and data copy (see b/301566595)
Change-Id: Ibd7816b717d2fbcb038a7c0ff703b7fab7d2a46c
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
Set `avb_keys=no_such_key` for dynamic kernel partitions to allow booting
unlocked devices with a custom kernel. This allows a few things:
1) Dogfooders can flash a custom kernel without wiping their device.
This can help developers track down hard-to-reproduce bugs without
rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
device or packaging the kernel with an Android platform build.
Note: we are using "no_such_key" to ensure an AVB keys file doesn't
accidentally get created.
Test: Flash CI build. Then flash custom kernel on top.
Bug: 274825778
Change-Id: I11edf6e50411a05c6723f7523f3672a9a8116d7a
This reverts commit c13cd03ccf.
Reason for revert: Let's go through a proper security review for this.
Bug: 306264015
Change-Id: I51fe3f32f8a4ec92cb2d38869568a51dc2522bb4
Set `avb_keys=/avb` for dynamic kernel partitions to allow booting
unlocked devices with a custom kernel that is signed using a test key.
This allows a few things:
1) Dogfooders can flash a custom kernel without wiping their device.
This can help developers track down hard-to-reproduce bugs without
rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
device or packaging the kernel with an Android platform build.
Test: flash production userdebug build, then flash custom kernel.
Bug: 274825778
Change-Id: I11edf6e50411a05c6723f7523f3672a9a8116d7a
Vendor sched procfs path hierarchy gets updated in kernel.
Update the paths in init rc file and task profiles to match the change.
Bug: 289151587
Test: pts-tradefed run commandAndExit pts -m PtsPerfWbsTestCases
-t com.google.android.perfwbs.pts.SchedulerTest
Change-Id: I94f17627f913e20323f9fe111a34fcc666f38a72
Change the owner and group of the DRM module debug file to system to
grant permission for hwcomposer.
Bug: 301599195
Test: check HWC can access it
Change-Id: Ife250a1a4984f94cc52bc1b3e52deeffbc5b5410
Many host applications expect and ask for lower resolution streams when
streaming from a USB webcam. To support those applications, this CL
adds support for 640x480 and 640x360 streams.
Bug: 301170431
Test: Manually tested that the resolution is advertised and streamed.
Change-Id: I0bb6e2073554de4e5ce8fe472dae6a77e69aeb54
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: 275687235
Change-Id: I1bc872911d7f1eab26e62fe6f12fba05608e0f83
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
There are some regressions reports. Disable them completely for now.
Bug: 297496375
Change-Id: I6478931d73145a15471982738f0ff93eae5f2f07
Signed-off-by: Qais Yousef <qyousef@google.com>
Enables the debug features required an unlocked SJTAG to the section
`on property:ro.vendor.sjtag_ap_is_unlocked=true`, so they can be
enabled when 1. PD is available on non-fused device on boot, or 2. PD is
available after betterbug acquires it from the corp service.
Bug: 298314432
Change-Id: Ie834b587c130d749a33a87801113df03d5b3d29a
- set lmkd's swap_free_low_percentage to 100
- decrease swappiness to 60
This tweak also aligns the policy with P23.
Test: boots with correct settings
Bug: 299975853
Change-Id: I623a7687ef692f8f7a5cc906e186edde294b30be
Signed-off-by: Martin Liu <liumartin@google.com>
Files created by the uvc driver gives write permissions to 'other' by
default. This permission is not needed at runtime. To minimize write
privileges, this CL removes other-write permission from all uvc config
files that had it.
Bug: 242344229
Test: Manually verified that no files have other-write permissions
Change-Id: I27611d0ba4ecf2851aef6ea8bd613284744142fb
This is to avoid unnecessary ext4 behavior
Bug: 289631992
Test: boot to home
Change-Id: I44f9632cc7b848d6fe673232be014cef71355018
Signed-off-by: Randall Huang <huangrandall@google.com>