From f5ed634ec7b667b3adc0fdc16755eca0b2ed76d7 Mon Sep 17 00:00:00 2001 From: chungkai Date: Tue, 12 Jul 2022 09:54:43 +0000 Subject: [PATCH] Enable load kernel modules in parallel enable load kernel modules in parallel but load some specific modules in sequential Test: reboot more than 5000 times without failure Bug: 229794277 Signed-off-by: chungkai Change-Id: Ic4961389d58b5195d252dff15cbb92bb391caacc --- oriole/BoardConfig.mk | 11 +++++++++++ raven/BoardConfig.mk | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/oriole/BoardConfig.mk b/oriole/BoardConfig.mk index 8360d91..7e95a57 100644 --- a/oriole/BoardConfig.mk +++ b/oriole/BoardConfig.mk @@ -13,6 +13,17 @@ # 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 += vh_sched.load_sequential=1 +BOARD_KERNEL_CMDLINE += exynos_mfc.load_sequential=1 +BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 +BOARD_KERNEL_CMDLINE += pcie-exynos-core.load_sequential=1 +BOARD_KERNEL_CMDLINE += g2d.load_sequential=1 + ifdef AUTOMOTIVE_PRODUCT_PATH #RBC# include_top device/google/auto_tcu #RBC# include_top device/google/pixel_tcu diff --git a/raven/BoardConfig.mk b/raven/BoardConfig.mk index 0247901..e9aaf8f 100644 --- a/raven/BoardConfig.mk +++ b/raven/BoardConfig.mk @@ -14,6 +14,16 @@ # 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 += vh_sched.load_sequential=1 +BOARD_KERNEL_CMDLINE += exynos_mfc.load_sequential=1 +BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 +BOARD_KERNEL_CMDLINE += pcie-exynos-core.load_sequential=1 +BOARD_KERNEL_CMDLINE += g2d.load_sequential=1 + ifdef AUTOMOTIVE_PRODUCT_PATH #RBC# include_top device/google/auto_tcu #RBC# include_top device/google/pixel_tcu