Commit Graph

227 Commits

Author SHA1 Message Date
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
Prasanna Prapancham
c9891733b2 Merge "dumpstate: add ln8411 logbuffer into bugreport" into udc-d1-dev 2023-05-19 01:33:58 +00:00
Ziyi Cui
f89069ca4c init: retune memlat parameter stall_floor
Retune stall_floor for power saving

Bug: 279558882
Change-Id: If96a1825fb85c98e1408172d2e511bca52b0c6fc
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-05-19 00:16:27 +00:00
Rick Yiu
0cb6218a7e Modify utilization group setting
We should set sysbg_ug to UG_BG but not sys_ug.

Bug: 282718756
Test: build pass
Change-Id: Ifa2dab78b0ea6c0d3e728b464f2f2139d7bf09aa
2023-05-18 10:13:17 +00:00
Prasanna Prapancham
0c772833b3 dumpstate: add ln8411 logbuffer into bugreport
Test: flash local build and collect bugreport
Bug: 277799048
Change-Id: I4847e5e4da50bba6da94ad379e5c4dd5542cb6f6
Signed-off-by: Prasanna Prapancham <prapancham@google.com>
(cherry picked from commit 68738d356f)
2023-05-17 22:50:47 +00:00
Treehugger Robot
d4138f4461 Merge "usb: modify the initial_descriptor_timeout to 500ms" into udc-d1-dev 2023-05-17 02:17:35 +00:00
Kenny Root
76272091c8 zuma: conf: set gsa log group to system
dumpstate runs as system group, so in order to prepare for it to be
readable by dumpstate, we need to change the group to system.

(cherry picked from commit 286ebed626)

Bug: 271125313
Test: ls -l /sys/devices/platform/16490000.gsa-ns/
Change-Id: Ib8f299e99add9cc2f03887cda78f576924c522cd
Merged-In: Ib8f299e99add9cc2f03887cda78f576924c522cd
2023-05-16 21:30:22 +00:00
JJ Lee
843340029a init: to load aoc firmware in off-mode charging
Bug: 227161102
Test: build pass, checked power in off-mode charging
Change-Id: Ie3ef0f7c7bc8776073ea4cf064478fc9308d4e31
Signed-off-by: JJ Lee <leejj@google.com>
2023-05-16 07:25:37 +00:00
Ray Chi
8ee17b3a8f usb: modify the initial_descriptor_timeout to 500ms
If the enumeration is too long, it may trigger the watchdog mechanism
to cause device reset. Therefore, this patch will modify the timeout.

Bug: 282876796
Test: build pass and the value is set to 500.
Change-Id: Ib54d8ff5a1e680fc86f2b89ee0d02d63ee5741d8
2023-05-16 14:44:57 +08:00
Sophia Wang
07a98e0fd5 Zuma:conf Add dsulat CPU idle awareness settings
Test: cat /sys/class/devfreq/gs_dsulat_devfreq:devfreq_dsu_lat@17000090/dsu_latency/dsulat_cpuidle_state_aware

Bug: 282103584
Change-Id: I78f0c2b69c93e482271241c2c801c0cf74018b76
Merged-In: I78f0c2b69c93e482271241c2c801c0cf74018b76
Signed-off-by: Sophia Wang <yodagump@google.com>
2023-05-15 18:19:36 +00:00
Sophia Wang
c7cd3e4205 Zuma:conf Add memlat CPU idle awareness settings
Test: cat /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu7_memlat@17000010/memlat_cpuidle_state_aware

Bug: 269148983
Change-Id: I772c53f95c8c1d7f84c34cfd49397a47db0fdf64
Signed-off-by: Sophia Wang <yodagump@google.com>
(cherry picked from commit f60e906395)
2023-05-12 16:35:57 +00:00
Rick Yiu
10c419cd2f Set top-app to UG_FG explicitly
Bug: 280924566
Test: work as expected
Change-Id: I567139f3962d49491d0439df4b330c4ccae2dcfe
2023-05-12 08:53:50 +00:00
Rick Yiu
a97a3e77d1 Merge "Rename vug_bg_group_throttle to ug_bg_group_throttle" into udc-d1-dev 2023-05-10 08:06:56 +00:00
Rick Yiu
606628fc1b Rename vug_bg_group_throttle to ug_bg_group_throttle
Also set initial ug group for some vendor groups.

Bug: 201260585
Test: build pass
Change-Id: I6907fdbc3f0da425711ffc92948cca94f377bfe7
2023-05-10 07:00:36 +00:00