New: thinkpad thunderbolt 3 dock gen2 pci memory allocation errors on Yoga C940 unless plugged in before boot]
----- Forwarded message from [email protected] -----
Date: Fri, 07 Feb 2020 19:52:30 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 206459] New: thinkpad thunderbolt 3 dock gen2 pci memory
allocation errors on Yoga C940 unless plugged in before boot
Message-ID: <[email protected]/>
https://bugzilla.kernel.org/show_bug.cgi?id=206459
Bug ID: 206459
Summary: thinkpad thunderbolt 3 dock gen2 pci memory allocation
errors on Yoga C940 unless plugged in before boot
Product: Drivers
Version: 2.5
Kernel Version: 5.5.2
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: PCI
Assignee: [email protected]
Reporter: [email protected]
Regression: NoCreated attachment 287231
--> https://bugzilla.kernel.org/attachment.cgi?id=287231&action=edit
acpidump
I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a New Lenovo Yoga C940-14IIL laptop. Laptop is very recent hardware, with a 10th gen intel cpu, and a bios with very few options :(
- The dock works fine when plugged-in before boot.
- The dock does NOT work when plugged after the system booted.
- The dock does NOT work when plugged-in at boot, subsequently unplugged and plugged back in.
- The dock work fine in windows, in all the above scenarios
When it fails, it fails with memory allocation messages such as:
[ 342.507320] pci 0000:2b:00.0: BAR 14: no space for [mem size 0x0c200000] [ 342.507323] pci 0000:2b:00.0: BAR 14: failed to assign [mem size 0x0c200000]
Things I tried:
- Ubuntu kernel 5.3.0-26, same symptoms
- Kernel mainline 5.4.12, same symptoms
- Kernel mainline 5.5.2, same symptoms, but gets a little further allocating memory on the second pass.
- Plugging the dock after powering up the laptop, but at the grub screen before boot. In this case the dock works fine after boot.
Other potentially useful information to narrow it down:
- The tests were done with only an ethernet cable and power plugged into the dock to minimize the number of moving parts...
- Dock and laptop both have the very latest firmware as of 2020-02-07 cat /sys/bus/thunderbolt/devices/0-0/nvm_version
72.0
cat /sys/bus/thunderbolt/devices/0-3/nvm_version
50.0
- Unfortunately I cannot procure older firmware for the dock to know if the laptop or the dock is the source of the problem (As this dock was released over a year ago, and I cannot find any specific relevant problems with Linux)
- The screens connected to the displayports on the dock always work. But but all other ports (USB, ethernet, sound fail) when plugged-in after boot.
- Doesn't seem to be a thunderbolt authorization problem:
tbtadm devices
0-3 Lenovo ThinkPad Thunderbolt 3 Dock authorized not in ACL
Originally reported to ubuntu in:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1860284
Signature · 4 lines
You are receiving this mail because: You are watching the assignee of the bug. ----- End forwarded message -----