[PATCH 4/6] soc: qcom: pmic_glink: Fix boot when QRTR=m

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Thu Feb 22 21:10:48 UTC 2024


On Sat, 17 Feb 2024 at 17:03, Johan Hovold <johan+linaro at kernel.org> wrote:
>
> From: Rob Clark <robdclark at chromium.org>
>
> 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 fbc35b45f9f6 ("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.
>
> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> Signed-off-by: Rob Clark <robdclark at 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: 58ef4ece1e41 ("soc: qcom: pmic_glink: Introduce base PMIC GLINK driver")
> Cc: stable at vger.kernel.org      # 6.3
> Cc: Bjorn Andersson <andersson at kernel.org>
> Signed-off-by: Johan Hovold <johan+linaro at kernel.org>
> ---
>  drivers/soc/qcom/pmic_glink.c | 21 +++++++++++----------
>  1 file changed, 11 insertions(+), 10 deletions(-)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>

-- 
With best wishes
Dmitry


More information about the Freedreno mailing list