linux/drivers/soc/qcom
Rob Clark f79ee78767 soc: qcom: pmic_glink: Fix boot when QRTR=m
We need to bail out before adding/removing devices if we are going to
-EPROBE_DEFER. Otherwise boot can get stuck in a probe deferral loop due
to a long-standing issue in driver core (see commit fbc35b45f9 ("Add
documentation on meaning of -EPROBE_DEFER")).

Deregistering the altmode child device can potentially also trigger bugs
in the DRM bridge implementation, which does not expect bridges to go
away.

[DB: slightly fixed commit message by adding the word 'commit']
Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20231213210644.8702-1-robdclark@gmail.com
[ johan: rebase on 6.8-rc4, amend commit message and mention DRM ]
Fixes: 58ef4ece1e ("soc: qcom: pmic_glink: Introduce base PMIC GLINK driver")
Cc: <stable@vger.kernel.org>      # 6.3
Cc: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240217150228.5788-5-johan+linaro@kernel.org
2024-02-23 17:03:52 +02:00
..
apr.c soc: qcom: apr: Add __counted_by for struct apr_rx_buf and use struct_size() 2023-10-16 11:45:17 -07:00
cmd-db.c soc: qcom: Switch to EXPORT_SYMBOL_GPL() 2023-09-27 16:08:38 -07:00
icc-bwmon.c soc: qcom: icc-bwmon: Convert to platform remove callback returning void 2023-10-02 11:30:00 -07:00
ice.c soc: qcom: Explicitly include correct DT includes 2023-07-14 14:05:06 -07:00
Kconfig drm-next for 6.8: 2024-01-12 11:32:19 -08:00
kryo-l2-accessors.c soc: qcom: Switch to EXPORT_SYMBOL_GPL() 2023-09-27 16:08:38 -07:00
llcc-qcom.c soc: qcom: llcc: Fix LLCC_TRP_ATTR2_CFGn offset 2023-12-18 21:29:23 -06:00
Makefile soc: qcom: pmic_pdcharger_ulog: Search current directory for headers 2023-12-15 23:17:27 -06:00
mdt_loader.c soc: qcom: mdt_loader: Fix split image detection 2023-06-13 10:13:01 -07:00
ocmem.c soc: qcom: ocmem: Convert to platform remove callback returning void 2023-10-02 11:30:10 -07:00
pdr_interface.c soc: qcom: Switch to EXPORT_SYMBOL_GPL() 2023-09-27 16:08:38 -07:00
pdr_internal.h soc: qcom: pdr: Make QMI message rules const 2022-10-17 13:19:40 -05:00
pmic_glink_altmode.c soc: qcom: pmic_glink_altmode: fix drm bridge use-after-free 2024-02-23 17:03:46 +02:00
pmic_glink.c soc: qcom: pmic_glink: Fix boot when QRTR=m 2024-02-23 17:03:52 +02:00
pmic_pdcharger_ulog.c soc: qcom: pmic_pdcharger_ulog: Fix hypothetical ulog request message endianess 2023-12-15 23:17:27 -06:00
pmic_pdcharger_ulog.h soc: qcom: pmic_pdcharger_ulog: Move TRACE_SYSTEM out of #if protection 2023-12-15 23:17:27 -06:00
qcom_aoss.c soc: qcom: qcom_aoss: Convert to platform remove callback returning void 2023-10-02 11:30:16 -07:00
qcom_gsbi.c soc: qcom: qcom_gsbi: Convert to platform remove callback returning void 2023-10-02 11:30:19 -07:00
qcom_stats.c Revert "soc: qcom: stats: Add DDR sleep stats" 2023-12-15 22:22:36 -06:00
qcom-geni-se.c soc: qcom: Switch to EXPORT_SYMBOL_GPL() 2023-09-27 16:08:38 -07:00
qmi_encdec.c soc: qcom: Switch to EXPORT_SYMBOL_GPL() 2023-09-27 16:08:38 -07:00
qmi_interface.c soc: qcom: Switch to EXPORT_SYMBOL_GPL() 2023-09-27 16:08:38 -07:00
ramp_controller.c ARM: SoC drivers for 6.5 2023-06-29 15:22:19 -07:00
rmtfs_mem.c soc: qcom: rmtfs_mem: Convert to platform remove callback returning void 2023-10-02 11:30:26 -07:00
rpm_master_stats.c soc: qcom: Fix a IS_ERR() vs NULL bug in probe 2023-06-13 11:57:26 -07:00
rpm-proc.c soc: qcom: Add RPM processor/subsystem driver 2023-07-13 22:18:57 -07:00
rpmh-internal.h soc: qcom: rpmh-rsc: Avoid unnecessary checks on irq-done response 2022-12-05 15:12:17 -06:00
rpmh-rsc.c soc: qcom: rpmh-rsc: Include state in trace event 2023-07-09 21:18:35 -07:00
rpmh.c soc: qcom: Switch to EXPORT_SYMBOL_GPL() 2023-09-27 16:08:38 -07:00
smd-rpm.c soc: qcom: Switch to EXPORT_SYMBOL_GPL() 2023-09-27 16:08:38 -07:00
smem_state.c soc: qcom: smem_state: Add refcounting for the 'state->of_node' 2022-08-18 14:13:46 -05:00
smem.c soc: qcom: smem: Convert to platform remove callback returning void 2023-10-02 11:30:28 -07:00
smp2p.c soc: qcom: smp2p: Convert to platform remove callback returning void 2023-10-02 11:30:32 -07:00
smsm.c soc: qcom: smsm: Convert to platform remove callback returning void 2023-10-02 11:30:35 -07:00
socinfo.c soc: qcom: socinfo: Add few DSPs to get their image details 2023-12-15 23:14:19 -06:00
spm.c soc: qcom: Explicitly include correct DT includes 2023-07-14 14:05:06 -07:00
trace-rpmh.h soc: qcom: rpmh-rsc: Include state in trace event 2023-07-09 21:18:35 -07:00
wcnss_ctrl.c soc: qcom: Switch to EXPORT_SYMBOL_GPL() 2023-09-27 16:08:38 -07:00