linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 214173] New: Built-in Renesas uPD720202 fails to initialize on Thinkpad T14 AMD
Date: Wed, 25 Aug 2021 21:23:05 +0000	[thread overview]
Message-ID: <bug-214173-208809@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=214173

            Bug ID: 214173
           Summary: Built-in Renesas uPD720202 fails to initialize on
                    Thinkpad T14 AMD
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.13.12
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: USB
          Assignee: drivers_usb@kernel-bugs.kernel.org
          Reporter: milan.plzik@gmail.com
        Regression: No

After doing a series of upgrades on a dual-boot Thinkpad T14 AMD (comprised of
Windows driver/firmware upgrade and linux kernel upgrade), the Renesas USB 3.0
doesn't seem to get initialized anymore, timing out on initialization.

```
# journalctl -xb |grep -i 06:00
Aug 24 17:05:47 archlinux kernel: pci 0000:06:00.0: [1912:0015] type 00 class
0x0c0330
Aug 24 17:05:47 archlinux kernel: pci 0000:06:00.0: reg 0x10: [mem
0xfd400000-0xfd401fff 64bit]
Aug 24 17:05:47 archlinux kernel: pci 0000:06:00.0: PME# supported from D0
D3hot
Aug 24 17:05:47 archlinux kernel: pci 0000:06:00.0: xHCI HW not ready after 5
sec (HC bug?) status = 0x1801
Aug 24 17:05:47 archlinux kernel: pci 0000:06:00.0:
quirk_usb_early_handoff+0x0/0x740 took 4882933 usecs
Aug 24 17:05:47 archlinux kernel: pci 0000:06:00.0: Adding to iommu group 16
Aug 24 17:05:47 archlinux kernel: xhci_hcd 0000:06:00.0: xHCI Host Controller
Aug 24 17:05:47 archlinux kernel: xhci_hcd 0000:06:00.0: new USB bus
registered, assigned bus number 2
Aug 24 17:05:47 archlinux kernel: xhci_hcd 0000:06:00.0: Zeroing 64bit base
registers, expecting fault
Aug 24 17:05:57 archlinux kernel: xhci_hcd 0000:06:00.0: can't setup: -110
Aug 24 17:05:57 archlinux kernel: xhci_hcd 0000:06:00.0: USB bus 2 deregistered
Aug 24 17:05:57 archlinux kernel: xhci_hcd 0000:06:00.0: init 0000:06:00.0
fail, -110
Aug 24 17:05:57 archlinux kernel: xhci_hcd: probe of 0000:06:00.0 failed with
error -110
```

This is a notable regression to the previous laptop's state where this got
correctly initialized:

```
# journalctl -xb -10 |grep 06:00
Jun 26 11:06:21 archlinux kernel: pci 0000:06:00.0: [1912:0015] type 00 class
0x0c0330
Jun 26 11:06:21 archlinux kernel: pci 0000:06:00.0: reg 0x10: [mem
0xfd400000-0xfd401fff 64bit]
Jun 26 11:06:21 archlinux kernel: pci 0000:06:00.0: PME# supported from D0
D3hot D3cold
Jun 26 11:06:21 archlinux kernel: pci 0000:06:00.0: Adding to iommu group 16
Jun 26 11:06:21 archlinux kernel: xhci_hcd 0000:06:00.0: xHCI Host Controller
Jun 26 11:06:21 archlinux kernel: xhci_hcd 0000:06:00.0: new USB bus
registered, assigned bus number 2
Jun 26 11:06:21 archlinux kernel: xhci_hcd 0000:06:00.0: Zeroing 64bit base
registers, expecting fault
Jun 26 11:06:21 archlinux kernel: xhci_hcd 0000:06:00.0: hcc params 0x014051cf
hci version 0x100 quirks 0x0000001100000090
Jun 26 11:06:21 archlinux kernel: usb usb2: SerialNumber: 0000:06:00.0
Jun 26 11:06:21 archlinux kernel: xhci_hcd 0000:06:00.0: xHCI Host Controller
Jun 26 11:06:21 archlinux kernel: xhci_hcd 0000:06:00.0: new USB bus
registered, assigned bus number 3
Jun 26 11:06:21 archlinux kernel: xhci_hcd 0000:06:00.0: Host supports USB 3.0
SuperSpeed
Jun 26 11:06:21 archlinux kernel: usb usb3: SerialNumber: 0000:06:00.0
```

Most notably, this renders the laptop's built-in webcam unusable (not showing
on the USB bus). There's anecdotal evidence that installing a package
containing older firmware resolves this issue (i.e.
https://forums.lenovo.com/t5/Other-Linux-Discussions/No-camera-on-thinkpad-P14s-AMD/m-p/5090434),
but since a lot of data indicates that the firmware is actually located in ROM
(and maybe RAM). Since this is a dual-boot system, I'm being a bit cautious
with not using an older version if Windows might expect a newer version
already.

I'll be happy to do some testing if needed, assuming there's no chance of
accidentally bricking the laptop.

Additional info:

Hardware: Thinpad T14 AMD Gen 1


```
$ lspci -vv
...
06:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host
Controller (rev 02) (prog-if 30 [XHCI])
        Flags: fast devsel, IRQ 34, IOMMU group 16
        Memory at fd400000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [50] Power Management version 3
        Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
        Capabilities: [90] MSI-X: Enable- Count=8 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [150] Latency Tolerance Reporting
        Kernel modules: xhci_pci
...
```

```
$ uname -a
Linux thinkpad 5.13.12-arch1-1 #1 SMP PREEMPT Wed, 18 Aug 2021 20:49:03 +0000
x86_64 GNU/Linux
```

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

             reply	other threads:[~2021-08-25 21:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25 21:23 bugzilla-daemon [this message]
2021-08-27 21:42 ` [Bug 214173] Built-in Renesas uPD720202 fails to initialize on Thinkpad T14 Gen 1 AMD bugzilla-daemon
2021-08-30 20:08 ` bugzilla-daemon

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=bug-214173-208809@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-usb@vger.kernel.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 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).