summaryrefslogtreecommitdiffstats
path: root/samples/kprobes
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-02-12 16:03:05 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-03 15:07:29 -0800
commit222473f70b2c913445c3173ddcf7bbc5375b93b7 (patch)
tree614f3cb7c6be9b9c1acce98511fc841e226f13d0 /samples/kprobes
parent4aa584e4200f63450b513900ef5a61a8bc04e245 (diff)
downloadtalos-op-linux-222473f70b2c913445c3173ddcf7bbc5375b93b7.tar.gz
talos-op-linux-222473f70b2c913445c3173ddcf7bbc5375b93b7.zip
powerpc/eeh: Fix partial hotplug criterion
commit f6bf0fa14cf848ae770e0b7842c9b11ce2f01645 upstream. During error recovery, the device could be removed as part of the partial hotplug. The criterion used to come with partial hotplug is: if the device driver provides error_detected(), slot_reset() and resume() callbacks, it's immune from hotplug. Otherwise, it's going to experience partial hotplug during EEH recovery. But the criterion isn't correct enough: mlx4_core driver for Mellanox adapters provides error_detected(), slot_reset() callbacks, but resume() isn't there. Those Mellanox adapters won't be to involved in the partial hotplug. This fixes the criterion to a practical one: adpater with driver that provides error_detected(), slot_reset() will be immune from partial hotplug. resume() isn't mandatory. Fixes: f2da4ccf ("powerpc/eeh: More relaxed hotplug criterion") Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/kprobes')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud