Commit graph

121 commits

Author SHA1 Message Date
Siddharth Kapoor
54d08df2ac Merge "init.zuma.rc: Remove unused mali sysfs node" 2022-09-12 17:20:26 +00:00
TreeHugger Robot
fbccd3059e Merge "powerstats: update GPU sysfs path for state residency" 2022-09-12 06:26:54 +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
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
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
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
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
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
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
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
Bob Chang
977c309a5b Set permission and owner of acd-com.google.usf.non_wake_up.
Bug: 236763757
Test: USF is avaliable.
Change-Id: Iad0ef8e23e18c38a6e206f3ab1ffe0c03b0430de
2022-08-10 21:07:43 +08:00
Kyle Tso
0524f3112d usb: Modify the controller name
The name is 11210000.dwc3.

Bug: 242013445
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I49809ebfc6027b650fbea0df643ab1900a538d17
2022-08-10 16:42:16 +08:00
Siddharth Kapoor
08f19d35a5 Enable flags for ARMNN compute
Bug: 241842929
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
Change-Id: Ib71b7f55482528db9f382dc5698591a5ed5f9c8c
2022-08-09 18:29:00 -07:00
TreeHugger Robot
f709195c0d Merge "gralloc: Set platform-specific Soong variable" 2022-08-09 22:59:48 +00:00
Manish Kushwaha
d10dd2c9b3 Enable USF modules
Bug: 240506761
Test: Build test
Change-Id: I4ff2d23be9eee80628838b18d367c38fb6128dfe
2022-08-09 14:36:35 -07:00
Quinn Yan
8e4c7020e0 Merge "Re-enable edgetpu related services." 2022-08-09 19:58:22 +00:00
Siddharth Kapoor
4cb25e79a3 gralloc: Set platform-specific Soong variable
Bug: 241036080
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
Change-Id: Ic4d669075541e102d3142be9e9686e06a1463842
2022-08-08 23:56:09 -07:00
Kenny Root
4e34e0ac28 fstab: add back inlinecrypt for hw encryption
Without this flag, fscrypt will return error for any filesystem operation involving
the partitions mounted with the fileencryption=::inlinecrypt_optimized flag.

Bug: 241606997
Test: enable KDN, switch to :gen_fstab.foo-hw-encrypt
Signed-off-by: Kenny Root <kroot@google.com>
Change-Id: I9601fcdfa627df4e67f1586cd32ceef3c1f9ecac
2022-08-08 16:49:08 -07:00