Skip to content

RFC amba: bus: Move reading periphid operation from amba_match() to amba_probe()

Zijun Hu lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20240829-fix_amba-0f09aa1fc3b1

Versions newest first

  1. v1 RFC Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3amba: bus: Warn on adding an AMBA device without valid periphiddrivers/amba/bus.c+3 -00 replies
2/3amba: bus: Move empty @amba_proxy_drv's definition to the frontdrivers/amba/bus.c+36 -360 replies
3/3amba: bus: Move reading periphid operation from amba_match() to amba_probe()drivers/amba/bus.c include/linux/amba/bus.h+33 -231 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/3] amba: bus: Move reading periphid operation from amba_match() to amba_probe()

This patch series is to make amba_match(), as bus_type @amba_bustype's match(), also follow below ideal rule:

bus_type's match() should only return bool type compatible integer 0 or 1 ideally since its main operations are lookup and comparison normally.

Which has been followed by match() of all other bus_types in current kernel tree.

---
Zijun Hu (3):
amba: bus: Warn on adding an AMBA device without valid periphid
amba: bus: Move empty @amba_proxy_drv's definition to the front
amba: bus: Move reading periphid operation from amba_match() to amba_probe()

 drivers/amba/bus.c       | 130 ++++++++++++++++++++++++++---------------------
 include/linux/amba/bus.h |   1 -
 2 files changed, 72 insertions(+), 59 deletions(-)

---
base-commit: 888f67e621dda5c2804a696524e28d0ca4cf0a80
change-id: 20240829-fix_amba-0f09aa1fc3b1

Best regards,

Signature · 1 line
Zijun Hu <[email protected]>