Commit graph

249 commits

Author SHA1 Message Date
Treehugger Robot
a81b9571d9 Merge "init: restore preferred idle setting when boot completed" into udc-d1-dev am: 7855ada413 am: a9556e3d5e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/24018972

Change-Id: I925e6eea3291376cd9f96c076ab1f98f47fe08d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-12 16:10:18 +00: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
5c7d5f2416 Merge "fstab: add the noatime for read-only ext4 partitions" into udc-qpr-dev 2023-07-07 03:23:48 +00:00
Treehugger Robot
78d1a41e7c Merge "Cancel boost on off-mode charger" into udc-d1-dev am: ab71f02e23
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/23835715

Change-Id: Ia06f9c4b5dbe48b3be5053f822433e70b5c289bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-07 03:14:14 +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
8cc41ec846 Merge "init: boot time sched tuning" into udc-d1-dev am: b6a7f53aab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/23839624

Change-Id: Ia4246d8fc95f703c0b25e802aa16e63b30420c08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-07 00:36:45 +00:00
Treehugger Robot
b6a7f53aab Merge "init: boot time sched tuning" into udc-d1-dev 2023-07-06 23:46:41 +00:00
Randall Huang
c3e8caa62f fstab: add the noatime for read-only ext4 partitions
This is to avoid unnecessary ext4 behavior

Bug: 289631992
Test: boot to home
Change-Id: If86f229c18b0a8aa2d2361a9844b235e06ce9cf1
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-07-06 02:43:16 +00:00
Treehugger Robot
533b314bea Merge "Add chre dedicated channel and start using them in chre_daemon." into udc-qpr-dev 2023-07-03 02:57:05 +00:00
Treehugger Robot
2bdcf1d1a7 Merge "zuma: tweak memory management" into udc-d1-dev am: 38af64d44c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/23821449

Change-Id: I0b304b55ece5d37f1c5ae6acbd1c86d410596b5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 16:18:05 +00:00
Treehugger Robot
38af64d44c Merge "zuma: tweak memory management" into udc-d1-dev 2023-06-30 15:27:24 +00:00
Wei Wang
29d75fe4a8 Merge "Set PELT HALFLIFE to 8ms before early init boot stage" into udc-d1-dev am: d5b4a0c933
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/23681609

Change-Id: I3424a2ea01d019420645e0f312ca623d54611eb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 09:16:06 +00:00
Luis Delgado de Mendoza Garcia
8f1df837ac Add chre dedicated channel and start using them in chre_daemon.
Adding the necessary entries to ueventd and enabling the flag
for chre_daemon to start using the channel.

Bug: 241960170
Test: in-device verification.
Change-Id: I22936d6b458b053806ac4e24a036b833024320d7
2023-06-29 11:47:12 +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
fe5796a125 Remove unused trace_marker am: 5f4c896e1c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/23737615

Change-Id: I452c357f43408cc75a6847f8171102703ece7dc3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 05:02:16 +00:00
Wilson Sung
5f4c896e1c Remove unused trace_marker
Fix: 260366195
Change-Id: Ia9515d0df9f80bbb4008faa30ce38491d2f4e693
2023-06-20 14:32:29 +08:00
Rick Yiu
aea5707558 Make bg group throttle value experimental am: c55210888a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/23728143

Change-Id: Id4f46190f2f93de1d3651e0bfc331c8ad0b483f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 17:15:43 +00: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
ac6e7b6bed Merge changes I9311210f,Ic42cc810,I42781e8e into udc-d1-dev am: 7421288b2d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/23700251

Change-Id: I18768922de8c568bb411c548c46360655598f834
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 00:06:54 +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
Jack Wu
3e3eecbbec Set current date as activation date after device being provisioned
allow setting it when the device is unlocked.

Bug: 286767821
Test: set the date of first usage successfully
Change-Id: I2c4d21662e88a9d8d2b857547d12825575a81331
Signed-off-by: Jack Wu <wjack@google.com>
2023-06-15 08:40:31 +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