projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b62a31b
)
xhci: add TSP bitflag to TRB tracing
author
Mathias Nyman
<mathias.nyman@linux.intel.com>
Fri, 30 Aug 2019 13:39:15 +0000
(16:39 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 3 Sep 2019 13:49:11 +0000
(15:49 +0200)
Software can set a Transfer State Preserve (TSP) flag to maintain
data toggle and sequence number when issuing a reset endpoint
command.
xhci driver is using TSP for soft retry, we want to show TSP usage
in tracing as well
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link:
https://lore.kernel.org/r/1567172356-12915-4-git-send-email-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.h
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci.h
b/drivers/usb/host/xhci.h
index
f5c4144
..
f9f8862
100644
(file)
--- a/
drivers/usb/host/xhci.h
+++ b/
drivers/usb/host/xhci.h
@@
-2337,12
+2337,13
@@
static inline const char *xhci_decode_trb(u32 field0, u32 field1, u32 field2,
break;
case TRB_RESET_EP:
sprintf(str,
- "%s: ctx %08x%08x slot %d ep %d flags %c",
+ "%s: ctx %08x%08x slot %d ep %d flags %c
:%c
",
xhci_trb_type_string(type),
field1, field0,
TRB_TO_SLOT_ID(field3),
/* Macro decrements 1, maybe it shouldn't?!? */
TRB_TO_EP_INDEX(field3) + 1,
+ field3 & TRB_TSP ? 'T' : 't',
field3 & TRB_CYCLE ? 'C' : 'c');
break;
case TRB_STOP_RING: