Re: [TEST PATCH v1] driver: core: Make fw_devlink=on more forgiving

From: Marek Szyprowski
Date: Thu Jan 21 2021 - 05:37:58 EST


Hi Saravana,

On 21.01.2021 09:22, Saravana Kannan wrote:
> This patch is for test purposes only and pretty experimental. Code might
> not be optimized, clean, formatted properly, etc.
>
> Please review it only for functional bugs like locking bugs, wrong
> logic, etc.
>
> It's basically trying to figure out which devices will never probe and
> ignore them. Might not always work.
>
> Marek, Geert, Marc,
>
> Can you please try this patch INSTEAD of the other workarounds we found?

I've checked the latest linux-next with this patch and commit
c09a3e6c97f0 ("soc: samsung: pm_domains: Convert to regular platform
driver") reverted. Sadly it doesn't help. All devices that belongs to
the Exynos power domains are not probed at all ("supplier
10023cXX.power-domain not ready").

> Jon, Michael,
>
> I'm explicitly not including you in the "To" because this patch won't
> work for your issues.
>
> Cc: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Cc: Marc Zyngier <maz@xxxxxxxxxx>
> Signed-off-by: Saravana Kannan <saravanak@xxxxxxxxxx>
> ---
> drivers/base/base.h | 3 ++
> drivers/base/core.c | 117 +++++++++++++++++++++++++++++++++++++++++++-
> drivers/base/dd.c | 24 +++++++++
> 3 files changed, 142 insertions(+), 2 deletions(-)
>
> > [...]

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland