From 024f8629a20f642a47133724a6777e41cb8cdf70 Mon Sep 17 00:00:00 2001 From: Chungkai Mei Date: Thu, 31 Aug 2023 02:40:26 +0000 Subject: [PATCH] Enable load kernel modules in parallel enable load kernel modules in parallel but load some specific modules in sequential Test: flash build P63369786 and reboot more than 1000 times without failure Bug: 229794277 Change-Id: I41cb5a09fb88ff7faa5ec12f71209b35cd941948 Signed-off-by: Chungkai Mei --- akita/BoardConfig.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/akita/BoardConfig.mk b/akita/BoardConfig.mk index eda9adc..b4d4c83 100644 --- a/akita/BoardConfig.mk +++ b/akita/BoardConfig.mk @@ -13,6 +13,15 @@ # See the License for the specific language governing permissions and # 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 +BOARD_KERNEL_CMDLINE += g2d.load_sequential=1 +BOARD_KERNEL_CMDLINE += samsung_iommu_v9.load_sequential=1 + TARGET_BOARD_INFO_FILE := device/google/akita/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := akita TARGET_SCREEN_DENSITY := 420