Re: [PATCH v4 0/2] Fix simple-bus issues with fw_devlink

From
Tony Lindgren <tony@atomide.com>
Date
2021-10-06 05:29:13
Also in
linux-arm-kernel, linux-omap, linux-renesas-soc, lkml
Reply to
Saravana Kannan, 2021-09-29
* Saravana Kannan [off-list ref] [210929 03:08]:
Ulf reported an issue[1] with fw_devlink. This series tries to fix that
issue.

I replicated a similar set up on my end and I confirmed:
- A simple-bus only device is probed.
- Another device listing simple-bus as a 2nd compatible string isn't
  probed.

v1->v2:
- Switched to probing the simple-bus device instead of marking it as
  NEVER_PROBES.

v2->v3:
- Moved all the code into the simple-pm-bus driver
- Addressed Ulf's comment about the remove() code missing a check.

v3->v4:
- Added support for driver_override to accommodate the case where new
  transparent bus compatible strings are added to DT, but the kernel hasn't
  been updated yet.
- Added/updated comments to give more details.
- Adding Ulf's Tested-by that he have for v3 (v4 didn't change by much).
Works for me:

Tested-by: Tony Lindgren <tony@atomide.com>

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
Thread (25 messages) 25 messages, 8 authors, last reply 2022-02-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help