Thread (4 messages) flat view 4 messages, 3 authors, 2018-03-26

Re: [PATCH] powerpc/eeh: Fix race with driver un/bind

From: Russell Currey <hidden>
Date: 2018-03-25 23:30:13

On Fri, 2018-03-23 at 17:33 +1100, Benjamin Herrenschmidt wrote:
On Fri, 2018-03-23 at 16:44 +1100, Michael Neuling wrote:

 .../...
quoted
This fixes the problem in the same way the generic PCIe AER code
(in
drivers/pci/pcie/aer/aerdrv_core.c) does. It makes the EEH code
hold
the device_lock() before performing the driver EEH callbacks. This
ensures either the callbacks are no longer register, or if they are
registered the driver will not be removed from underneath us.

Signed-off-by: Michael Neuling <redacted>
Generally ok, minor nits though and do we want a CC stable ?
I definitely think this should go to stable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help