[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200912125148.1271481-1-maz@kernel.org>
Date: Sat, 12 Sep 2020 13:51:42 +0100
From: Marc Zyngier <maz@...nel.org>
To: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Cc: Enric Balletbo i Serra <enric.balletbo@...labora.com>,
Frank Wunderlich <linux@...web.de>,
John Stultz <john.stultz@...aro.org>,
Saravana Kannan <saravanak@...gle.com>,
Hanks Chen <hanks.chen@...iatek.com>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Thomas Gleixner <tglx@...utronix.de>,
Jason Cooper <jason@...edaemon.net>,
Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>, kernel-team@...roid.com
Subject: [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(-)
--
2.28.0
Powered by blists - more mailing lists