]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI/DPC: Skip DPC event if device is not present
authorKeith Busch <keith.busch@intel.com>
Fri, 28 Apr 2017 16:02:48 +0000 (12:02 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 22 May 2017 23:42:02 +0000 (18:42 -0500)
commit993d668183fa49b63939a4f62a558d487fd50c22
tree7cd6063f0953d50912fc4ef214e30dbcff46260d
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
PCI/DPC: Skip DPC event if device is not present

The DPC interupt may be executed on a device that is being removed.  Skip
queuing event handling if the status is all 1's, which should be seen only
if the device is not present.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/pcie-dpc.c