On 13/04/17 05:14, Uma Krishnan wrote:
From: "Matthew R. Ochs" <mrochs@xxxxxxxxxxxxxxxxxx> An EEH during probe can lead to a crash as the recovery thread races with the probe thread. To avoid this issue, introduce new states to fence out EEH recovery until probe has completed. Also ensure the reset wait queue is flushed during device removal to avoid orphaned threads. Signed-off-by: Matthew R. Ochs <mrochs@xxxxxxxxxxxxxxxxxx> Signed-off-by: Uma Krishnan <ukrishn@xxxxxxxxxxxxxxxxxx>
The use of the term "fence" in the commit message might be a bit confusing given how the term is already used in the context of EEH :)
Andrew -- Andrew Donnellan OzLabs, ADL Canberra andrew.donnellan@xxxxxxxxxxx IBM Australia Limited