Commit graph

3100 commits

Author SHA1 Message Date
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
Cheng Chang
ca9a07f400 Merge "gps: update gps driver 143.20.23.545390" 2022-08-08 08:20:26 +00:00
Cheng Chang
bcfbb84d4b gps: update gps driver 143.20.23.545390
Bug: 241346090
Test: factory functions are workable
Change-Id: I7acab5d132c7499b037fcf6e403caa81ca014ad0
2022-08-08 04:08:09 +00:00
TreeHugger Robot
86b1026b8d Merge "fix avc error for fg_model/registers" 2022-08-06 02:30:14 +00:00
TreeHugger Robot
1e0a34c7f7 Merge "Change symlink /dev/edgetpu to /dev/rio instead of janeiro." 2022-08-06 00:11:35 +00:00
qinyiyan
2ccb259be2 Change symlink /dev/edgetpu to /dev/rio instead of janeiro.
Bug: 236041918
Test: m
Change-Id: I002aefa931f700ca69b6770980ee7192320d7049
2022-08-04 20:24:55 +00:00
Ruofei Ma
75cf0b9d7e Enable bigwave in device.mk
Bug: 195687338

Change-Id: Ib16838e91d928cb0b6664fb1563f525788fc8636
2022-08-03 13:16:51 -07:00
TreeHugger Robot
7c4be29803 Merge "HwInfo: Move hardware info sepolicy to pixel common" 2022-08-03 02:57:30 +00:00
qinyiyan
f5cc6c237a Re-enable edgetpu related services.
Test: forrest build
Bug: 236041918
Change-Id: If3e810edb8650a0e4219e761c493e06fdc01ef2f
2022-08-02 16:55:15 -07:00
Bruce Po
d7016254c8 Add TARGET_PRODUCT variable to aoc daemon build
Add TARGET_PRODUCT variable to aoc daemon build. This will be useful for
including/excluding certain features depending on product type, e.g.
T6 hotword AP offload.

BUG: 240748763
Change-Id: I6cc7d4091025d829d0f76f087079bfc0eb9e7dff
2022-07-30 00:19:43 +00:00
Denny cy Lee
ed5397d30b HwInfo: Move hardware info sepolicy to pixel common
Bug: 215271971
Test: no sepolicy for hardware info
Change-Id: I36d777dc0068ad7a4d1237797b69e421587f0c19
Signed-off-by: Denny cy Lee <dennycylee@google.com>
2022-07-28 10:00:27 +00:00
TreeHugger Robot
e61ae40614 Merge "init.zuma.rc: update DPU related sysfs path" 2022-07-27 22:07:20 +00:00
Shiyong Li
c6a617c33c init.zuma.rc: update DPU related sysfs path
set proper permission for dsi0 and dsi1, and decon0 sysfs node.

Bug: 239493348
Signed-off-by: Shiyong Li <shiyongli@google.com>
Change-Id: I8b15a038753ac860b86642b4ca00e7440ee0ef62
2022-07-27 17:30:24 +00:00
Tri Vo
09b56dba43 Merge "storageproxyd: start storageproxyd as system user and group" 2022-07-27 17:24:25 +00:00
Jenny Ho
8b9bdee346 fix avc error for fg_model/registers
Bug: 226271913
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Ib8aee40d16685e7705f9b910379b356a9a638202
2022-07-27 04:07:23 +00:00
Tri Vo
b6831ba661 storageproxyd: start storageproxyd as system user and group
Bug: 205904330
Test: presubmit
Change-Id: Ia833d3b7697935446a78213091e449bbbc2488a4
2022-07-26 14:11:51 -07:00
Cheng Chang
94a392a649 Merge "gps: update nstandby sysfs path" 2022-07-25 07:30:51 +00:00
Ivan Zaitsev
386d7ae180 Merge "Disable USF modules." 2022-07-21 18:22:01 +00:00
Rick Chen
621be0f47c Disable USF modules.
Bug: 238272499
Test: Compile pass.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: I6bfcd9fb936e865424a082a8eb1e28bff0f6d0a6
2022-07-21 16:52:14 +08:00
Woody Lin
b5b7d1f2b2 Merge "Fix earlycon address" 2022-07-21 07:41:59 +00:00
TreeHugger Robot
60c7a4833f Merge "target: disable tripple buffering" 2022-07-21 07:13:03 +00:00
Woody Lin
2acf86b3ab Merge "watchdog: Move platform watchdog daemon to gs-common" 2022-07-21 06:53:08 +00:00