I'm also affected by this bug on 20.04 with the HWE 5.13 kernel (currently: 5.13.0-30-generic #33~20.04.1-Ubuntu SMP Mon Feb 7 14:25:10 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux). My PCIe Thunderbolt card (ASUS ThunderboltEX 4, Intel JHL8540 controller) only partially works: the USB part works and USB devices plugged into the dock are recognised and functional (including the dock's built-in Ethernet interface), however there is no video signal coming from the dock's DisplayPort ports. I've tried the patch mentioned in the kernel bug tracker [1], but it doesn't fix the issue.
Possibly relevant kernel messages: [ 0.602662] pci 0000:38:00.0: BAR 1: assigned to efifb [ 0.629016] pci 0000:02:00.0: BAR 13: no space for [io size 0x2000] [ 0.629017] pci 0000:02:00.0: BAR 13: failed to assign [io size 0x2000] [ 0.629019] pci 0000:02:00.0: BAR 13: no space for [io size 0x2000] [ 0.629020] pci 0000:02:00.0: BAR 13: failed to assign [io size 0x2000] [ 0.629021] pci 0000:03:00.0: BAR 13: no space for [io size 0x2000] [ 0.629022] pci 0000:03:00.0: BAR 13: failed to assign [io size 0x2000] [ 0.629023] pci 0000:03:00.0: BAR 13: no space for [io size 0x2000] [ 0.629024] pci 0000:03:00.0: BAR 13: failed to assign [io size 0x2000] [ 0.629026] pci 0000:04:01.0: BAR 13: no space for [io size 0x1000] [ 0.629027] pci 0000:04:01.0: BAR 13: failed to assign [io size 0x1000] [ 0.629028] pci 0000:04:03.0: BAR 13: no space for [io size 0x1000] [ 0.629029] pci 0000:04:03.0: BAR 13: failed to assign [io size 0x1000] [ 0.629030] pci 0000:04:03.0: BAR 13: no space for [io size 0x1000] [ 0.629031] pci 0000:04:03.0: BAR 13: failed to assign [io size 0x1000] [ 0.629032] pci 0000:04:01.0: BAR 13: no space for [io size 0x1000] [ 0.629033] pci 0000:04:01.0: BAR 13: failed to assign [io size 0x1000] [ 4.271107] thunderbolt 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000e address=0xcb0f6500 flags=0x0020] [ 25.977578] thunderbolt 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000e address=0xcb0f6600 flags=0x0020] [ 46.457436] thunderbolt 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000e address=0xcb0f6700 flags=0x0020] [ 66.937458] thunderbolt 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000e address=0xcb0f6800 flags=0x0020] [ 87.413107] thunderbolt 0000:05:00.0: failed to send driver ready to ICM [ 87.414436] thunderbolt: probe of 0000:05:00.0 failed with error -110 [1] https://lore.kernel.org/lkml/20200302141451.18983-1-mika.westerb...@linux.intel.com/ -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1860284 Title: thinkpad thunderbolt 3 dock gen2 with pci memory allocation errors on Yoga C940 unless plugged in before boot Status in Linux: Confirmed Status in linux package in Ubuntu: Confirmed Bug description: I have thinkpad thunderbolt 3 dock gen2 dock I am trying to use with a New Lenovo Yoga C940 laptop. - 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. 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: - Kernel mainline 5.4.12, same symptoms - Kernel mainline 5.5.-rc6, same symptoms. - Plugging it 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-01-17. - The displayport part of the dock always work, but all other ports (USB, ethernet, card readers fail) when plugged-in after boot. - Doesn't seem to be a thunderbolt authorization problem: benoitg@benoitg-Yoga-C940:~$ boltctl ? Lenovo ThinkPad Thunderbolt 3 Dock ?? type: peripheral ?? name: ThinkPad Thunderbolt 3 Dock ?? vendor: Lenovo ?? uuid: 001730c5-7042-0801-ffff-ffffffffffff ?? status: authorized ? ?? domain: c06e823d-af8a-8680-ffff-ffffffffffff ? ?? authflags: none ?? authorized: Sun Jan 19 17:41:04 2020 ?? connected: Sun Jan 19 17:41:04 2020 ?? stored: Thu Jan 16 07:27:43 2020 ?? policy: iommu ?? key: no ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: linux-image-5.3.0-26-generic 5.3.0-26.28 ProcVersionSignature: Ubuntu 5.3.0-26.28-generic 5.3.13 Uname: Linux 5.3.0-26-generic x86_64 ApportVersion: 2.20.11-0ubuntu8.2 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: benoitg 1182 F.... pulseaudio CurrentDesktop: KDE Date: Sun Jan 19 12:38:17 2020 InstallationDate: Installed on 2020-01-16 (3 days ago) InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) MachineType: LENOVO 81Q9 ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-26-generic root=UUID=078b76d6-6b72-4de4-9e10-f6ea33d9bc1a ro RelatedPackageVersions: linux-restricted-modules-5.3.0-26-generic N/A linux-backports-modules-5.3.0-26-generic N/A linux-firmware 1.183.3 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 08/22/2019 dmi.bios.vendor: LENOVO dmi.bios.version: AUCN45WW dmi.board.asset.tag: NO Asset Tag dmi.board.name: LNVNB161216 dmi.board.vendor: LENOVO dmi.board.version: SDK0J40709 WIN dmi.chassis.asset.tag: NO Asset Tag dmi.chassis.type: 31 dmi.chassis.vendor: LENOVO dmi.chassis.version: Lenovo Yoga C940-14IIL dmi.modalias: dmi:bvnLENOVO:bvrAUCN45WW:bd08/22/2019:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL: dmi.product.family: Yoga C940-14IIL dmi.product.name: 81Q9 dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL dmi.product.version: Lenovo Yoga C940-14IIL dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1860284/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp