Commit graph

240 commits

Author SHA1 Message Date
Manish Kushwaha
bb88de98d1 update aoc node syspath for p23
Bug: 291703347
Test: presubmit
Change-Id: Ifd1abc8fe9be19962cbf0b6c0b2de33ec3e38b30
2023-07-19 10:42:07 -07:00
Jason(HeWei) Sung
5627d40608 init: Remove SICD in charger mode
Bug: 290861377
Change-Id: I8fb2b67dd84af9713bcd36819ecaa9dcc4000ccb
Signed-off-by: Jason(HeWei) Sung <jasonsung@google.com>
2023-07-18 12:44:39 +08:00
Treehugger Robot
27f50dfd36 Merge "Set kswapd CPU affinity" into udc-d1-dev 2023-07-14 01:23:41 +00:00
Martin Liu
3150d0826d Set kswapd CPU affinity
Bug: 289359822
Test: check kswapd CPU affinity
Change-Id: I714ece6faa9ed50a3b15ad4f9747fbca87e07da9
Signed-off-by: Martin Liu <liumartin@google.com>
2023-07-12 16:03:48 +08:00
Lisa Liu
6508bcaf16 init: restore preferred idle setting when boot completed
Restore preferred_idle_mask on boot_completed.

Bug: 284039815
Bug: 290724986
Test: pts-tradefed run singleCommand pts -m PtsPerformanceTestCases -t com.google.android.perf.pts.BootPerformanceTest
Change-Id: Id174a2ad02e5bd1e2adcdd2e78d06090c7f626e9
2023-07-12 01:34:38 +00:00
Treehugger Robot
ab71f02e23 Merge "Cancel boost on off-mode charger" into udc-d1-dev 2023-07-07 02:35:49 +00:00
Treehugger Robot
b6a7f53aab Merge "init: boot time sched tuning" into udc-d1-dev 2023-07-06 23:46:41 +00:00
Treehugger Robot
38af64d44c Merge "zuma: tweak memory management" into udc-d1-dev 2023-06-30 15:27:24 +00:00
Lisa Liu
c681323649 init: boot time sched tuning
Restore uclamp_min and use preferred_idle_mask and group util to
optimize about 200ms boot time performance.

Bug: 284039815
Test: pts-tradefed run singleCommand pts -m PtsPerformanceTestCases -t com.google.android.perf.pts.BootPerformanceTest
Change-Id: I3a77fb0270c1afdc3983710c90a4369a813c7f2c
2023-06-28 03:03:28 +00:00
Wei Wang
6545ed1999 Cancel boost on off-mode charger
Test: Build
Bug: 289120007
Change-Id: I2cba4f1667d903f79fc9a510dfb7c68ce543b393
Signed-off-by: Wei Wang <wvw@google.com>
2023-06-27 15:36:16 -07:00
Tim Murray
5f975896d4 zuma: tweak memory management
- set lmkd's swap_free_low_percentage to 100
- decrease swappiness to 60

Test: boots with correct settings
Bug: 288432219
Change-Id: Ie9fc39b03b25ee231190e12e312485794d0f8686
2023-06-26 17:37:51 -07:00
guibing
1b46c33b99 Set PELT HALFLIFE to 8ms before early init boot stage
It's for early boot stage boost. After early init stage, change
it back to the default 32ms.

Bug: 284039815
Test: boot ab tests
Change-Id: I3e623886e97e561086df46f388f9317d4a75c35c
2023-06-22 17:31:15 +00:00
Wilson Sung
5f4c896e1c Remove unused trace_marker
Fix: 260366195
Change-Id: Ia9515d0df9f80bbb4008faa30ce38491d2f4e693
2023-06-20 14:32:29 +08:00
Rick Yiu
c55210888a Make bg group throttle value experimental
Bug: 287562715
Test: build pass
Change-Id: I5809b726ff5875db67e91df41f8ba172d84b10e3
2023-06-16 11:16:52 +00:00
Evgenii Stepanov
7421288b2d Merge changes I9311210f,Ic42cc810,I42781e8e into udc-d1-dev
* changes:
  Zuma: disable MTE on system apps
  [Zuma] Unset mte_tcf_preferred
  Disable Kernel MTE in Zuma (non-fullmte).
2023-06-15 23:33:20 +00:00
Evgenii Stepanov
bc502d582b [Zuma] Unset mte_tcf_preferred
Reverting to all-async configuration according to PoR.

Bug: 280343521
Test: adb shell setprop persist.device_config.runtime_native_boot.bootloader_override force_on
      adb reboot
      adb shell 'cat /sys/devices/system/cpu/cpu?/mte_tcf_preferred'
          should return all "async"
Change-Id: Ic42cc8102ff55348dd9061682a779d9dde6ee02c
2023-06-14 15:47:33 -07:00
Hiroshi Akiyama
f3178662c2 Merge "zuma: Update GPU and TPU heavy and light clock div ratios" into udc-d1-dev 2023-06-12 16:19:28 +00:00
Petri Gynther
5b7898c3b4 Merge "usb: dp: add exynos_drm:dp_enabled toggling" into udc-d1-dev 2023-06-09 05:28:28 +00:00
Petri Gynther
c8abdf6bb7 usb: dp: add exynos_drm:dp_enabled toggling
Bug: 286459987
Change-Id: If4a6e71bc3ce342af8a0201b4727bdc4666cf8f0
2023-06-08 18:02:44 -07:00
Treehugger Robot
38044255b1 Merge "Add uevent rule for gcma_camera dmaheap nodes" into udc-d1-dev 2023-06-08 06:25:44 +00:00
Ziyi Cui
a6b68969b6 Merge "init: retune memlat parameter stall_floor" into udc-d1-dev 2023-06-08 00:48:33 +00:00
Hiroshi Akiyama
09894846cd zuma: Update GPU and TPU heavy and light clock div ratios
Test: Check settings through ADB and tests by validation team

Bug: 286298612
Change-Id: I9ae9d78f0d6b1cdb84fa82266bd39047a6b8ba98
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-06-07 23:06:48 +00:00
Ziyi Cui
9de437f32e init: retune memlat parameter stall_floor
Retune stall_floor

Bug: 279558882
Change-Id: I243834e62be80cbf577677c77556156b768529ac
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-06-07 22:46:08 +00:00
Ziyi Cui
b64a13cd31 init: Add async for suspend/resume
Bug: 258100247
Change-Id: Ifcec9418e2b10db1f2a533fc04110ab548e241a6
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-06-05 21:10:16 +00:00
Wei Wang
012b3340ad Remove prefer_idle for SF CFS tasks
Test: Boot
Bug: 236868627
Change-Id: I57ea6032f2b6fcd974455ec09cb0318ec9601923
Signed-off-by: Wei Wang <wvw@google.com>
2023-06-02 21:20:00 +00:00
Wei Wang
59840aaadb Merge "Remove rt_uclamp_min and sf_uclamp_min" into udc-d1-dev 2023-06-02 16:33:37 +00:00
Angela Wu
c6f2f19bd5 Merge "Allow access to video12 from applications." into udc-d1-dev 2023-06-02 15:49:09 +00:00
Sophia Wang
deb8dad039 Merge "init: retune memlat parameter stall_floor" into udc-d1-dev 2023-06-02 05:51:18 +00:00
Mark su
54384fe0b8 Allow access to video12 from applications.
Test: 05-05 05:07:06.652  4616  4616 W FinishThread: type=1400 audit(0.0:24): avc:  denied  { read write } for  name="video12" dev="tmpfs" ino=646 scontext=u:r:debug_camera_app:s0:c32,c257,c512,c768 tcontext=u:object_r:video_device:s0 tclass=chr_file permissive=0 app=com.google.android.GoogleCameraEng

Bug: 267820687
Change-Id: I3a9a8f1107b5c2accae3ed6906e47c69da63bccd
2023-06-02 11:45:08 +08:00
Carter Hsu
154ad90703 Merge "audio: set system/audio group for acd-mel_processor" into udc-d1-dev 2023-06-02 01:10:09 +00:00
Matt Buckley
a702e416a3 Remove rt_uclamp_min and sf_uclamp_min
rt_uclamp_min and sf_uclamp_min have been made redundant in Pixel by
ADPF for sf, so we are just going to remove them outright rather than
worrying about overriding them later

Bug: 285248880
Test: manual
Change-Id: I7c0f003d644dc0f33d2eaaf27f766c832b28414f
2023-06-01 21:05:00 +00:00
Ziyi Cui
25367cdaad init: fine tune dsulat parameter mem_stall_floor
Bug: 279519442
Change-Id: I513e5f51928c089e2962c42670f1608f44cc1b56
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-06-01 17:45:13 +00:00
Treehugger Robot
eb38c03b5a Merge "Revert "init: to load aoc firmware in off-mode charging"" into udc-d1-dev 2023-05-30 12:21:07 +00:00
JJ Lee
9411fd4bb8 Revert "init: to load aoc firmware in off-mode charging"
This reverts commit 843340029a.

Reason for revert: Lab entry pretest on 6/1

Bug: 284789987
Change-Id: Iae0478064d7b23514cbc5cb5ffc42ee4637e1840
2023-05-30 09:09:16 +00:00
Donnie Pollitz
458b58fad7 Merge "Make sure nsp storage has the right owner/group" into udc-d1-dev 2023-05-26 07:17:41 +00:00
TreeHugger Robot
84e03bfd76 Merge "Update the initial threshold of PMU freq limit" into udc-d1-dev 2023-05-25 06:42:37 +00:00
TreeHugger Robot
8a9d96e1d5 Merge "thermal: Update path reading for temperature residency metrics" into udc-d1-dev 2023-05-25 05:28:46 +00:00
guibing
3c1fd701e6 init: reduce the boot boost uclamp min.
Use a moderate boost instead of fmax out of thermal constraints.
Set it to the little core's capacity.

Bug: 284039815
Test: Compared the boot time with different boost configs.
Change-Id: I9dd39c8edd4148b65878a3b9e8c81a10d33c5a51
2023-05-24 13:40:32 -07:00
Taeju Park
3d61b10e3d Update the initial threshold of PMU freq limit
Bug: 258095095
Change-Id: Ib482722e3b30ad839ca664e3371f7978d93fe146
Signed-off-by: Taeju Park <taeju@google.com>
2023-05-24 18:57:31 +00:00
Donnie Pollitz
6d09a62190 Make sure nsp storage has the right owner/group
Background:
* Not all secure storage files had the correct ownership transitions.

Bug: 280325952
Test: Changed permissions and confirmed user transitions
Change-Id: I056f95717d85b819795af8335903bbbe5c4a6bd9
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-05-24 16:42:06 +02:00
Sam Dubey
0c6426f460 Merge "Revert "Make sure nsp storage has the right owner/group"" into udc-d1-dev 2023-05-24 11:45:26 +00:00
Sam Dubey
da11085b13 Revert "Make sure nsp storage has the right owner/group"
Revert submission 23280559-nsp

Reason for revert: b/284107307

Reverted changes: /q/submissionid:23280559-nsp

Change-Id: I60c726a4710b934e0760a0227a5a6074fcfe5d38
2023-05-24 10:40:48 +00:00
Donnie Pollitz
cab27f4916 Merge "Make sure nsp storage has the right owner/group" into udc-d1-dev 2023-05-24 08:30:30 +00:00
Jimmy Hu
756902cd89 Merge "Disable USB contaminant detection when the disable flag is true" into udc-d1-dev 2023-05-24 08:14:01 +00:00
Rick Yiu
1cd9bdb775 Restore uclamp.max for bg groups
These values could indicate if cpu is running important tasks.

Bug: 201260585
Test: build pass
Change-Id: I2fce47de1833ed0814049e22199d0cdd41e80dc3
2023-05-24 06:05:46 +00:00
Jimmy Hu
3d72a5b29f Disable USB contaminant detection when the disable flag is true
(ported from 6b1106498e1164f46b9a895ed2258a20a0c7a7b5)

Bug: 263916675
Bug: 264231895
Test: setprop vendor.usb.contaminantdisable true
Change-Id: I57ea8280e4af3720dce9d9174b1cc24066c5324e
Signed-off-by: Jimmy Hu <hhhuuu@google.com>
2023-05-23 07:01:33 +00:00
Donnie Pollitz
0a0bf76f74 Make sure nsp storage has the right owner/group
Background:
* Not all secure storage files had the correct ownership transitions.

Bug: 280325952
Test: Changed permissions and confirmed user transitions
Change-Id: Iafa32e27b7c24bda41cf251048995ae96b3ce8f7
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-05-22 08:27:38 +00:00
Treehugger Robot
f96a704a89 Merge "Configure udfps sysfs node permissions in ueventd.*.rc" into udc-d1-dev 2023-05-22 08:12:30 +00:00
Kenny Root
1b60b821b5 Merge "zuma: conf: set gsa log group to system" into udc-d1-dev 2023-05-22 05:14:03 +00:00
Kris Chen
fdc3c0db48 Configure udfps sysfs node permissions in ueventd.*.rc
Bug: 282568738
Test: Trigger aoc crash, perform udfps osc calibration.
Change-Id: I6d488c6808903eb5eeb6a3aa8336968ae9c643d3
2023-05-20 00:23:12 +08:00