All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mathias Nyman <mathias.nyman@linux.intel.com>
To: Peter Stuge <peter@stuge.se>
Cc: arekm@maven.pl, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1
Date: Fri, 24 Jul 2015 17:37:44 +0300	[thread overview]
Message-ID: <55B24DB8.4080703@linux.intel.com> (raw)
In-Reply-To: <20150724135332.2022.qmail@stuge.se>

On 24.07.2015 16:53, Peter Stuge wrote:
> Mathias Nyman wrote:
>> +++ b/drivers/usb/host/xhci-ring.c
>> @@ -82,7 +82,7 @@ dma_addr_t xhci_trb_virt_to_dma(struct xhci_segment *seg,
>>                 return 0;
>>         /* offset in TRBs */
>>         segment_offset = trb - seg->trbs;
>> -       if (segment_offset > TRBS_PER_SEGMENT)
>> +       if (segment_offset > TRBS_PER_SEGMENT - 1)
> 
> Maybe change the > comparison to >= rather than add the extra "- 1"?

Yes, sure, I'll change it if this really was the cause.

Just happy to finally find a probable cause after staring at logs and code for some time

-Mathias  

 


  reply	other threads:[~2015-07-24 14:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-18 14:49 xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1 Arkadiusz Miskiewicz
2015-07-20 20:13 ` Arkadiusz Miskiewicz
2015-07-21 14:45   ` Mathias Nyman
2015-07-22 14:12     ` Arkadiusz Miskiewicz
2015-07-24 11:59       ` Mathias Nyman
2015-07-24 13:39         ` Mathias Nyman
2015-07-24 13:53           ` Peter Stuge
2015-07-24 14:37             ` Mathias Nyman [this message]
2015-07-24 15:33           ` Arkadiusz Miskiewicz
2015-08-03 13:12             ` Mathias Nyman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55B24DB8.4080703@linux.intel.com \
    --to=mathias.nyman@linux.intel.com \
    --cc=arekm@maven.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=peter@stuge.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.