Commit graph

5707 commits

Author SHA1 Message Date
TreeHugger Robot
fbccd3059e Merge "powerstats: update GPU sysfs path for state residency" 2022-09-12 06:26:54 +00:00
Adam Shih
4c3622d25a Merge "use gs-common insert module script" 2022-09-12 05:40:56 +00:00
Adam Shih
e0767f2b4e Merge "use gs-common insert module script" 2022-09-12 05:40:56 +00:00
Darren Hsu
d45112c2e2 powerstats: update GPU sysfs path for state residency
Bug: 244520099
Bug: 243096772
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: If801c99b3eeeb9ca4a396612bd59f7dbebf17cc9
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-09-12 10:59:16 +08:00
Siddharth Kapoor
7526ad185c init.zuma.rc: Remove unused mali sysfs node
Change-Id: I3add4ca927ee8ac253e1d489bd30362d23ef962c
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2022-09-09 13:58:36 -07:00
Jeffrey Carlyle
55c282ab71 Merge "dck: allow st54spi devivce to be accessed by recovery and fastbootd" 2022-09-08 21:58:56 +00:00
Mike McTernan
309d915204 Merge "Start storageproxyd earlier, but after /dev/sg1 has arrived." 2022-09-08 15:28:03 +00:00
Mike McTernan
27fc7b2c2d Start storageproxyd earlier, but after /dev/sg1 has arrived.
Background:
* Sometimes /dev/sg1 isn't ready when storageproxy attempts to start.
  Add a trigger to wait for the device.

Bug: 245194332
Bug: 245724566
Test: manual
Change-Id: I23300b7f1a0170dc1b73c5e3b5b2c7e2b1ecba2b
2022-09-08 13:18:46 +00:00
Adam Shih
a59fecc6a3 get bt permission xml to gs-common
Bug: 242661555
Test: connect to bluetooth
Change-Id: I0ecc6c3bdc18c283e43360e165cc6d95da38c631
2022-09-08 05:13:25 +00:00
Adam Shih
0ddf6e577f use gs-common insert module script
Bug: 243763292
Test: boot to home
Change-Id: Idbac83716d0eaca0b9806db901aea68bffd32f4b
2022-09-08 09:57:29 +08:00
Adam Shih
a89fbf4892 use gs-common insert module script
Bug: 243763292
Test: boot to home
Change-Id: I077ee2287b60f243e2440ad3f3a55c02d8ad52ad
2022-09-08 09:52:39 +08:00
TreeHugger Robot
5a314cab17 Merge "Add SE policies for HWC logs" 2022-09-07 12:28:32 +00:00
TreeHugger Robot
7649ca0327 Merge "dumpstate: add HWC fence state, error log, and debug dump files" 2022-09-07 12:28:32 +00:00
TreeHugger Robot
a96703d13d Merge "zuma: disable dimming mode in factory build" 2022-09-07 11:37:13 +00:00
Ken Huang
d28e21fcdf zuma: disable dimming mode in factory build
Bug: 245240121
Test: cat /sys/class/backlight/panel0-backlight/dimming_on
Signed-off-by: Ken Huang <kenbshuang@google.com>
Change-Id: I5a6b81d284226712fbb61a2db58fc4307244d183
2022-09-07 13:32:10 +08:00
TreeHugger Robot
22f83ce4da Merge "powerstats: update sysfs path for AoC, GPU and PCIe" 2022-09-06 07:08:40 +00:00
Adam Shih
bac56c2be1 remove empty files
Bug: 243763292
Test: build pass
Change-Id: I4f143dfb06c2c3e7917cba2069a983881ef07ae4
2022-09-06 11:16:18 +08:00
Darren Hsu
dde4bdd7f9 powerstats: update sysfs path for AoC, GPU and PCIe
Bug: 244408938
Bug: 242243692
Bug: 244520099
Bug: 244540752
Bug: 244540747
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Id781bc0514eb1b95f7d4d7c2c953cb810f0629c0
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-09-05 19:01:20 +08:00
Woody Lin
34db41727d Enable hanging-recovering features
These features were disabled to speed up bring-up process. The system is
stable now so they can be re-enabled.

Bug: 241050412
Change-Id: Idb4ab81dc9493c91b7d59d2093bab587a630f6ff
2022-09-05 17:22:23 +08:00
Jeffrey Carlyle
48422cd1ff dck: allow st54spi devivce to be accessed by recovery and fastbootd
This is needed so that Digital Car Keys can be cleared from the ST54
during a user data wipe.

Bug: 203234558
Test: data wipe in Android recovery mode on raven
Test: data wipe in Android recovery mode on c10
Test: data wipe in user mode fastbootd mode on raven
Test: data wipe in user mode fastbootd mode on c10
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: I5e1e8248ba188a68dd3c97795958e74e233701b9
2022-09-01 22:49:44 -07:00
Jaegeuk Kim
be913ec40e Enable HW encryption w/ Trusty
Bug: 214136017
Bug: 214135924
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Id38edc06ad58de8eefee7619077ddd753d9804cb
2022-08-31 21:48:44 -07:00
Adam Shih
7949921501 Move dauntless settings to gs-common
Bug: 242479757
Test: build pass on all Gchip devices

Change-Id: Ib5ffd35f2e434f3f9c06e942d3569463efaffebd
2022-08-31 12:54:52 +08:00
Evgenii Stepanov
a9806c6050 Merge "Set arm64.memtag.bootctl_supported on non-fullmte products." 2022-08-30 20:02:01 +00:00
Kenny Root
31e146620b Merge "Re-enable GSC" 2022-08-30 16:49:33 +00:00
Adam Shih
d13d0aaf56 Move dauntless settings to gs-common
Bug: 242479757
Test: build pass on all Gchip devices
Change-Id: I4b6c011015f6b94b5329650eb82ec5b95bbe2040
2022-08-30 13:32:02 +08:00
TreeHugger Robot
996bec0fe9 Merge "gps: raise gps service priority" 2022-08-30 03:39:34 +00:00
Cheng Chang
c648929f6d gps: raise gps service priority
Raise gps service priority to avoid resource issue

Bug: 243346625
Test: test by production tool
Change-Id: I647271d6622b7b2e636ce17800265b5c2d5f38d2
2022-08-30 01:46:41 +00:00
Evgenii Stepanov
705c2f2a6e Set arm64.memtag.bootctl_supported on non-fullmte products.
This will enable the "Reboot with MTE" developer options button as
described in
https://source.android.com/docs/security/memory-safety/bootloader-support

Bug: 242244112
Test: * all _fullmte products define arm64.memtag.bootctl_supported.
      * other products do not define arm64.memtag.bootctl_supported.
      * non-fullmte products support "Reboot with MTE" flow as per the
        link above.
Change-Id: Ic0e301755fb6745be55b2fb502b530495bef4ca0
2022-08-29 16:26:57 -07:00
Kenny Root
5387e3d277 Re-enable GSC
GSA should be available for use to speak to GSC and the GSC should be in
a state in which in can be talked to for citadel_updater, et al.

Bug: 241817670
Test: boot with changes
Test: /vendor/bin/hw/citadel_updater -v
Signed-off-by: Kenny Root <kroot@google.com>
Change-Id: I6603a9cf54569cd1dbe11a78636adb4a79121b48
2022-08-29 13:33:37 -07:00
Badhri Jagan Sridharan
26f4504f16 Enable USB HAL
Fix up i2c address for typec and enable USB HAL.

Bug: 241871290
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I87ce763e350bfaec05dbe83ee040eda7d252e7a2
2022-08-27 02:42:21 +00:00
NISCHAL JAIN
872f5b8d58 Merge "Modify GXP coredump naming signature" 2022-08-26 06:22:46 +00:00
Kyle Tso
63d79db02c Dumpstate: Add new path of default tcpm log
Old default path: /sys/kernel/debug/usb/tcpm*
New default path: /sys/kernel/debug/usb/tcpm*/log

Bug: 242682649
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I19efe1b0cf202af132f7598434e13c18c869ae7d
2022-08-25 07:41:22 +00:00
Jeffrey Carlyle
819e3d11cd dck: pick up recovery mode library for digital car key wiping
This is done by optionally including a Makefile (-include) so that
aosp builds in which the library is not present will pass.

Bug: 203234558
Test: build only
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: Ibc4967cbc115959a71ee04c2116ce8ab21575e24
2022-08-24 18:07:01 -07:00
nischaljain
281e1ffab8 Modify GXP coredump naming signature
Currently its "coredump_gxp_platform*" & "crashinfo_gxp_platform*"
Update it to "coredump_gxp_*" & "crashinfo_gxp_*" to incorporate both
Amalthea and Callisto dumps.

Its a modification over CL ag/16787185.

Test: adb root; adb remount -R; adb bugreport
Bug: 236046046
Signed-off-by: nischaljain <nischaljain@google.com>
Change-Id: I1173cca0a8200039f76f2f1dc94e51ecccf3a97e
2022-08-24 12:20:42 +00:00
Wiwit Rifa'i
b8307a286f dumpstate: add HWC fence state, error log, and debug dump files
Add some HWC log files in /data/vendor/log/hwc to dumpstate, i.e.

[1] hwc_fence_state.txt: contains the dump of fence state when there's
a fence leak warning. We can also execute `vndservice call
Exynos.HWCService 11 i32 0 i32 308 i32 1` to trigger the dump to this
file. The size of this file is limited to about 1 MB.

[2] hwc_error_log.txt: contains some early logs of ALOGE() from HWC.
The size of this file is limited to about 1 MB.

[3] {display_name}_hwc_debug0.dump - {display_name}_hwc_debug9.dump:
contain the debug dumps when there are some failures in HWC (e.g.
failures in validateDisplay() or presentDisplay()). HWC will only limit
up to first 10 debug dumps per display to be saved in separated files.

Bug: 230361290
Test: adb bugreport
Change-Id: I8621aeffd2bb7edb46314437d06338e0d0954b7c
2022-08-24 05:31:54 +00:00
Taehwan Kim
4307f59c9e uses Codec2 HIDL 1.2 service
Bug: 238360304
Test: Build PASS
Test: Boot to home
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I1d24fab86807b0260c2f57717867eb0dba10d0a1
2022-08-22 06:50:37 +00:00
Wen Chang Liu
758c0151ea Merge "modify device.mk for exposing supported pool type" 2022-08-22 06:48:26 +00:00
Taehwan Kim
8d9dc3aa30 sepolicy: supports Codec2 HIDL 1.2
Bug: 238360304
Test: Build PASS
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Id02e834bc4c19b09fac6c71199e2b0d62ddb4fd6
2022-08-22 05:31:08 +00:00
TreeHugger Robot
a622aa4ceb Merge "Dumpstate: get fsck log" 2022-08-22 04:41:18 +00:00
Lucas Wei
018ede2943 Merge "Enable vendor_kernel_boot partition for zuma" 2022-08-18 22:54:54 +00:00
Kyle Tso
852a50a151 Dumpstate: Correct max77759tcpc path
Bug: 242705378
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I1a8264528c74eb38ba47c37afe9a5cffdfda61aa
2022-08-17 00:47:30 +08:00
Wiwit Rifa'i
dee1f2e57d Add SE policies for HWC logs
Bug: 230361290
Change-Id: Ibca7f791bc4950bb6c1e4fd7ed5cbe5a98b48a5e
2022-08-16 14:02:21 +08:00
Taehwan Kim
30e5f5f668 modify device.mk for exposing supported pool type
default : ION(1 << 16) | BUFFERQUEUE(1 << 18)
add : GRALLOC(1 << 17)

Bug: 227283773
Bug: 238360304
Test: Build PASS
Test: CtsMediaV2TestCases
Change-Id: Iab38bc7818e95c032552ed9bf79d68b50f8eadcd
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
2022-08-15 11:02:07 +00:00
Andrew Chant
7492410b33 remove securedpud.slider
securedpud.slider is crashlooping, remove
and let trusty team evaluate.

Bug: 242472681
Change-Id: I84778c6b4f8844b0208ac5c957f52e1609bdd830
2022-08-14 20:00:53 -07:00
Jinting Lin
a6206bd756 Merge "Add ModemDiagnosticSystem app into factory ROM" 2022-08-12 07:58:15 +00:00
TreeHugger Robot
72c3386af3 Merge "fstab: add back inlinecrypt for hw encryption" 2022-08-11 17:07:32 +00:00
Jinting Lin
61e5a33d17 Add ModemDiagnosticSystem app into factory ROM
Bug: 241980794
Change-Id: Ie7348ef38128b263c18a4259a15955efd25a453c
2022-08-11 07:33:39 +00:00
TreeHugger Robot
a8575970a8 Merge "Enable flags for ARMNN compute" 2022-08-10 20:44:57 +00:00
Jaegeuk Kim
2779a1b9b4 Dumpstate: get fsck log
Bug: 241641121
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Iaadb166fe9194518b2db75080cddc02526bdf2bb
2022-08-10 13:14:38 -07:00
TreeHugger Robot
e65b70ab97 Merge "Enable USF modules" 2022-08-10 19:11:08 +00:00