irqdomain: Let irq_domain_mapping display ACPI fwnode attributes
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 12 May 2017 11:55:36 +0000 (12:55 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 22 May 2017 20:29:44 +0000 (22:29 +0200)
commit2370c00dc7232d0c4af224e7730b4de031f3b1a0
tree153759e63e9280167c98d038b90f37cf59993362
parentfe17a42e704a64477b15bb2cf8366fe3e5119aff
irqdomain: Let irq_domain_mapping display ACPI fwnode attributes

If the system is using ACPI, there is no of_node to display. But ACPI can
use a struct irqchip_fwid as a domain identifier, and it can be used to
display the name contained in that structure.

The output on such a system will look like this:

 pMSI      0           0           0  irqchip@00000000e1180000
 MSI      37           0           0  irqchip@00000000e1180000
 GICv2m   37           0           0  irqchip@00000000e1180000
 GICv2   448         448           0  irqchip@ffff000008003000

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