]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
acpi: pci: Setup MSI domain for ACPI based pci devices
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Thu, 10 Dec 2015 16:55:27 +0000 (08:55 -0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 21 Dec 2015 13:49:32 +0000 (13:49 +0000)
commit471036b2b895789c2305428fd879006468e4a758
treeafabc515637003b9b21dd69b105e021533869d56
parent9f9499ae8e6415cefc4fe0a96ad0e27864353c89
acpi: pci: Setup MSI domain for ACPI based pci devices

This patch introduces pci_msi_register_fwnode_provider() for irqchip
to register a callback, to provide a way to determine appropriate MSI
domain for a pci device.

It also introduces pci_host_bridge_acpi_msi_domain(), which returns
the MSI domain of the specified PCI host bridge with DOMAIN_BUS_PCI_MSI
bus token. Then, it is assigned to pci device.

Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rjw@rjwysocki.net>
Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/pci/pci-acpi.c
drivers/pci/probe.c
include/linux/irqdomain.h
include/linux/pci.h