linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Discrete Thunderbold Controller 8086:1137 throws DMAR and thunderbolt fails to work
@ 2021-12-09  9:39 Chris Chiu
  2021-12-09 10:08 ` Mika Westerberg
  2021-12-13  5:37 ` Chris Chiu
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Chiu @ 2021-12-09  9:39 UTC (permalink / raw)
  To: andreas.noever, michael.jamet, mika.westerberg, YehezkelShB
  Cc: linux-usb, Linux Kernel

Hi,
    We created a ticket
https://bugzilla.kernel.org/show_bug.cgi?id=215265 that is pretty
similar to https://bugzilla.kernel.org/show_bug.cgi?id=214259. So I
tried the patch on https://lkml.org/lkml/2020/6/17/751 but it doesn't
fix the issue. I also tried to boot with the kernel parameter
`pci=nocrs` but it changed nothing either. I attached the kernel log
with thunderbolt dynamic debug on and lspci output on the ticket. Also
tried to disable the intel_iommu, the DMAR failure seems to go away
but thunderbolt still fails to work. Can anyone suggest what kind of
information is required to help identify the cause of the problem?
Thanks

Chris

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

* Re: Discrete Thunderbold Controller 8086:1137 throws DMAR and thunderbolt fails to work
  2021-12-09  9:39 Discrete Thunderbold Controller 8086:1137 throws DMAR and thunderbolt fails to work Chris Chiu
@ 2021-12-09 10:08 ` Mika Westerberg
  2021-12-13  5:37 ` Chris Chiu
  1 sibling, 0 replies; 4+ messages in thread
From: Mika Westerberg @ 2021-12-09 10:08 UTC (permalink / raw)
  To: Chris Chiu
  Cc: andreas.noever, michael.jamet, YehezkelShB, linux-usb,
	Linux Kernel, Lu Baolu

[+Baolu]

Hi,

On Thu, Dec 09, 2021 at 05:39:41PM +0800, Chris Chiu wrote:
> Hi,
>     We created a ticket
> https://bugzilla.kernel.org/show_bug.cgi?id=215265 that is pretty
> similar to https://bugzilla.kernel.org/show_bug.cgi?id=214259. So I
> tried the patch on https://lkml.org/lkml/2020/6/17/751 but it doesn't
> fix the issue. I also tried to boot with the kernel parameter
> `pci=nocrs` but it changed nothing either. I attached the kernel log
> with thunderbolt dynamic debug on and lspci output on the ticket. Also
> tried to disable the intel_iommu, the DMAR failure seems to go away
> but thunderbolt still fails to work. Can anyone suggest what kind of
> information is required to help identify the cause of the problem?
> Thanks

At least the RTX370 log seem to have lots of issues, not just
Thunderbolt. The PCIe root port has AER enabled and it seems to be
getting errors from the Maple Ridge card. Typically using AER with
hotpluggable PCIe devices is not a good idea.

Can you get rid of the patch that adds these:

  arch_remove_reservations remove e820 region

and boot with "intel_iommu=off", and provide full dmesg? Did not find
one from the bugzilla bug.

Also does the USB 3.x work? I mean if you have IOMMU enabled and you
plug in USB 3.x device does that work, or you get similar DMAR faults?

Alos is this a production system and do you have installed the latest
firmware upgrades?

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

* Re: Discrete Thunderbold Controller 8086:1137 throws DMAR and thunderbolt fails to work
  2021-12-09  9:39 Discrete Thunderbold Controller 8086:1137 throws DMAR and thunderbolt fails to work Chris Chiu
  2021-12-09 10:08 ` Mika Westerberg
@ 2021-12-13  5:37 ` Chris Chiu
  2021-12-13  6:11   ` Mika Westerberg
  1 sibling, 1 reply; 4+ messages in thread
From: Chris Chiu @ 2021-12-13  5:37 UTC (permalink / raw)
  To: andreas.noever, michael.jamet, mika.westerberg, YehezkelShB
  Cc: linux-usb, Linux Kernel

On Thu, Dec 9, 2021 at 5:39 PM Chris Chiu <chris.chiu@canonical.com> wrote:
>
> Hi,
>     We created a ticket
> https://bugzilla.kernel.org/show_bug.cgi?id=215265 that is pretty
> similar to https://bugzilla.kernel.org/show_bug.cgi?id=214259. So I
> tried the patch on https://lkml.org/lkml/2020/6/17/751 but it doesn't
> fix the issue. I also tried to boot with the kernel parameter
> `pci=nocrs` but it changed nothing either. I attached the kernel log
> with thunderbolt dynamic debug on and lspci output on the ticket. Also
> tried to disable the intel_iommu, the DMAR failure seems to go away
> but thunderbolt still fails to work. Can anyone suggest what kind of
> information is required to help identify the cause of the problem?
> Thanks
>
> Chris

Gentle ping. Mika, could you give some advice on this? Thanks

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

* Re: Discrete Thunderbold Controller 8086:1137 throws DMAR and thunderbolt fails to work
  2021-12-13  5:37 ` Chris Chiu
@ 2021-12-13  6:11   ` Mika Westerberg
  0 siblings, 0 replies; 4+ messages in thread
From: Mika Westerberg @ 2021-12-13  6:11 UTC (permalink / raw)
  To: Chris Chiu
  Cc: andreas.noever, michael.jamet, YehezkelShB, linux-usb, Linux Kernel

On Mon, Dec 13, 2021 at 01:37:10PM +0800, Chris Chiu wrote:
> On Thu, Dec 9, 2021 at 5:39 PM Chris Chiu <chris.chiu@canonical.com> wrote:
> >
> > Hi,
> >     We created a ticket
> > https://bugzilla.kernel.org/show_bug.cgi?id=215265 that is pretty
> > similar to https://bugzilla.kernel.org/show_bug.cgi?id=214259. So I
> > tried the patch on https://lkml.org/lkml/2020/6/17/751 but it doesn't
> > fix the issue. I also tried to boot with the kernel parameter
> > `pci=nocrs` but it changed nothing either. I attached the kernel log
> > with thunderbolt dynamic debug on and lspci output on the ticket. Also
> > tried to disable the intel_iommu, the DMAR failure seems to go away
> > but thunderbolt still fails to work. Can anyone suggest what kind of
> > information is required to help identify the cause of the problem?
> > Thanks
> >
> > Chris
> 
> Gentle ping. Mika, could you give some advice on this? Thanks

Hm, didn't I already answered?

https://lore.kernel.org/linux-usb/YbHVryQ+QTnyMmTB@lahna/

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

end of thread, other threads:[~2021-12-13  6:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-09  9:39 Discrete Thunderbold Controller 8086:1137 throws DMAR and thunderbolt fails to work Chris Chiu
2021-12-09 10:08 ` Mika Westerberg
2021-12-13  5:37 ` Chris Chiu
2021-12-13  6:11   ` Mika Westerberg

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