Commit graph

24 commits

Author SHA1 Message Date
Juan Yescas
eb1c1ce936 zuma: Set max supported page size to 65536
Set the max page size on zuma devices to 65536.

Bug: 300367402
Test: readelf -Wl /system/bin/init
Change-Id: I4d3e45f5da1cfc50c639aea44d5670a936ca47a8
2024-02-29 13:11:48 -08:00
Juan Yescas
26a8491cd4 Revert "zuma: Set max supported page size to 65536"
This reverts commit 2697a88c66.

Reason for revert: b/324952273

Change-Id: I1535c2de7d9769bbad5829331092f365193fd40b
2024-02-14 17:26:55 +00:00
Juan Yescas
2697a88c66 zuma: Set max supported page size to 65536
Set the max page size on zuma devices to 65536.

Bug: 300367402
Test: readelf -Wl /system/bin/init
Change-Id: Idec552d9db4468587bf98466187c8a907142dc8e
2024-02-07 21:09:43 +00:00
Evgenii Stepanov
1b3bf6ca3a Revert "Force disable MTE in Chrome in _fullmte build." am: ff0cc4d3f4 am: 39414bb2f9 am: d6579e215b
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/2896760

Change-Id: I453779b50ae675a0800ff86e786cb1d3dd280dd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-04 03:09:37 +00:00
Evgenii Stepanov
ff0cc4d3f4 Revert "Force disable MTE in Chrome in _fullmte build."
This reverts commit 4a1f9459e5.

The Chrome issue has been fixed upstread and this workaround is no
longer needed; in fact, it triggers another issue where conflicting MTE
mode settings make newer Chrome versions crash at startup.

Bug: 297266100
Bug: 305005339
Bug: https://crbug.com/1515053
Test: chrome still does not crash; debuggerd shows MTE is enabled (grep
for TCF_MTE)

Change-Id: Iee2b704c4ea39b5809193c1ceed3b8f41618dd40
2024-01-03 16:10:25 -08:00
Jaegeuk Kim
44082e91da Run fsck to resolve possible data corruption
Cherry-picked from 19eb98145d.

Trigger fsck on mount of /data if the value of ro.preventative_fsck is
not equal to the contents of /metadata/vold/preventative_fsck, then set
the file to the property to prevent future runs

See b/305658663 for context

Bug: 305658663
Test: Make sure fsck run after first boot and not after second
Change-Id: Ie6b9fc94752d91e77e8fc48979216917c1fd9ec3
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-10-27 20:52:33 +00:00
Jaegeuk Kim
e223cf13b8 [conflict] DO NOT MERGE - Run fsck to resolve possible data corruption am: 19eb98145d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/25175376

Bug: 305658663
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:707c8849e5e5511a8bf009b61a714cdd2fea811b)
Merged-In: Icc611e53d39734b7f6ce9c70ca601d61ec4d4e33
Change-Id: Icc611e53d39734b7f6ce9c70ca601d61ec4d4e33
2023-10-27 03:34:11 +00:00
Kalesh Singh
f2a5ce9f0a zuma: Set max supported page size to 4096 am: 9b743e5938 am: d59cc0f6e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/24790440

Change-Id: I80956a1765efceb0bb68f20936423554ee07b959
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-19 04:31:24 +00:00
Kalesh Singh
9b743e5938 zuma: Set max supported page size to 4096
Temporarily reset the max page size on zuma devices to 4096 to avoid
extra gap VMAs in P23 devices for qpr1.

Bug: 300942232
Test: readelf -Wl /system/bin/init
Change-Id: I1fda0599a21c633292062db1278df0fed50de23e
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2023-09-18 18:35:13 +00:00
Treehugger Robot
87c5daa03a Merge "add comment about persist properties" into main 2023-09-05 17:05:23 +00:00
Florian Mayer
bd7086e4da add comment about persist properties
Change-Id: I394cda6db222b5c43b1fed1282b81d8277b7af67
2023-08-25 21:00:08 +00:00
Evgenii Stepanov
4a1f9459e5 Force disable MTE in Chrome in _fullmte build.
This is a no-op in regular builds. Impact is limited to a testing-only
_fullmte build.

Bug: 297266100
Test: chrome does not crash
Change-Id: Iba9b031fa9d2df0c093f0465ae2dd8e1b36133b9
2023-08-23 23:22:21 +00:00
Evgenii Stepanov
2cb239bb20 Merge "Disable MTE in system_server." into udc-d1-dev 2023-06-19 20:19:18 +00:00
Joe Shih
778892fa33 Merge "[SEPolicy]Change to gs-common." into udc-d1-dev 2023-06-19 06:21:20 +00:00
joeshih
ec838e4c63 [SEPolicy]Change to gs-common.
Bug: 287167439
Test: Forrest build to verify pass.
Change-Id: Ib4350636c006c996c36bf36d13162e40d4f0f7ac
2023-06-17 16:50:43 +08:00
Evgenii Stepanov
02d739e388 Disable MTE in system_server.
Bug: 280343521
Test: debuggerd `pidof system_server` | head -30 | grep tagged_addr
      does not include PR_MTE_
Change-Id: I64e3cf43162c8ab39f45b37240e26c2f25ea964e
2023-06-16 16:55:02 -07:00
Evgenii Stepanov
e205724019 Zuma: disable MTE on system apps
Bug: 280343521
Test: debuggerd on the listed apps should not mention PR_TCF_MTE
Change-Id: I9311210fec4e6f720fb2a7c4d48c4927925d252b
2023-06-14 17:17:12 -07:00
Cyan_Hsieh
404d910909 Update ro.soc.model
Bug: 275145204
Change-Id: I01d821b7aa44a622b7e6e0e9cb6e4d099bfed018
2023-04-18 07:30:27 +00:00
Sayanna Chandula
1f57994db5 thermal: enable warm_reset on thermal shutdown
Bug: 269552599
Test: Build and boot on device. Check lastlogcat on thermal shutdown

Change-Id: I39e84d7beeb19fe604b4accfcef9d9ed2240329a
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-03-03 11:57:26 -08:00
Florian Mayer
63a58603a2 Remove MTE user toggle from Zuma.
Change-Id: If62af28429b20cb38288ad86f452acf250088c19
2023-01-27 01:06:32 +00:00
Florian Mayer
486c780148 Set separate system property to enable MTE settings toggle.
This is so other parts of the system can query whether the setting exists.

Bug: 244290023
Change-Id: I38a007231d6d779164ef5eff2a80d50fffe1085e
2022-11-16 22:13:27 +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
Aaron Ding
66befd88e3 Create device Ripcurrent on Zuma platform
s/cloudripper/ripcurrent
s/gs201/zuma
s/pantah/ripcurrent

Bug: 229340586
Change-Id: Ic5dffbbfadbb1eb8479587b95222801426bba35e
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 12:55:56 +08:00
Aaron Ding
d88f9a90bd Branch zuma from gs201
Branch zuma from gs201 sha1 9009acf5c217f553b45ea82aa0702607229f0347

cp/pantah/ripcurrent
cp/gs201/zuma

Bug: 229340586
Change-Id: Ia312c20dae892ead9bf06728b4ef5c0c260ad045
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 12:45:55 +08:00