Commit graph

443 commits

Author SHA1 Message Date
Florian Mayer
0a55c41d15 [Zuma] set mte_tcf_preferred to sync for little and mid cores
SYNC mode increases report quality. It slightly degrades performance
over ASYNC, but for early dogfooding we value debuggability over
performance, as performance is not representative yet.

SYNC is prohibitively slow on the big core.

Test: cat /sys/devices/system/cpu/cpu?/mte_tcf_preferred
Bug: 239832365
Change-Id: I71f552898808ffceba13de74526b7e50538e290f
2023-02-14 00:53:27 +00:00
Xiang Wang
4964215149 Update USB HAL clients to use Thermal stable AIDL
Bug: b/264594715
Test: boot test
Change-Id: I28bd0e7fab1812c7c5f02d2b0337648f23e7f6a1
2023-02-13 14:51:27 -08:00
Jaegeuk Kim
eb83660057 Remove deprecated f2fsstat
Change-Id: If5d1bdc39109150b7d49565760e28771656988f2
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-02-13 12:58:34 -08:00
Darren Hsu
a7dca1b9c1 powerstats: add support of sleep duration in CPUPM data provider
Bug: 263276734
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: If873c5d50dd12a54addd14f56aebd48fdee91415
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-02-13 22:47:41 +08:00
Adam Shih
0584dcc4b5 Remove obsolete led dump
Bug: 240530709
Test: adb bugreport
Change-Id: Ie018b028c6819fb263d39826fd462e232291df6a
2023-02-13 11:54:12 +08:00
Adam Shih
e3aae9ad7d Merge "extract misc section from dumpstate" 2023-02-13 03:24:47 +00:00
Tim Lin
d0226c5674 Merge "include ril.mk to enable ril extension service" 2023-02-11 02:33:44 +00:00
Alan Chen
b3fdc8cd90 Merge "Create RadioExt v1.6." 2023-02-11 00:22:40 +00:00
Adam Shih
6fe621f1a5 extract misc section from dumpstate
Bug: 240530709
Test: adb bugreport
Change-Id: I209101de3cc5c583bbe73fbfc29ace80c4da31d2
2023-02-10 13:21:55 +08:00
timtmlin
69ded45aae include ril.mk to enable ril extension service
Bug: 258184594
Test: make
Change-Id: I353755abc219b665570aac6b29c81acadb5aab3f
2023-02-09 12:38:49 +00:00
TreeHugger Robot
a88ab70189 Merge "Revert "support RIL extension service using IRilExt"" 2023-02-09 06:29:17 +00:00
Tim Lin
dbd0de415f Revert "support RIL extension service using IRilExt"
Revert submission 20424805-ril-extension-service

Reason for revert: BB on partner branch

Reverted changes: /q/submissionid:20424805-ril-extension-service

Change-Id: I64dc5c969ad507959f9c6349847c737279603d41
2023-02-09 04:52:27 +00:00
Adam Shih
3361456f53 Merge "migrate power section to its own script" 2023-02-09 02:51:48 +00:00
TreeHugger Robot
56a2a0c5cb Merge "support RIL extension service using IRilExt" 2023-02-08 10:17:18 +00:00
Salmax Chang
9d136a1f4a Merge "init: restorecon modem persist file" 2023-02-08 07:49:19 +00:00
Salmax Chang
ee7873d879 init: restorecon modem persist file
Re-label the SElinux context of modem persist file

Bug: 258744063

Change-Id: Ibd06a8d0eb4f8aa1762c27497e88cde9d37d14b9
2023-02-08 07:47:52 +00:00
Adam Shih
948564f82b migrate power section to its own script
Bug: 240530709
Test: adb bugreport
Change-Id: I879525a3c067de1e6e6598d7a29741fd42d2f639
2023-02-08 07:11:44 +00:00
shengchiliu
94cc9e9c99 Create a folder to store the calibration file
This folder was created previously by a factory calibration script. On some 2023 devices, auto calibration will replace factory calibration, so the folder won't be automatically created in the factory anymore. We create the folder as part of the device initialization, so it is available by the time we try to write a new calibration file into the folder.

Bug: 246991030
Test: test on device
Change-Id: I8548bc7f7058f435cf3df6734de33bed62b86469
2023-02-07 18:36:09 -08:00
TreeHugger Robot
444ac894f6 Merge "Add head tracker feature." 2023-02-07 21:13:10 +00:00
Manish Kushwaha
1d25ae3053 Add head tracker feature.
Bug: 264833502
Test: Verified that head tracker feature is set and sensor feature CTS
 test passes.
Change-Id: If0180602903114016ef538b7a383b92f473cdb59
2023-02-07 19:25:29 +00:00
Jenny Ho
5059368362 dumpstate: dump battery defend logbuffer
Bug: 242679204
Change-Id: I85b1b7917445b0c53cff66d51a1af0e00ab488ec
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-02-05 14:03:30 +08:00
neoyu
3a6c284055 zuma: Enable SET_SCREEN_STATE request
Bug: 263081412
Test: build pass
Change-Id: I17cd92b248e6e111560caad8991b955251428e8f
2023-02-03 02:27:40 +08:00
Jack Wu
cadef9557f init: add permission for charging_policy access
Bug: 251425963
Test: write charging_policy sysfs node successfully
Change-Id: I2ee0788c5983bccd85d6e01aa6ea826b9addac41
Signed-off-by: Jack Wu <wjack@google.com>
2023-02-02 12:20:50 +00:00
alanblc
fad67dba1d Create RadioExt v1.6.
Bug: 264969235
Test: Manual
Change-Id: I3861f2a9e8dac1e19aca821bbf3c8d4293651e09
2023-02-02 14:52:06 +08:00
Doug Zobel
9b6a17e071 Merge "pixelstats: Configure PCIe link stats pathnames and access" 2023-02-01 15:04:04 +00:00
Sajid Dalvi
c649651b04 Merge "init: add dumpstate for pcie" 2023-01-31 19:53:26 +00:00
timtmlin
6af1a74ac0 support RIL extension service using IRilExt
Bug: 258184594
Test: make
Change-Id: I84b4d98e6f8874689ea84acff1b55e7c73ff9972
2023-01-31 15:14:15 +00:00
Dai Li
7914cd2f1a Merge "Blow AR upon boot success in zuma" 2023-01-30 22:16:21 +00:00
Florian Mayer
63a58603a2 Remove MTE user toggle from Zuma.
Change-Id: If62af28429b20cb38288ad86f452acf250088c19
2023-01-27 01:06:32 +00:00
Peter Collingbourne
0035373279 Merge "Temporarily disable KASAN until bugfix is merged into Shusky kernel." 2023-01-26 03:41:03 +00:00
Peter Collingbourne
3174340456 Temporarily disable KASAN until bugfix is merged into Shusky kernel.
Bug: 265863271
Change-Id: Ifdc9f910767406c4c37600a0b14f502e90bab0aa
2023-01-25 16:59:53 -08:00
Dai Li
35b3e91c75 Blow AR upon boot success in zuma
With otp driver migrated to trusty in zuma, use tipc to blow AR in
Android.

Bug: 232277507
Change-Id: I6908502244e96bf86f026596a395419eb3b9b877
2023-01-25 20:44:53 +00:00
Doug Zobel
ecb02c9cc0 pixelstats: Configure PCIe link stats pathnames and access
Test: adb logcat "pixelstats-vendor:D *:S"
Bug: 266689144
Change-Id: Ie528c3273e43e0a3401449a057eeb9c7e6004ecf
Signed-off-by: Doug Zobel <zobel@google.com>
2023-01-25 09:57:06 -06:00
Sajid Dalvi
9d79164804 init: add dumpstate for pcie
Add logbuffer support to pcie driver to reduce dmesg spam.

Bug: 228870318
Change-Id: I714110a83bd04972db1017fae7dd08ea61b7a31c
Signed-off-by: Sajid Dalvi <sdalvi@google.com>
2023-01-24 18:56:37 -06:00
Mahesh Sivasubramanian
5cb0ef1f4a zuma: Enable SICD after boot
Bug: 238226940
Change-Id: I43a00d12d97a8c5f86e6163c0fcf0160f9b5791f
Signed-off-by: Mahesh Sivasubramanian <msivasub@google.com>
2023-01-24 00:22:07 +00:00
TreeHugger Robot
7f59f49e22 Merge changes I9465cf81,Ic7c048e1
* changes:
  Set pKVM to enabled in /misc on A0 chips
  Set pKVM metrics tag
2023-01-23 17:57:00 +00:00
David Brazdil
f347cd224d Set pKVM to enabled in /misc on A0 chips
pKVM provides a workaround for A0 hardware issue. Signal to tests that
an A0 device should not be run without it by enabling it in /misc on
first boot. We only do this on debug builds.

Bug: 266183966
Test: flash, boot, reboot to bootloader, check 'fastboot oem pkvm'
Change-Id: I9465cf816c65943cba6e04b1d939b0bb5af4395d
2023-01-23 14:48:26 +00:00
David Brazdil
3900802833 Set pKVM metrics tag
Performance of pKVM differs between hardware revisions. Set AVF's debug
property on A0 chips to separate benchmark results from each other.

Bug: 266183966
Test: getprop | grep 'debug.hypervisor.metrics_tag'
Change-Id: Ic7c048e1209bf957cef2373b92dc2e9de2733a9c
2023-01-23 12:55:43 +00:00
Victor Barr
e0ed3112e2 Merge "Support DBA HAL" 2023-01-19 21:52:38 +00:00
Wen Chang Liu
5855555c19 Merge "BoardConfig: add BOARD_SUPPORT_FLEXIBLE_P010 support" 2023-01-18 15:30:11 +00:00
TreeHugger Robot
4c74d95ac6 Merge "thermal: remove thermal pid flag for zuma" 2023-01-18 00:14:00 +00:00
Ken Yang
aeef4c5f9d WLC: include the wireless FCM correctly
Change the setting of DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE from ':='
to '+=' due to that vendor services like WLC will be added before it.

Bug: 265476345
Change-Id: I1b60f69465faad3749f1e54a561d1c20c99b7237
Signed-off-by: Ken Yang <yangken@google.com>
2023-01-14 04:11:19 +00:00
Jaegeuk Kim
34b65b6ab3 Merge "zuma: add no encryption fstab rule" 2023-01-13 16:11:30 +00:00
Alex Hong
e040b0838a Merge "Fix the index out of bounds error when the modem FD is missing" 2023-01-13 06:26:41 +00:00
Leo Liou
905df10502 Merge "conf: run ufs ffu script after boot complete" 2023-01-13 03:21:07 +00:00
Peter (YM)
a6dd6e5d1b thermal: remove thermal pid flag for zuma
Since we are going to remove old pid algo for zuma, don't need to have
version control anymore.

Bug: 247536326
Test: lshal debug android.hardware.thermal@2.0::IThermal/default
Change-Id: I1f6fe94f018c66156f08d66989c833547f8aa3b9
2023-01-13 02:39:24 +00:00
Jaegeuk Kim
613c3a39a8 zuma: add no encryption fstab rule
Change-Id: I573d47c9df408ec9ba22d98474a21ef635fd3fbf
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-01-12 09:41:15 -08:00
Ray Chi
fbfb40d58c Modify dwc3 irq affinity to get better performance
Bug: 264946043
Test: build pass and dwc3 irq is located in expected cpu
Change-Id: Ia9ad880c64ae3122ab059a0cac9e7c6efe5950bb
2023-01-12 09:47:32 +00:00
Taehwan Kim
d9fa2f37a3 BoardConfig: add BOARD_SUPPORT_FLEXIBLE_P010 support
Bug: 229547170
Bug: 238360304
Test: atest CtsMediaDecoderTestCases:ImageReaderDecoderTest
Test: atest CtsMediaV2TestCases
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I608f1e01d95ffc725c325377302cbb98e0320e6b
Signed-off-by: wenchangliu <wenchangliu@google.com>
2023-01-12 09:24:30 +00:00
Jaegeuk Kim
205be45bca Remove wait_for_keymaster
Bug: 186580823
Change-Id: Ie13e99f9890ca06c21e1b4290cacbf843fadb962
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-01-12 03:28:16 +00:00