genirq/MSI: Relax msi_domain_alloc() to support parentless MSI irqdomains
authorLiu Jiang <jiang.liu@linux.intel.com>
Tue, 12 Jan 2016 20:18:06 +0000 (13:18 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 14 Jan 2016 19:59:09 +0000 (13:59 -0600)
commitbf6f869f8c111ba265cd199c64b25c646987500a
treedf784b909775f2396870d5a2fb3f86431c85a98b
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4
genirq/MSI: Relax msi_domain_alloc() to support parentless MSI irqdomains

Previously msi_domain_alloc() assumed MSI irqdomains always had parent
irqdomains, but that's not true for the new Intel VMD devices.  Relax
msi_domain_alloc() to support parentless MSI irqdomains.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/msi.c