From d3831ec2bae9883847c9e46d95b4add0c2303c93 Mon Sep 17 00:00:00 2001 From: chungkai Date: Tue, 12 Jul 2022 09:45:16 +0000 Subject: [PATCH] Enable load kernel modules in parallel enable load kernel modules in parallel but load some specific modules in sequential Test: rebooted more than 1000 times without failure and device_boot_health_check_extra also passed Bug: 229794277 Signed-off-by: chungkai Change-Id: Ic4961389d58b5195d252dff15cbb92bb391caacc --- lynx/BoardConfig.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lynx/BoardConfig.mk b/lynx/BoardConfig.mk index 616a01a..f14d498 100644 --- a/lynx/BoardConfig.mk +++ b/lynx/BoardConfig.mk @@ -19,6 +19,13 @@ TARGET_SCREEN_DENSITY := 420 BOARD_USES_GENERIC_AUDIO := true USES_DEVICE_GOOGLE_LYNX := true +# Enable load module in parallel +BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true + +# The modules which need to be loaded in sequential +BOARD_KERNEL_CMDLINE += vh_sched.load_sequential=1 +BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 + include device/google/gs201/BoardConfig-common.mk -include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk -include vendor/google_devices/lynx/proprietary/BoardConfigVendor.mk