From 1a68f6d94e46e8b2d50b7ebf78278afc2115ca56 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 5 Oct 2023 18:40:27 -0300 Subject: [PATCH] Disable dump registers when suspend for miami WHAT: Disable the kernel configs related to debug gpio, clock and regulator dumping its values for miami WHY: This is halting penang driver sgm4154x_chg_mmi, because this config will eventually make sgm4154x_chg_mmi call msleep inside an atomic operation (read the registers that CONFIG_DUMP_* is requiring) and since penang has CONFIG_PANIC_ON_SCHED_BUG it will call BUG(), which will panic Change-Id: I8768dd99eafc854c0cd55cd57b51b241798ea64f Reviewed-on: https://gerrit.mot.com/2759524 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Rafael Ortolan Tested-by: Jira Key Reviewed-by: Gilberto Gambugge Neto Submit-Approved: Jira Key --- arch/arm64/configs/vendor/ext_config/debug-holi-miami.config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/configs/vendor/ext_config/debug-holi-miami.config b/arch/arm64/configs/vendor/ext_config/debug-holi-miami.config index f7dfd271a2c2..2d6354f8a3a9 100644 --- a/arch/arm64/configs/vendor/ext_config/debug-holi-miami.config +++ b/arch/arm64/configs/vendor/ext_config/debug-holi-miami.config @@ -25,3 +25,7 @@ # CONFIG_TEST_USER_COPY is not set # CONFIG_CAMERA_FLASH_PWM is not set # CONFIG_UFSTW is not set +# CONFIG_DUMP_GPIO_ON_SUSPEND is not set +# CONFIG_DUMP_CLK_ON_SUSPEND is not set +# CONFIG_DUMP_REGULATOR_ON_SUSPEND is not set +