From 9b743e5938d7be85ad51b33a65c14c03cc219495 Mon Sep 17 00:00:00 2001 From: Kalesh Singh Date: Mon, 18 Sep 2023 10:26:37 -0700 Subject: [PATCH] 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 --- device-common.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device-common.mk b/device-common.mk index bf738c34..ece4678b 100644 --- a/device-common.mk +++ b/device-common.mk @@ -44,6 +44,9 @@ PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \ ro.thermal_warmreset = true +# Set the max page size to 4096 (b/300367402) +PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 4096 + # Indicate that the bootloader supports the MTE developer option switch # (MISC_MEMTAG_MODE_MEMTAG_ONCE), with the exception of _fullmte products that # force enable MTE.