PCI: turn off PCIe services during shutdown
Subsystems (2)
PATCH 1/1 PCI: turn off PCIe services during shutdown
Some of the PCIe services such as AER are being left enabled during shutdown. This might cause spurious AER errors while SOC is being powered down.
Let's clean up the PCIe services gracefully during shutdown to clear these false positives.
Signed-off-by Sinan Kaya <[email protected]>
--- drivers/pci/pcie/portdrv_pci.c | 1 + 1 file changed, 1 insertion(+)
drivers/pci/pcie/portdrv_pci.c +1 -0
@@ -246,6 +246,7 @@ static void pcie_portdrv_err_resume(struct pci_dev *dev) .probe = pcie_portdrv_probe, .remove = pcie_portdrv_remove, + .shutdown = pcie_portdrv_remove, .err_handler = &pcie_portdrv_err_handler,
Signature · 1 line
1.9.1
Bjorn Helgaas
AppliedQuoted 8 lines · Sinan Kaya
Some of the PCIe services such as AER are being left enabled during shutdown. This might cause spurious AER errors while SOC is being powered down.
Let's clean up the PCIe services gracefully during shutdown to clear these false positives.
Signed-off-by Sinan Kaya <[email protected]>
Applied to pci/portdrv for v4.15, thanks!
Quoted 24 lines
--- drivers/pci/pcie/portdrv_pci.c | 1 + 1 file changed, 1 insertion(+)drivers/pci/pcie/portdrv_pci.c +1
-0@@ -246,6 +246,7 @@ static void pcie_portdrv_err_resume(struct pci_dev *dev) .probe = pcie_portdrv_probe, .remove = pcie_portdrv_remove, + .shutdown = pcie_portdrv_remove, .err_handler = &pcie_portdrv_err_handler,Signature · 7 lines
1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel