iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* Regression iommu/vt-d bounce buffer
@ 2020-01-06 15:43 Frederik Schwan
  2020-01-10 16:28 ` Joerg Roedel
  0 siblings, 1 reply; 3+ messages in thread
From: Frederik Schwan @ 2020-01-06 15:43 UTC (permalink / raw)
  To: iommu; +Cc: David Woodhouse


[-- Attachment #1.1.1: Type: text/plain, Size: 1399 bytes --]

Hello people,
since the introduction of the bounce buffer, a regression with TB3 devices has been introduced.
USB devices attached to TB3 refuse to work since. Removing the commits that introduced the bounce buffer, fixes the issue.

Commits:
3b53034c268d550d9e8522e613a14ab53b8840d8
c5a5dc4cbbf4540c1891cdb2b70cf469405ea61f
cfb94a372f2d4ee226247447c863f8709863d170
e5e04d051979dbd636a99099b7a595093c50a4bc


An excerpt of the trace:
> [  +0,000005] WARNING: CPU: 10 PID: 0 at drivers/iommu/intel-iommu.c:3916 bounce_unmap_single+0x103/0x110
> [...]
> [  +0,000001] Call Trace:
> [  +0,000002]  <IRQ>
> [  +0,000003]  usb_hcd_unmap_urb_setup_for_dma+0x9f/0xe0
> [  +0,000001]  usb_hcd_unmap_urb_for_dma+0x1c/0x170
> [  +0,000002]  __usb_hcd_giveback_urb+0x36/0x120
> [  +0,000008]  xhci_giveback_urb_in_irq.isra.0+0x72/0x100 [xhci_hcd]
> [  +0,000007]  xhci_td_cleanup+0x101/0x140 [xhci_hcd]
> [  +0,000007]  xhci_irq+0xbf0/0x1db0 [xhci_hcd]
> [  +0,000005]  __handle_irq_event_percpu+0x44/0x1b0
> [  +0,000002]  handle_irq_event_percpu+0x34/0x80
> [  +0,000002]  handle_irq_event+0x37/0x54
> [  +0,000002]  handle_edge_irq+0xae/0x1f0
> [  +0,000002]  do_IRQ+0x84/0x140
> [  +0,000003]  common_interrupt+0xf/0xf
> [  +0,000001]  </IRQ>

Dmesg log and further information have been posted here: https://bugzilla.kernel.org/show_bug.cgi?id=205893

Cheers,
Frederik


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 358 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regression iommu/vt-d bounce buffer
  2020-01-06 15:43 Regression iommu/vt-d bounce buffer Frederik Schwan
@ 2020-01-10 16:28 ` Joerg Roedel
  2020-01-13  2:37   ` Lu Baolu
  0 siblings, 1 reply; 3+ messages in thread
From: Joerg Roedel @ 2020-01-10 16:28 UTC (permalink / raw)
  To: Lu Baolu; +Cc: Frederik Schwan, David Woodhouse, iommu

Hi Baolu,

any ideas here?

On Mon, Jan 06, 2020 at 04:43:05PM +0100, Frederik Schwan wrote:
> Hello people,
> since the introduction of the bounce buffer, a regression with TB3 devices has been introduced.
> USB devices attached to TB3 refuse to work since. Removing the commits that introduced the bounce buffer, fixes the issue.
> 
> Commits:
> 3b53034c268d550d9e8522e613a14ab53b8840d8
> c5a5dc4cbbf4540c1891cdb2b70cf469405ea61f
> cfb94a372f2d4ee226247447c863f8709863d170
> e5e04d051979dbd636a99099b7a595093c50a4bc
> 
> 
> An excerpt of the trace:
> > [  +0,000005] WARNING: CPU: 10 PID: 0 at drivers/iommu/intel-iommu.c:3916 bounce_unmap_single+0x103/0x110
> > [...]
> > [  +0,000001] Call Trace:
> > [  +0,000002]  <IRQ>
> > [  +0,000003]  usb_hcd_unmap_urb_setup_for_dma+0x9f/0xe0
> > [  +0,000001]  usb_hcd_unmap_urb_for_dma+0x1c/0x170
> > [  +0,000002]  __usb_hcd_giveback_urb+0x36/0x120
> > [  +0,000008]  xhci_giveback_urb_in_irq.isra.0+0x72/0x100 [xhci_hcd]
> > [  +0,000007]  xhci_td_cleanup+0x101/0x140 [xhci_hcd]
> > [  +0,000007]  xhci_irq+0xbf0/0x1db0 [xhci_hcd]
> > [  +0,000005]  __handle_irq_event_percpu+0x44/0x1b0
> > [  +0,000002]  handle_irq_event_percpu+0x34/0x80
> > [  +0,000002]  handle_irq_event+0x37/0x54
> > [  +0,000002]  handle_edge_irq+0xae/0x1f0
> > [  +0,000002]  do_IRQ+0x84/0x140
> > [  +0,000003]  common_interrupt+0xf/0xf
> > [  +0,000001]  </IRQ>
> 
> Dmesg log and further information have been posted here: https://bugzilla.kernel.org/show_bug.cgi?id=205893
> 
> Cheers,
> Frederik
> 



_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regression iommu/vt-d bounce buffer
  2020-01-10 16:28 ` Joerg Roedel
@ 2020-01-13  2:37   ` Lu Baolu
  0 siblings, 0 replies; 3+ messages in thread
From: Lu Baolu @ 2020-01-13  2:37 UTC (permalink / raw)
  To: Joerg Roedel; +Cc: Frederik Schwan, David Woodhouse, iommu

Hi Joerg,

On 1/11/20 12:28 AM, Joerg Roedel wrote:
> Hi Baolu,
> 
> any ideas here?

I am looking at this issue.

Best regards,
baolu

> 
> On Mon, Jan 06, 2020 at 04:43:05PM +0100, Frederik Schwan wrote:
>> Hello people,
>> since the introduction of the bounce buffer, a regression with TB3 devices has been introduced.
>> USB devices attached to TB3 refuse to work since. Removing the commits that introduced the bounce buffer, fixes the issue.
>>
>> Commits:
>> 3b53034c268d550d9e8522e613a14ab53b8840d8
>> c5a5dc4cbbf4540c1891cdb2b70cf469405ea61f
>> cfb94a372f2d4ee226247447c863f8709863d170
>> e5e04d051979dbd636a99099b7a595093c50a4bc
>>
>>
>> An excerpt of the trace:
>>> [  +0,000005] WARNING: CPU: 10 PID: 0 at drivers/iommu/intel-iommu.c:3916 bounce_unmap_single+0x103/0x110
>>> [...]
>>> [  +0,000001] Call Trace:
>>> [  +0,000002]  <IRQ>
>>> [  +0,000003]  usb_hcd_unmap_urb_setup_for_dma+0x9f/0xe0
>>> [  +0,000001]  usb_hcd_unmap_urb_for_dma+0x1c/0x170
>>> [  +0,000002]  __usb_hcd_giveback_urb+0x36/0x120
>>> [  +0,000008]  xhci_giveback_urb_in_irq.isra.0+0x72/0x100 [xhci_hcd]
>>> [  +0,000007]  xhci_td_cleanup+0x101/0x140 [xhci_hcd]
>>> [  +0,000007]  xhci_irq+0xbf0/0x1db0 [xhci_hcd]
>>> [  +0,000005]  __handle_irq_event_percpu+0x44/0x1b0
>>> [  +0,000002]  handle_irq_event_percpu+0x34/0x80
>>> [  +0,000002]  handle_irq_event+0x37/0x54
>>> [  +0,000002]  handle_edge_irq+0xae/0x1f0
>>> [  +0,000002]  do_IRQ+0x84/0x140
>>> [  +0,000003]  common_interrupt+0xf/0xf
>>> [  +0,000001]  </IRQ>
>>
>> Dmesg log and further information have been posted here: https://bugzilla.kernel.org/show_bug.cgi?id=205893
>>
>> Cheers,
>> Frederik
>>
> 
> 
> 
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-13  2:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-06 15:43 Regression iommu/vt-d bounce buffer Frederik Schwan
2020-01-10 16:28 ` Joerg Roedel
2020-01-13  2:37   ` Lu Baolu

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).