irqchip/genirq/msi: Use irq_domain_alloc_irqs()
Status from this message: The following commit has been merged into the irq/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | irqchip: Use irq_domain_alloc_irqs()drivers/ drivers/ drivers/ +3 more | +14 | 0 replies | |
| 2/2 | genirq/irqdomain/msi: Add irq_domain_alloc_irqs_affinity() wrapperinclude/ kernel/ | +18 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] irqchip/genirq/msi: Use irq_domain_alloc_irqs()
When reworking the irqdomain locking I noticed that we had quite a few users of the __irq_domain_alloc_irqs() interface which was initially only intended for some legacy x86 use cases.
This first patch updates the irqchip driver so that the irq_domain_alloc_irqs() wrapper is instead used consistently.
The second patch adds a matching irq_domain_alloc_irqs_affinity() helper which can be used when an affinity hint needs to be provided and updates the sole user.
With this update to gpiolib:
https://lore.kernel.org/lkml/[email protected]
the only remaining users of the full interface (with preallocated descriptors) are the two original calls in x86/io_apic and the later added one for IPI.
Johan
Johan Hovold (2):
irqchip: Use irq_domain_alloc_irqs() genirq/irqdomain/msi: Add irq_domain_alloc_irqs_affinity() wrapper
drivers/irqchip/irq-apple-aic.c | 5 ++--- drivers/irqchip/irq-armada-370-xp.c | 4 ++-- drivers/irqchip/irq-bcm2836.c | 6 ++---- drivers/irqchip/irq-gic-v3.c | 5 ++--- drivers/irqchip/irq-gic-v4.c | 10 ++++------ drivers/irqchip/irq-gic.c | 5 ++--- include/linux/irqdomain.h | 15 +++++++++++++++ kernel/irq/msi.c | 6 +++--- 8 files changed, 32 insertions(+), 24 deletions(-)
Signature · 1 line
2.37.4