Skip to content

irqchip: Hybrid probing

Marc Zyngier linux-arm-kernel linux-arm-msm linux-devicetree linux-gpio linux-iommu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6of: Add basic infrastructure to create early probe arraysinclude/linux/of.h+15 -02 replies
2/6irqchip: Make IRQCHIP_MATCH() type safeinclude/linux/irqchip.h+1 -11 reply
3/6irqchip: Introduce IRQCHIP_HYBRID_DRIVER_{BEGIN,END} macrosinclude/linux/irqchip.h+12 -01 reply
4/6irqchip/mtk-cirq: Allow modular builddrivers/irqchip/irq-mtk-cirq.c+3 -12 replies
5/6irqchip/mtk-sysirq: Allow modular builddrivers/irqchip/irq-mtk-sysirq.c+3 -12 replies
6/6irqchip/qcom-pdc: Allow modular builddrivers/irqchip/qcom-pdc.c+3 -14 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchBjorn AnderssonJohn StultzGreg Kroah-HartmanEnric Balletbo i Serra
SeriesT-b
1/6R-b
2/6R-b
3/6R-b
4/6R-b T-b
5/6R-b T-b
6/6R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/6] irqchip: Hybrid probing

A recent attempt at converting a couple of interrupt controllers from early probing to standard platform drivers have badly failed, as it became evident that although an interrupt controller can easily probe late, device drivers for the endpoints connected to it are rarely equipped to deal with probe deferral. Changes were swiftly reverted.

However, there is some value in *optionally* enabling this, if only for development purposes, as there is otherwise a "chicken and egg" problem, and a few people (cc'd) are working on a potential solution.

This short series enables the infrastructure for modular building whilst retaining the usual early probing for monolithic build, and introduces it to the three drivers that were previously made to probe as platform drivers.

As I don't have any of the HW, this series is fully untested and I'd welcome some feedback on it.

Thanks,

	M.

Marc Zyngier (6):
of: Add basic infrastructure to create early probe arrays
irqchip: Make IRQCHIP_MATCH() type safe
irqchip: Introduce IRQCHIP_HYBRID_DRIVER_{BEGIN,END} macros irqchip/mtk-cirq: Allow modular build irqchip/mtk-sysirq: Allow modular build irqchip/qcom-pdc: Allow modular build

 drivers/irqchip/irq-mtk-cirq.c   |  4 +++-
 drivers/irqchip/irq-mtk-sysirq.c |  4 +++-
 drivers/irqchip/qcom-pdc.c       |  4 +++-
 include/linux/irqchip.h          | 14 +++++++++++++-
 include/linux/of.h               | 15 +++++++++++++++
 5 files changed, 37 insertions(+), 4 deletions(-)
Signature · 1 line
2.28.0