lkml.org 
[lkml]   [2016]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] irqdomain fixes for 4.5-rc1
Date
This short series addresses a couple of shortcomings of the irqdomain
subsystem:

(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:

http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/395429.html

Thanks,

M.

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(-)

--
2.1.4

\
 
 \ /
  Last update: 2016-01-26 15:21    [W:0.062 / U:1.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site