pci-hotplug/pnv_php: Add a reset_slot() callback
authorOliver O'Halloran <oohall@gmail.com>
Tue, 3 Sep 2019 10:15:59 +0000 (20:15 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 Sep 2019 04:22:39 +0000 (14:22 +1000)
commit7fd1fe4e4811f52b854647b8ff324745135224a5
tree5e6cebc1c8d834bdacdfc650331189f89e22ae91
parent98fd32cde59ed71c2c9a6da4101e85f50c9425f3
pci-hotplug/pnv_php: Add a reset_slot() callback

When performing EEH recovery of devices in a hotplug slot we need to use
the slot driver's ->reset_slot() callback to prevent spurious hotplug
events due to spurious DLActive and PresDet change interrupts. Add a
reset_slot() callback to pnv_php so we can handle recovery of devices
in pnv_php managed slots.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190903101605.2890-9-oohall@gmail.com
drivers/pci/hotplug/pnv_php.c