b0b23bcbfd
During ufs probe, the phy drvdata is read to get the phy version information. But in some rare cases, the ufs driver tries to read it before the phy parameters are fully initialized, which causes kernel panic. So, defer the ufs probe if phy drvdata is not fully initialized. Call trace: ufs_qcom_phy_save_controller_version+0x4/0x18 [phy_qcom_ufs] ufshcd_variant_hba_init+0x40/0x98 ufshcd_init+0x388/0xc64 ufshcd_pltfrm_init+0x324/0x42c ufs_qcom_probe+0x108/0x248 [ufs_qcom] platform_probe+0xc0/0xec really_probe+0x190/0x384 __driver_probe_device+0xa0/0x12c driver_probe_device+0x44/0x210 __driver_attach+0x108/0x1d4 bus_for_each_dev+0x98/0xe8 driver_attach+0x24/0x34 bus_add_driver+0x10c/0x1fc driver_register+0x78/0x118 __platform_driver_register+0x24/0x34 init_module+0x20/0xfe4 [ufs_qcom] do_one_initcall+0xdc/0x314 do_init_module+0x48/0x1dc load_module+0x1348/0x152c __arm64_sys_finit_module+0xc0/0x110 invoke_syscall+0x58/0x11c el0_svc_common+0xb4/0xf4 do_el0_svc+0x2c/0xb0 el0_svc+0x2c/0xa4 el0t_64_sync_handler+0x68/0xb4 el0t_64_sync+0x1a4/0x1a8 ---[ end trace 0000000000000000 ]---. Change-Id: Ia5783cdfed68d54a38340ca2234b6273c43b2b06 Signed-off-by: Ram Kumar Dwivedi <quic_rdwivedi@quicinc.com> |
||
---|---|---|
.. | ||
tegra | ||
omap_control_phy.h | ||
omap_usb.h | ||
pcie.h | ||
phy-dp.h | ||
phy-lvds.h | ||
phy-mipi-dphy.h | ||
phy-qcom-ufs.h | ||
phy-sun4i-usb.h | ||
phy.h | ||
ulpi_phy.h |