[PATCH 0/1] xhci: Fix race related to abort operation

From: Lu Baolu
Date: Fri Dec 23 2016 - 01:50:38 EST


Hi Mathias,

This is a follow-up patch for below comment

"rebase OGAWA Hirofumi's changes on top of that, and send to usb-linus only"

in below discussion thread.

https://lkml.org/lkml/2016/12/21/186

I rebased the patch and added unlock-before and lock-after xhci->lock during
waiting for the command stopped event.

It sits at the same place in your timeout_race_fixes branch.

(git://git.kernel.org/pub/scm/linux/kernel/git/mnyman/xhci.git timeout_race_fixes)

Best regards,
Lu Baolu

OGAWA Hirofumi (1):
xhci: Fix race related to abort operation

drivers/usb/host/xhci-mem.c | 1 +
drivers/usb/host/xhci-ring.c | 171 ++++++++++++++++++++++---------------------
drivers/usb/host/xhci.h | 1 +
3 files changed, 91 insertions(+), 82 deletions(-)

--
2.1.4