Commit graph

501 commits

Author SHA1 Message Date
Kyle Tso
2bc617412c usb: Correct the i2c path am: e2c9e7a4b5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17662000

Change-Id: Ie74f7174846813aa8bb1e1a574818d827e87f8b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 19:40:03 +00:00
Kyle Tso
4dc3073629 usb: Correct the i2c path
Bug: 228780694
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I59a4fa0870264e5f2ca275d5a228f11fcc6bf4be
2022-04-11 19:09:26 +00:00
Kevin DuBois
7301b9e6bc gpu: enable IFPO for gpu power savings.
Enables GPU driver's IFPO feature which will power gate GPU more often
during interframe periods.

Bug: 225179786
Test: SST on build with fix.
Change-Id: I8da3106edb5dfe078a21d8047557948fb75ab20a
2022-04-11 15:35:52 +00:00
Kyle Tso
e2c9e7a4b5 usb: Correct the i2c path
Bug: 228780694
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I59a4fa0870264e5f2ca275d5a228f11fcc6bf4be
2022-04-11 14:26:48 +00:00
Wayne Lin
dfb4297791 gps: update gps driver 140.20.23.532343 am: 6ff778c951
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17607485

Change-Id: I12f1de33b9399017c86bfb01b3ef667eea9e8336
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 09:27:41 +00:00
Wayne Lin
6ff778c951 gps: update gps driver 140.20.23.532343
Migrate GNSS HIDL HAL to AIDL HAL
Add a gps.xml configuration parameter for CHRE/CHPP baud rate
Fix for PVT assertion at patch_pvt_engine_cbs line=0078
Additional field in SatellitePVT
Prevent the wrong common bias delta estimation
Prevent wrong unhealthy satellites selection
Fix LPPe UBP rounding error
Fix LPPe UBP error message

Bug: 226691677
Bug: 218580284
Bug: 213009701
Bug: 226805895
Bug: 223361838
Bug: 226112617
Bug: 223593119
Bug: 225285619

Verify test: 228251092

Test: Build pass and GNSS verify test pass
Change-Id: I5daa4f9cbcbdda827ceaf73f24562085d2876315
2022-04-08 09:10:26 +00:00
Taeju Park
3f98ebc83e Disable PMU freq limit in default am: 7eefb31fcd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17499319

Change-Id: I966468cfbaa6523b8008b384b7a781c1135e17ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 06:20:54 +00:00
Taeju Park
7eefb31fcd Disable PMU freq limit in default
Bug: 223688700
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I8f1e583d3208d7cc7191a5601049118aca2e1d6e
2022-04-08 05:54:48 +00:00
Stephane Lee
a4e82d4f45 ODPM: Fix rail selection file permissions am: 2ac03d73b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17640732

Change-Id: Ibe415c289231108925a59df9127b3446c6cf40ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 02:53:52 +00:00
chungkai
0d48f981c5 Enable load kernel modules in parallel am: 7bb2178bc3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17338969

Change-Id: Iace12f806bc59aa83dc51eb5eb55b20c63b160e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 02:53:42 +00:00
Stephane Lee
2ac03d73b3 ODPM: Fix rail selection file permissions
Test: Ensure that enabled_rails has system/system permissions
Bug: 228112997
Change-Id: I8a9db20276e75af57c27cba7b25ac3661364329d
(cherry picked from commit 5063a9afbf)
2022-04-08 02:49:40 +00:00
chungkai
7bb2178bc3 Enable load kernel modules in parallel
Test: boot successfully
Bug: 223463247
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ib0b4f19f46a029113bd71371e50c318218b517fd
2022-04-08 02:20:40 +00:00
Sam Dubey
81188f4bff Revert "ODPM: Fix rail selection file permissions" am: fc62bbc886
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17622579

Change-Id: If21e6cb727af3c0f2e5a9404d3680c76a39e7a26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 13:26:31 +00:00
Sam Dubey
fc62bbc886 Revert "ODPM: Fix rail selection file permissions"
This reverts commit dc0d3c1b05.

Reason for revert: Breaking linux denials check

Bug: 228414883
Change-Id: If80be482eadc75e9f0cae794a1d8aec5f33f4492
2022-04-07 13:04:21 +00:00
weichinweng
3ba37848f6 Enable bluetooth profiles with product.prop am: 98d194bd7b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17622567

Change-Id: I192967c6a7ed179e817c7cc7bede461333065de4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 08:05:59 +00:00
weichinweng
98d194bd7b Enable bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Change-Id: I76393f0567da7a76a7ce682b7818f6595d2a2ab0
2022-04-07 06:41:41 +00:00
Stephane Lee
6126031aa9 ODPM: Fix rail selection file permissions am: dc0d3c1b05
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17621812

Change-Id: Idb7a7e2d1ae3c8df7c4a2c402a85e64c6ac2daf1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 04:36:43 +00:00
Stephane Lee
dc0d3c1b05 ODPM: Fix rail selection file permissions
Test: Ensure that enabled_rails has system/system permissions
Bug: 228112997
Change-Id: I2fc58c7c504f4a18ee2245569258d52dc42da680
(cherry picked from commit 5063a9afbf)
2022-04-07 00:45:23 +00:00
Long Ling
9078b0f184 display: update adaptive color data am: dd3caffc1d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17587601

Change-Id: Ifd86293f7fa41c667c752c110e08c6d9d6e98179
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:24:22 +00:00
Long Ling
dd3caffc1d display: update adaptive color data
Bug: 209405107
Change-Id: Ie85ea94446eed9092fcbaf0e22d77c5fcad027ca
2022-04-06 23:54:13 +00:00
Sayanna Chandula
14b3315633 thermal: Reconfigure GPU DFS clock to divide by 4
Program the GPU Light register to make clock divider to be divided
by 4

Bug: 223909471
Test: Local test to verify register value
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: If6b3fe9d6cd73cd110e1b6c123b2925c261b5b2a
2022-04-06 18:52:41 +00:00
Jeremy DeHaan
baed6217b0 Add additional display info to dumpstate
Bug: 225376485
Test: Manual - ran 'adb bugreport'
Change-Id: I0cffe416805593241c629328973ad005b8c27b08
2022-04-06 18:51:45 +00:00
Mason Wang
35e54b2fa7 dumpstate: Dump P10 touch information. am: 0f7a0cb1a6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17524345

Change-Id: I0edd5e155e09dc57a977f3187e21b2f5fc4af660
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 10:28:53 +00:00
Mason Wang
0f7a0cb1a6 dumpstate: Dump P10 touch information.
Dump the touch information and rawdata when bugreport is triggered.

Bug: 199105131
Test: adb bugreport

Change-Id: Ie2450a3530ebd615067eaa70f1a0d74985d0e758
2022-04-06 10:03:14 +00:00
TeYuan Wang
00aa11aa60 thermal: provide chg_mdis permission for thermalHAL am: 5c95b36ea8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17505963

Change-Id: I9060580bcea236437578b70d822766ef3884fdf2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 04:50:35 +00:00
TeYuan Wang
5c95b36ea8 thermal: provide chg_mdis permission for thermalHAL
Bug: 226130317
Test: ls -al dev/thermal/cdev-by-name/chg_mdis/cur_state
Change-Id: Id0681d66f33f94baed52f67aea63270a6875ac14
2022-04-06 01:55:13 +00:00
Kyle Lin
73f536ac45 BoardConfig: Target arm v8.2a and A55 am: 2db72b9aee
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17591864

Change-Id: I8ce5227a590c235bffa23a789aadd8493dae5b1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 21:46:41 +00:00
Kyle Lin
2db72b9aee BoardConfig: Target arm v8.2a and A55
This will let bionic use 8.2a atomics which helps scudo locking.

Bug: 224756824
Test: build , boot and check by getprop

Change-Id: Ie5f55071af5b8aff293224665ca68942f3e86625
2022-04-05 18:00:59 +00:00
Kelly Rossmoyer
8f04ece919 Revert "powerstats: set time limit as timeout for AoC" am: b7c5a147cd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17544420

Change-Id: I837cb41ac0f0e0cd1e02aeb49953e5b54744a724
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 22:35:58 +00:00
Kelly Rossmoyer
c8d0be6027 Revert^2 "powerstats: disable AoC power stats reporting" am: 98ba4af1b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17544419

Change-Id: Ib4bad90518cd4a31b5fc2805fbc077c50824bd15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 22:35:55 +00:00
Kelly Rossmoyer
b7c5a147cd Revert "powerstats: set time limit as timeout for AoC"
Revert "powerstats: timeout mechanism for AoC data provider"

Revert submission 17442015-powerstats-aoc-timeout

Reason for revert: Causes PowerStatsHAL crashes (b/227578192)
Reverted Changes:
I9a9eb27fa:powerstats: set time limit as timeout for AoC
Ib70000580:powerstats: timeout mechanism for AoC data provide...
Ied599054c:Revert "powerstats: disable AoC power stats report...
Iaf5af43eb:powerstats: set time limit as timeout for AoC

Change-Id: I6625c444a5f77ac5cfd2b152aa434461cfca7f7a
2022-04-01 22:16:22 +00:00
Kelly Rossmoyer
98ba4af1b4 Revert^2 "powerstats: disable AoC power stats reporting"
0500c761c9

Change-Id: I7d4226e91321cbc4fa14b2d7fdba6ed1129c5788
2022-04-01 22:16:22 +00:00
George Lee
fcee0fde99 thermal: Reconfigure DFS Clock to divide by 4 am: ea926b06e2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17161495

Change-Id: I4995f7a6685b1c09fecfa086ab149b08120a5444
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 18:56:22 +00:00
George Lee
ea926b06e2 thermal: Reconfigure DFS Clock to divide by 4
1. Reconfigure DFS clock divider to divide by 4.
2. OCP_WARN_CPU2 was repurposed for DFS usage.  Since SOFT_OCP_WARN_CPU2
was not used by BCL, it will be repurposed to replace OCP_WARN_CPU2.

Bug: 223909471
Test: Local test to verify register value
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ie9960c30b102d67f0ade156631386b656ff82790
2022-04-01 18:34:58 +00:00
GOOGLE\huangaustin
78e4221a64 [PixelLogger][P22] Update P22 default.cfg for SIM team am: 10950eaf23
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17536684

Change-Id: I163fb5cb94e654aed7278bd3e566d0f4695c1a64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 09:28:22 +00:00
GOOGLE\huangaustin
10950eaf23 [PixelLogger][P22] Update P22 default.cfg for SIM team
bug: 213642764
Change-Id: Ieb88e80cf45f3b0f165f5341deac7c823c71234e
2022-04-01 14:50:01 +08:00
Darren Hsu
0500c761c9 Revert "powerstats: disable AoC power stats reporting"
This reverts commit 8c4f8807fd.

Bug: 220032540
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Reason for revert: the timeout mechanism is ready
Change-Id: Ied599054c4b3eda125c71b927dbab0e6bdb99ef9
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-30 08:05:25 +00:00
Darren Hsu
6f41cc87c8 powerstats: set time limit as timeout for AoC
Bug: 219630658
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Iaf5af43ebcda4edb0ff5f88e3ba82dda2d0c51a5
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-30 08:05:25 +00:00
TeYuan Wang
6f00cd7be1 bcl: modify batoilo trip_point_0 permission for thermalHAL
Bug: 222017625
Test: adb shell ls -al dev/thermal/tz-by-name/batoilo/trip_point_0*
Change-Id: Ie8d122a8b70bd4f975e586733f5f2a74c46cdaa9
2022-03-30 06:12:12 +00:00
Ray Chi
7be02c0708 usb: remove set_usb_irq script for irq change
Since the dwc3 irq is moved by USB gadget hal now, the
script is not needed.

Bug: 225789036
Test: build pass
Change-Id: I42299d30df5343f06be810870c61c5cff3e41df2
2022-03-30 04:42:16 +00:00
chungkai
1a05b6dc70 init: add uclamp threshold setting
To filter tiny task, add uclamp threshold setting

Test: build and boot pass
Bug: 214098855
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ib8f20a8d0134eff972084cd72a2975d7f778d539
2022-03-30 03:49:30 +00:00
Rick Yiu
3c9226acc7 Change file permission for perfer_idle
Sync permission to other nodes.

Bug: 224637637
Test: build pass
Change-Id: I5e9d4dab6bdb94ad2ca8dd4bb6e52bff72f8b6ee
2022-03-29 10:25:06 +00:00
Luigi Zevola
d2c46291d5 dumpstate: remove tasks prints and clean up
Remove tasks printing when dumping state and clean up format

Bug: 226718218
Test: On C10
Signed-off-by: Luigi Zevola <zevola@google.com>
Change-Id: I275b9d213c133e8b80cbdb88d587c83cfe395089
(cherry picked from commit ce46e3cd48)
2022-03-29 00:22:44 +00:00
Minchan Kim
ec97992b78 dump page_pinner information into bugreport
Dump page_pinner information into dumpstate_board.txt.
It helps to find vulnerable place of CMA failure.

Page pinned ts 13 us count 0
PFN 10292273 Block 10051 type CMA Flags 0x8000000000080024(uptodate|active|swapbacked)
 try_grab_page+0x168/0x17c
 follow_page_pte+0x2e4/0x4c8
 follow_pmd_mask+0x180/0x498
 __get_user_pages+0x1a0/0x42c
 __get_user_pages_remote+0xa4/0x28c
 get_user_pages_remote+0x20/0x48
 copy_strings+0x188/0x2ac
 do_execveat_common+0x278/0x300
 __arm64_sys_execve+0x44/0x5c
 el0_svc_common+0xa4/0x180
 do_el0_svc+0x28/0x88
 el0_svc+0x14/0x24
 el0_sync_handler+0x88/0xec
 el0_sync+0x19c/0x1c0

Page pinned ts 2 us count 0
PFN 10436170 Block 10191 type CMA Flags 0x8000000000080026(referenced|uptodate|active|swapbacked)
 try_grab_page+0x168/0x17c
 follow_page_pte+0x2e4/0x4c8
 follow_pmd_mask+0x180/0x498
 __get_user_pages+0x1a0/0x42c
 __get_user_pages_remote+0xa4/0x28c
 get_user_pages_remote+0x20/0x48
 copy_strings+0x188/0x2ac
 do_execveat_common+0x290/0x300
 __arm64_sys_execve+0x44/0x5c
 el0_svc_common+0xa4/0x180
 do_el0_svc+0x28/0x88
 el0_svc+0x14/0x24
 el0_sync_handler+0x88/0xec
 el0_sync+0x19c/0x1c0

Bug: 226956571
Test: adb bugreport <zip> and confirmed it contains page_pinner
      information.
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Iaf5cd9b70116ed5fff9351dcdcc5485aef18063f
2022-03-28 16:35:02 +00:00
Nishok Kumar S
f980e770bd ueventd: Modify gxp device permission to allow GCA app to access GXP
device.

This is required to allow GCA app to access GXP
device. This is separate from selinux policies, which have already
been added to regulate access to GXP device.

Test: Run GCAEng
Bug: 223088240
Change-Id: I78b97e61c569c47771b528d8c8a4cd0e7d8a54b0
2022-03-28 08:59:19 +00:00
Bill Yi
a8a4ca2748 Bypass build time check for users-libs
* set PRODUCT_BROKEN_VERIFY_USES_LIBRARIES to true to bypss the build
time check on users-libs to fix the build error.

Bug: 189477034
Bug: 217478568

Test: pass the build
Change-Id: I09e5a627eeddc7529a1cc8e33c40e1750eac7c51
2022-03-28 06:20:42 +00:00
Tommy Chiu
1b3717c9d7 device: Include RKP VINF
Bug: 224920531
Bug: 221390931
Test: Build pass with PRODUCT_SHIPPING_API_LEVEL=32|33
Change-Id: I6ca8d6ef8e66daefce42e6e2a5b7c2a5104004b8
2022-03-28 02:56:32 +00:00
Martin Liu
3bcb448aea Keep minimium amount of swiotlb
Keep 2MB swiotlb for devices that not support 36bit access.

Bug: 226578178
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I88deb288e326880b0328c06f5d1b32777cc1ccb9
2022-03-25 12:57:43 +00:00
Ricky Niu
7d413565cd usb: Add dm condition in NCM
Add vid/pid 04e8/6862 for dm condition in NCM

Test: The usb gadget functions work normally
Bug: 226682477

Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I263f125d2ff961a6967b5b536c71fcbdcd87ed05
2022-03-25 10:34:56 +00:00
Darren Hsu
6bfa5980f9 powerstats: add AoC restart count stats
Bug: 226173008
Test: dump power stats and verify restart count increased
Change-Id: I8fabb1ccf853ad26c4f455129f6d337e8eb37e2c
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-25 06:59:34 +00:00