android_kernel_xiaomi_sm7250/drivers/pci
Michael Ellerman 032de8e2fe MSI: Give archs the option to free all MSI/Xs at once.
This patch introduces an optional function, arch_teardown_msi_irqs(),
which gives an arch the opportunity to do per-device teardown for
MSI/X. If that's not required, the default version simply calls
arch_teardown_msi_irq() for each msi irq required.

arch_teardown_msi_irqs() is simply passed a pdev, attached to the pdev
is a list of msi_descs, it is up to the arch to free the irq associated
with each of these as appropriate.

For archs that _don't_ implement arch_teardown_msi_irqs(), all msi_descs
with irq == 0 are considered unallocated, and the arch teardown routine
is not called on them.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-05-02 19:02:38 -07:00
..
hotplug PCI: Convert to alloc_pci_dev() 2007-05-02 19:02:37 -07:00
pcie
.gitignore
access.c
bus.c pci: do not mark exported functions as __devinit 2007-05-02 19:02:35 -07:00
hotplug.c
htirq.c
Kconfig msi: introduce ARCH_SUPPORTS_MSI Kconfig option (rev2) 2007-05-02 19:02:37 -07:00
Makefile
msi.c MSI: Give archs the option to free all MSI/Xs at once. 2007-05-02 19:02:38 -07:00
msi.h
pci-acpi.c ACPI: Disable MSI on request of FADT 2007-04-25 01:13:47 -04:00
pci-driver.c PCI: Require vendor and device for new_id 2007-05-02 19:02:35 -07:00
pci-sysfs.c PCI: fix sysfs rom file creation for BIOS ROM shadows 2007-05-02 19:02:35 -07:00
pci.c pci: do not mark exported functions as __devinit 2007-05-02 19:02:35 -07:00
pci.h MSI: Use a list instead of the custom link structure 2007-05-02 19:02:37 -07:00
probe.c MSI: Use a list instead of the custom link structure 2007-05-02 19:02:37 -07:00
proc.c
quirks.c libata/IDE: remove combined mode quirk 2007-04-28 14:15:59 -04:00
remove.c
rom.c
search.c pci: do not mark exported functions as __devinit 2007-05-02 19:02:35 -07:00
setup-bus.c pci: do not mark exported functions as __devinit 2007-05-02 19:02:35 -07:00
setup-irq.c
setup-res.c pci: do not mark exported functions as __devinit 2007-05-02 19:02:35 -07:00
syscall.c