From 45294d4aa32cd179f93bccaf04a8ef58f4820965 Mon Sep 17 00:00:00 2001 From: liangjlee Date: Thu, 2 Mar 2023 06:09:57 +0000 Subject: [PATCH] Disable zone DMA32 for shiba and husky Same as P22, P23 do not have 32-bit address limitation in hardware, so we would like to empty zone DMA32 for better performance and simplify memory management. Bug: 263239622 Test: b/270096808, b/270097444. Pass reboot test and run sst for 100+ hours without obvious issues. Change-Id: Ib95223aafca17165e1b8d972448c5d66384d3ccc Signed-off-by: liangjlee (cherry picked from commit 4584a04fe3c1d4dacce94679d57621aca24b4fa7) --- husky/BoardConfig.mk | 1 + shiba/BoardConfig.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/husky/BoardConfig.mk b/husky/BoardConfig.mk index e6b4bd2..ef96816 100644 --- a/husky/BoardConfig.mk +++ b/husky/BoardConfig.mk @@ -20,6 +20,7 @@ TARGET_SCREEN_DENSITY := 520 BOARD_USES_GENERIC_AUDIO := true USES_DEVICE_GOOGLE_SHUSKY := true BOARD_KERNEL_CMDLINE += swiotlb=noforce +BOARD_KERNEL_CMDLINE += disable_dma32=on include device/google/zuma/BoardConfig-common.mk -include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk diff --git a/shiba/BoardConfig.mk b/shiba/BoardConfig.mk index e7f31ff..197c691 100644 --- a/shiba/BoardConfig.mk +++ b/shiba/BoardConfig.mk @@ -20,6 +20,7 @@ TARGET_SCREEN_DENSITY := 420 BOARD_USES_GENERIC_AUDIO := true USES_DEVICE_GOOGLE_SHUSKY := true BOARD_KERNEL_CMDLINE += swiotlb=noforce +BOARD_KERNEL_CMDLINE += disable_dma32=on include device/google/zuma/BoardConfig-common.mk -include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk