All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frederik Schwan <frederik.schwan@linux.com>
To: iommu@lists.linux-foundation.org
Cc: David Woodhouse <dwmw2@infradead.org>
Subject: Regression iommu/vt-d bounce buffer
Date: Mon, 6 Jan 2020 16:43:05 +0100	[thread overview]
Message-ID: <fe41dfaa-e899-0d6c-69e4-0379be376c09@linux.com> (raw)


[-- 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

             reply	other threads:[~2020-01-06 15:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-06 15:43 Frederik Schwan [this message]
2020-01-10 16:28 ` Regression iommu/vt-d bounce buffer Joerg Roedel
2020-01-13  2:37   ` Lu Baolu

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=fe41dfaa-e899-0d6c-69e4-0379be376c09@linux.com \
    --to=frederik.schwan@linux.com \
    --cc=dwmw2@infradead.org \
    --cc=iommu@lists.linux-foundation.org \
    /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.