[PATCH 0/3] irqdomain fixes for 4.5-rc1

From: Marc Zyngier
Date: Tue Jan 26 2016 - 08:52:40 EST

This short series addresses a couple of shortcomings of the irqdomain

(1) The use of DOMAIN_BUS_ANY for looking up wired interrupts can
result in interesting situations if a given interrupt controller
implements both wired and message interrupts...

(2) Using DOMAIN_BUS_ANY for MSI lookup is completely redundant (it
can never match with any of the existing drivers), and is likely
to fail when we introduce HW similar to what is described in (1).

(3) platform_msi_domain_{alloc,free}_irqs need to be exported so that
drivers using MSIs can be built as modules.

These patches are a pre-requisite for Thomas Petazzoni's work on the
MVEBU interrupt controller, which outlined the above issues:




Marc Zyngier (2):
irqdomain: Allow domain lookup with DOMAIN_BUS_WIRED token
of: MSI: Simplify irqdomain lookup

Thomas Petazzoni (1):
base: Export platform_msi_domain_{alloc,free}_irqs

drivers/base/platform-msi.c | 2 ++
drivers/of/irq.c | 18 +++---------------
include/linux/irqdomain.h | 1 +
kernel/irq/irqdomain.c | 11 ++++++++---
4 files changed, 14 insertions(+), 18 deletions(-)