Skip to content

refactor command timeout handling

Lu Baolu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4usb: xhci: remove unnecessary second abort trydrivers/usb/host/xhci-ring.c+5 -130 replies
2/4usb: xhci: remove CRR polling in xhci_abort_cmd_ring()drivers/usb/host/xhci-ring.c+24 -250 replies
3/4usb: xhci: add XHCI_MISS_CA_EVENT quirk bitdrivers/usb/host/xhci-ring.c drivers/usb/host/xhci.h+11 -120 replies
4/4usb: xhci: warn on command timeout in stopped command ringdrivers/usb/host/xhci-ring.c+6 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] refactor command timeout handling

Hi Mathias,

This patch series is for command timeout refactoring.

Patches
usb: xhci: remove unnecessary second abort try
usb: xhci: remove CRR polling in xhci_abort_cmd_ring()
are follow-ups of your comments of
"remove unnecessary second abort try as a separate patch, send to usb-next"
and
"remove polling for the Command ring running (CRR), waiting for completion is enough, if completion times out then we can check CRR. for usb-next"
in below discussion thread.
https://lkml.org/lkml/2016/12/21/186

Patches
usb: xhci: add XHCI_MISS_CA_EVENT quirk bit
usb: xhci: warn on command timeout in stopped command ring
are my proposals.

They base on the top of your timeout_race_fixes branch.

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

Lu Baolu (4):
usb: xhci: remove unnecessary second abort try
usb: xhci: remove CRR polling in xhci_abort_cmd_ring()
usb: xhci: add XHCI_MISS_CA_EVENT quirk bit
usb: xhci: warn on command timeout in stopped command ring

 drivers/usb/host/xhci-ring.c | 64 ++++++++++++++++++--------------------------
 drivers/usb/host/xhci.h      |  6 +++++
 2 files changed, 32 insertions(+), 38 deletions(-)
Signature · 1 line
2.1.4