aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2018-05-08 13:14:34 +0100
committerThomas Gleixner <[email protected]>2018-05-13 15:59:00 +0200
commit6461934371bfc1bfe6b424b197a546b4effd0a32 (patch)
treee7e18a3f40794c65e0dac8bfc8919bff21bb4b94 /lib/mpi
parent8a22a3e1e768c309b718f99bd86f9f25a453e0dc (diff)
irqdomain: Let irq_find_host default to DOMAIN_BUS_WIRED
At the beginning of times, irq_find_host() was simple. Each device node implemented at most one irq domain, and we were happy. Over time, things have become more complex, and we now have nodes implementing a plurality of domains, tagged by "bus_token". Crutially, users of irq_find_host() all expect the most basic domain to be returned, and not any other domain such as a bus-specific MSI domain. So let's change irq_find_host() to first look for a DOMAIN_BUS_WIRED domain, and only if this fails fallback to DOMAIN_BUS_ANY. Note that this is consistent with what irq_create_fwspec_mapping is already doing, see 530cbe100ef7 ("irqdomain: Allow domain lookup with DOMAIN_BUS_WIRED token"). Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Rob Herring <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Srinivas Kandagatla <[email protected]> Cc: Thomas Petazzoni <[email protected]> Cc: Miquel Raynal <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions