* [PATCH v3 1/3] xhci: Log ep-index and comp-code on TRB DMA ptr not part of current TD
@ 2014-07-14 12:35 Hans de Goede
2014-07-14 12:36 ` Hans de Goede
0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2014-07-14 12:35 UTC (permalink / raw)
To: Rafael J. Wysocki, Aaron Lu
Cc: Zhang Rui, Len Brown, linux-acpi, Hans de Goede
These errors should never happen, so lets add some extra info when they happen
to make figuring out what is going on easier.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
drivers/usb/host/xhci-ring.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index 749fc68..5542dfe 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -2504,7 +2504,9 @@ static int handle_tx_event(struct xhci_hcd *xhci,
/* HC is busted, give up! */
xhci_err(xhci,
"ERROR Transfer event TRB DMA ptr not "
- "part of current TD\n");
+ "part of current TD ep_index %d "
+ "comp_code %u\n", ep_index,
+ trb_comp_code);
return -ESHUTDOWN;
}
--
2.0.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v3 1/3] xhci: Log ep-index and comp-code on TRB DMA ptr not part of current TD
2014-07-14 12:35 [PATCH v3 1/3] xhci: Log ep-index and comp-code on TRB DMA ptr not part of current TD Hans de Goede
@ 2014-07-14 12:36 ` Hans de Goede
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2014-07-14 12:36 UTC (permalink / raw)
To: Rafael J. Wysocki, Aaron Lu; +Cc: Zhang Rui, Len Brown, linux-acpi
I did not intend to send this patch to you all, sorry, please ignore.
On 07/14/2014 02:35 PM, Hans de Goede wrote:
> These errors should never happen, so lets add some extra info when they happen
> to make figuring out what is going on easier.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
> drivers/usb/host/xhci-ring.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
> index 749fc68..5542dfe 100644
> --- a/drivers/usb/host/xhci-ring.c
> +++ b/drivers/usb/host/xhci-ring.c
> @@ -2504,7 +2504,9 @@ static int handle_tx_event(struct xhci_hcd *xhci,
> /* HC is busted, give up! */
> xhci_err(xhci,
> "ERROR Transfer event TRB DMA ptr not "
> - "part of current TD\n");
> + "part of current TD ep_index %d "
> + "comp_code %u\n", ep_index,
> + trb_comp_code);
> return -ESHUTDOWN;
> }
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-14 12:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14 12:35 [PATCH v3 1/3] xhci: Log ep-index and comp-code on TRB DMA ptr not part of current TD Hans de Goede
2014-07-14 12:36 ` Hans de Goede
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).