linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] amba: Properly handle device probe without IRQ domain
@ 2021-08-27 15:05 Kefeng Wang
  2021-08-27 15:05 ` [PATCH v2 1/4] amba: Drop unused functions about APB/AHB devices add Kefeng Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Kefeng Wang @ 2021-08-27 15:05 UTC (permalink / raw)
  To: linux-kernel, robh+dt, frowand.list, linux, linux-arm-kernel
  Cc: saravanak, linus.walleij, devicetree, Kefeng Wang

Patch 1~3 make some cleanup, and patch 4 use of_irq_get() instead of 
irq_of_parse_and_map() to get irq number, return -EPROBE_DEFER if the irq
domain is not yet created, and move irq obtain into amba_probe, the driver 
defer probe will properly to handle this error.

V2:
- add new patch to kill irq sysfs file, suggested by Rob.
- move irq obtain from amba_device_add() to amba_probe(), suggested by Saravana.
  (As Saravana said, it will use a new mechanism to deal with the defer probe
   when amba device add and drop the amba specific deferring code, see[1])
- add Rob Reviewed-by to patch 1/2, no patch4 due to patch4 is changed

[1] https://lore.kernel.org/lkml/20210304195101.3843496-1-saravanak@google.com/

Kefeng Wang (4):
  amba: Drop unused functions about APB/AHB devices add
  Revert "ARM: amba: make use of -1 IRQs warn"
  amba: Kill sysfs attribute file of irq
  amba: Properly handle device probe without IRQ domain

 drivers/amba/bus.c       | 120 ++++++++++-----------------------------
 drivers/of/platform.c    |   6 +-
 include/linux/amba/bus.h |  18 ------
 3 files changed, 30 insertions(+), 114 deletions(-)

-- 
2.18.0.huawei.25


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-31 20:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-27 15:05 [PATCH v2 0/4] amba: Properly handle device probe without IRQ domain Kefeng Wang
2021-08-27 15:05 ` [PATCH v2 1/4] amba: Drop unused functions about APB/AHB devices add Kefeng Wang
2021-08-27 15:05 ` [PATCH v2 2/4] Revert "ARM: amba: make use of -1 IRQs warn" Kefeng Wang
2021-08-27 15:05 ` [PATCH v2 3/4] amba: Kill sysfs attribute file of irq Kefeng Wang
2021-08-31 20:44   ` Rob Herring
2021-08-27 15:06 ` [PATCH v2 4/4] amba: Properly handle device probe without IRQ domain Kefeng Wang
2021-08-31 20:48   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).