From d134dbd3b67bba97910844d62830643a13eb0a9b Mon Sep 17 00:00:00 2001 From: "Chung-Kai (Michael) Mei" Date: Mon, 5 Jun 2023 02:23:58 +0000 Subject: [PATCH] Revert "Revert^4 "shusky: disable parallel module loading"" This reverts commit d4c206cfcfa9ab8586793c7792daf49aba0cfeab. Reason for revert: exynos_devfreq is fixed by pa/2512847, and add 2 shiba DVT and 1 Husky DVT to reboot 5000 times, only one device hit ramdumpg with reset message "itmon triggering err_tmout from HSI1 PCIE_GEN3_0 to NOCL0_", but according to b/283930792, even without parallely module loading, device still hit this issue. so currently parallel module loading seems to be stable enough. Bug: 285064434 Change-Id: I0356075a60cc0224ac975b401654b424ff4b993e --- husky/BoardConfig.mk | 6 ++++++ ripcurrent/BoardConfig.mk | 6 ++++++ shiba/BoardConfig.mk | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/husky/BoardConfig.mk b/husky/BoardConfig.mk index 205ca79..a88a5c6 100644 --- a/husky/BoardConfig.mk +++ b/husky/BoardConfig.mk @@ -14,6 +14,12 @@ # limitations under the License. # +# Enable load module in parallel +BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true + +# The modules which need to be loaded in sequential +BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 + TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := husky TARGET_SCREEN_DENSITY := 520 diff --git a/ripcurrent/BoardConfig.mk b/ripcurrent/BoardConfig.mk index 1b5c405..9950fca 100644 --- a/ripcurrent/BoardConfig.mk +++ b/ripcurrent/BoardConfig.mk @@ -14,6 +14,12 @@ # limitations under the License. # +# Enable load module in parallel +BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true + +# The modules which need to be loaded in sequential +BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 + TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := ripcurrent TARGET_SCREEN_DENSITY := 440 diff --git a/shiba/BoardConfig.mk b/shiba/BoardConfig.mk index 2acc2a4..92ab17c 100644 --- a/shiba/BoardConfig.mk +++ b/shiba/BoardConfig.mk @@ -14,6 +14,12 @@ # limitations under the License. # +# Enable load module in parallel +BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true + +# The modules which need to be loaded in sequential +BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 + TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := shiba TARGET_SCREEN_DENSITY := 420