From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Subject: Re: [PATCH v3 1/3] xhci: Log ep-index and comp-code on TRB DMA ptr not part of current TD Date: Mon, 14 Jul 2014 14:36:38 +0200 Message-ID: <53C3CED6.3080805@redhat.com> References: <1405341351-32679-1-git-send-email-hdegoede@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:46634 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754456AbaGNMgr (ORCPT ); Mon, 14 Jul 2014 08:36:47 -0400 In-Reply-To: <1405341351-32679-1-git-send-email-hdegoede@redhat.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" , Aaron Lu Cc: Zhang Rui , Len Brown , linux-acpi@vger.kernel.org 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 > --- > 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; > } > >