aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-08-20 09:41:51 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-24 00:46:11 -0400
commitcffb9be80f8a6d51d025780864c781ba83541720 (patch)
tree46241acbb049df4d65082b4665ee67044c909c72 /drivers/usb/host/xhci.h
parentf85c9fb62c59b78a1169b269f4ca697b1e06ee98 (diff)
xhci: Log extra info on "ERROR Transfer event TRB DMA ptr not part of current TD"
Lately (with the use of uas / bulk-streams) we have been seeing several cases where this error triggers (which should never happen). Add some extra logging to make debugging these errors easier. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r--drivers/usb/host/xhci.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index f4d12f6fcfe8..276fd8efd171 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1804,9 +1804,9 @@ void xhci_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev);
1804 1804
1805/* xHCI ring, segment, TRB, and TD functions */ 1805/* xHCI ring, segment, TRB, and TD functions */
1806dma_addr_t xhci_trb_virt_to_dma(struct xhci_segment *seg, union xhci_trb *trb); 1806dma_addr_t xhci_trb_virt_to_dma(struct xhci_segment *seg, union xhci_trb *trb);
1807struct xhci_segment *trb_in_td(struct xhci_segment *start_seg, 1807struct xhci_segment *trb_in_td(struct xhci_hcd *xhci,
1808 union xhci_trb *start_trb, union xhci_trb *end_trb, 1808 struct xhci_segment *start_seg, union xhci_trb *start_trb,
1809 dma_addr_t suspect_dma); 1809 union xhci_trb *end_trb, dma_addr_t suspect_dma, bool debug);
1810int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code); 1810int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code);
1811void xhci_ring_cmd_db(struct xhci_hcd *xhci); 1811void xhci_ring_cmd_db(struct xhci_hcd *xhci);
1812int xhci_queue_slot_control(struct xhci_hcd *xhci, struct xhci_command *cmd, 1812int xhci_queue_slot_control(struct xhci_hcd *xhci, struct xhci_command *cmd,