kernel_optimize_test/drivers/pci/pcie
Rafael J. Wysocki f118c0c3cf PCI: PCIe portdrv: Do not enable port device before setting up interrupts
The PCI Express port driver calls pci_enable_device() before setting
up interrupts, which is wrong, because if there is an interrupt pin
configured for the port, pci_enable_device() will likely set up an
interrupt link for it.  However, this shouldn't be done if either
MSI or MSI-X interrupt mode is chosen for the port.

The solution is to call pci_enable_device() after setting up
interrupts, because in that case the interrupt link won't be set up
if MSI or MSI-X are enabled.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-03-19 19:29:22 -07:00
..
aer PCIe: AER: during disable, check subordinate before walking 2009-03-12 15:09:51 -04:00
aspm.c PCI: properly clean up ASPM link state on device remove 2009-02-04 16:58:40 -08:00
Kconfig PCI Express ASPM support should default to 'No' 2008-04-23 15:41:14 -07:00
Makefile PCI: add PCI Express ASPM support 2008-04-20 21:47:03 -07:00
portdrv_bus.c PCI: PCIe portdrv: Rearrange code so that related things are together 2009-01-07 11:13:27 -08:00
portdrv_core.c PCI: PCIe portdrv: Do not enable port device before setting up interrupts 2009-03-19 19:29:22 -07:00
portdrv_pci.c PCI: PCIe portdrv: Do not enable port device before setting up interrupts 2009-03-19 19:29:22 -07:00
portdrv.h PCI: PCIe portdrv: Use driver data to simplify code 2009-03-19 19:29:20 -07:00