genirq/msi: Populate the domain name if provided by the irqchip
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 12 May 2017 11:55:37 +0000 (12:55 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 22 May 2017 20:29:45 +0000 (22:29 +0200)
commita97b852b4d4c2f8c50cab13c71566639f9a1a990
tree845d67c950ac7a0ef317bb07d2c2a2159f020421
parent2370c00dc7232d0c4af224e7730b4de031f3b1a0
genirq/msi: Populate the domain name if provided by the irqchip

In order to ease debug, let's populate the domain name upfront, before any
MSI gets requested. This allows the domain to appear in the
irq_domain_mapping, and the user to easily find the expected data.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link: http://lkml.kernel.org/r/20170512115538.10767-4-marc.zyngier@arm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/msi.c