From b32dfa318617bc71d289b536d5cc3787924b9433 Mon Sep 17 00:00:00 2001 From: Jack Lee Date: Thu, 2 Feb 2023 08:03:12 +0000 Subject: [PATCH] Disable swiotlb for shiba and husky Same as p22, we would like to disable swiotlb for shiba and husky. Currently the swiotlb=noforce config is set in device tree, moving to userspace would make the build process more flexible. Bug: 263178695 Test: After adding noforce, /d/swiotlb/ is empty Change-Id: I6505bfe8b465a0b2bcc6f39d1abaefe305bdc31f Signed-off-by: Jack Lee --- husky/BoardConfig.mk | 1 + shiba/BoardConfig.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/husky/BoardConfig.mk b/husky/BoardConfig.mk index b1786be..7983ffc 100644 --- a/husky/BoardConfig.mk +++ b/husky/BoardConfig.mk @@ -26,6 +26,7 @@ TARGET_BOOTLOADER_BOARD_NAME := husky TARGET_SCREEN_DENSITY := 450 BOARD_USES_GENERIC_AUDIO := true USES_DEVICE_GOOGLE_SHUSKY := true +BOARD_KERNEL_CMDLINE += swiotlb=noforce 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 0b6b3e8..847e1b8 100644 --- a/shiba/BoardConfig.mk +++ b/shiba/BoardConfig.mk @@ -26,6 +26,7 @@ TARGET_BOOTLOADER_BOARD_NAME := shiba TARGET_SCREEN_DENSITY := 420 BOARD_USES_GENERIC_AUDIO := true USES_DEVICE_GOOGLE_SHUSKY := true +BOARD_KERNEL_CMDLINE += swiotlb=noforce include device/google/zuma/BoardConfig-common.mk -include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk