We noticed that we have mdss gdsc, smmu_mdp_ahb_clk and smmu_mdp_axi_clk turned off at the probe of mmcc-msm8996 driver. So we removed turning off those clocks. The splash screen is now preserved until smmu driver probe. Then, the som is crashing.
Crash Log:
[ 10.548980] calling arm_smmu_driver_init+0x0/0x24 @ 1
[ 10.555523] arm-smmu da0000.arm,smmu: probing hardware configuration…
[ 10.560003] arm-smmu da0000.arm,smmu: SMMUv2 with:
[ 10.566524] arm-smmu da0000.arm,smmu: stage 1 translation
[ 10.571353] arm-smmu da0000.arm,smmu: address translation ops
[ 10.576807] arm-smmu da0000.arm,smmu: non-coherent table walk
[ 10.582641] arm-smmu da0000.arm,smmu: (IDR0.CTTW overridden by FW configuration)
[ 10.588445] arm-smmu da0000.arm,smmu: stream matching with 4 register groups
[ 10.596056] arm-smmu da0000.arm,smmu: 2 context banks (0 stage-2 only)
[ 10.603142] arm-smmu da0000.arm,smmu: Supported page sizes: 0x63315000
[ 10.609571] arm-smmu da0000.arm,smmu: Stage-1: 32-bit VA → 36-bit IPA
[ 10.617842] arm-smmu d00000.arm,smmu: probing hardware configuration…
[ 10.622751] arm-smmu d00000.arm,smmu: SMMUv2 with:
[ 10.629364] arm-smmu d00000.arm,smmu: stage 1 translation
[ 10.634186] arm-smmu d00000.arm,smmu: address translation ops
[ 10.639653] arm-smmu d00000.arm,smmu: non-coherent table walk
[ 10.645471] arm-smmu d00000.arm,smmu: (IDR0.CTTW overridden by FW configuration)
[ 10.651290] arm-smmu d00000.arm,smmu: stream matching with 2 register groups
[ 10.658865] arm-smmu d00000.arm,smmu: 2 context banks (0 stage-2 only)
[ 10.665996] arm-smmu d00000.arm,smmu: Supported page sizes: 0x63315000
[ 10.672375] arm-smmu d00000.arm,smmu: Stage-1: 32-bit VA → 36-bit IPA
[ 10.681213] arm-smmu 1600000.arm,smmu-lpass_q6: probing hardware configuration…
[ 10.685701] arm-smmu 1600000.arm,smmu-lpass_q6: SMMUv2 with:
[ 10.693331] arm-smmu 1600000.arm,smmu-lpass_q6: stage 1 translation
[ 10.698936] arm-smmu 1600000.arm,smmu-lpass_q6: address translation ops
[ 10.705294] arm-smmu 1600000.arm,smmu-lpass_q6: non-coherent table walk
[ 10.711957] arm-smmu 1600000.arm,smmu-lpass_q6: (IDR0.CTTW overridden by FW configuration)
[ 10.718659] arm-smmu 1600000.arm,smmu-lpass_q6: stream matching with 15 register groups
[ 10.726756] arm-smmu 1600000.arm,smmu-lpass_q6: 12 context banks (0 stage-2 only)
[ 10.735094] arm-smmu 1600000.arm,smmu-lpass_q6: Supported page sizes: 0x63315000
[ 10.742429] arm-smmu 1600000.arm,smmu-lpass_q6: Stage-1: 36-bit VA → 36-bit IPA
[ 10.754720] arm-smmu d40000.arm,smmu-venus: probing hardware configuration…
[ 10.757541] arm-smmu d40000.arm,smmu-venus: SMMUv2 with:
[ 10.764689] arm-smmu d40000.arm,smmu-venus: stage 1 translation
[ 10.769943] arm-smmu d40000.arm,smmu-venus: address translation ops
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.XF.1.0-00331-M8996LZB-1
S - IMAGE_VARIANT_STRING=M8996LAB
S - OEM_IMAGE_VERSION_STRING=jenkins
S - Boot Interface: UFS
S - Secure Boot: Off
S - Boot Config @ 0x00076044 = 0x000001c9
S - JTAG ID @ 0x000760f4 = 0x100640e1
S - OEM ID @ 0x000760f8 = 0x00000000
S - Serial Number @ 0x00074138 = 0x8bd89cf1
S - OEM Config Row 0 @ 0x00074188 = 0x0000000000000000
S - OEM Config Row 1 @ 0x00074190 = 0x0000000000000000
S - Feature Config Row 0 @ 0x000741a0 = 0x0050000010000100
S - Feature Config Row 1 @ 0x000741a8 = 0x00fff00001ffffff
S - Core 0 Frequency, 1228 MHz
B - 0 - PBL, Start
B - 10411 - bootable_media_detect_entry, Start
B - 47073 - bootable_media_detect_success, Start
B - 47074 - elf_loader_entry, Start
B - 48091 - auth_hash_seg_entry, Start
B - 48192 - auth_hash_seg_exit, Start
B - 80089 - elf_segs_hash_verify_entry, Start
B - 82580 - PBL, End
B - 84576 - SBL1, Start
B - 181078 - usb: hs_phy_nondrive_start
B - 181414 - usb: PLL lock success - 0x3
B - 184403 - usb: hs_phy_nondrive_finish
B - 188551 - boot_flash_init, Start
D - 30 - boot_flash_init, Delta
B - 195627 - sbl1_ddr_set_default_params, Start
D - 0 - sbl1_ddr_set_default_params, Delta
B - 203618 - boot_config_data_table_init, Start
D - 95068 - boot_config_data_table_init, Delta - (60 Bytes)
B - 303231 - CDT Version:3,Platform ID:10,Major ID:1,Minor ID:0,Subtype:28
B - 307989 - Image Load, Start
D - 22265 - PMIC Image Loaded, Delta - (37464 Bytes)
B - 330254 - pm_device_init, Start
B - 336018 - PON REASON:PM0:0x20020 PM1:0x20020
B - 372496 - PM_SET_VAL:Skip
D - 40077 - pm_device_init, Delta
B - 374418 - pm_driver_init, Start
D - 2897 - pm_driver_init, Delta
B - 381006 - pm_sbl_chg_init, Start
D - 91 - pm_sbl_chg_init, Delta
B - 387777 - vsense_init, Start
D - 0 - vsense_init, Delta
B - 395707 - Pre_DDR_clock_init, Start
D - 396 - Pre_DDR_clock_init, Delta
B - 401380 - ddr_initialize_device, Start
B - 405070 - 8996 Pro v1.x detected, Max frequency = 1.8 GHz
B - 412634 - ddr_initialize_device, Delta
B - 415044 - Basic DDR tests done
B - 1977833 - clock_init, Start
D - 244 - clock_init, Delta
B - 1979846 - Image Load, Start
D - 6679 - QSEE Dev Config Image Loaded, Delta - (48160 Bytes)
B - 1986770 - Image Load, Start
D - 5215 - APDP Image Loaded, Delta - (0 Bytes)
B - 2013823 - usb: fedl, vbus_low
B - 2013884 - Image Load, Start
D - 10706 - XBLRamDump Image Loaded, Delta - (342878 Bytes)
B - 2079185 - usb: init start
B - 2080832 - usb: radagast_qusb2phy_tune1_5
B - 2081289 - usb: PLL lock success , 0x2