FS#69487 - [linux] Skip vswing programming for TBT
Attached to Project:
Arch Linux
Opened by François Guerraz (kubrick) - Sunday, 31 January 2021, 12:31 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 30 March 2021, 12:20 GMT
Opened by François Guerraz (kubrick) - Sunday, 31 January 2021, 12:31 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 30 March 2021, 12:20 GMT
|
Details
PCI Bus reset on display power event when Thunderbolt
plugged in
The device, a Dell XPS 9300, works fine with external displays attached to the usb-c docking stations. The Caldigit TS3 Plus docking station also works fine on its own as long as no external display is attached. Now if I connect an external display while the Caldigit TS3 Plus docking station is connected, either via the docking station itself or another adapter, every time a "power event" happens on the external monitor (such as connecting, disconnecting, rearranging the displays on Gnome), the entire PCI bus seems to disappear with these messages in the logs: Jan 24 22:20:07 XPS-20 kernel: pcieport 0000:00:07.0: pciehp: Slot(0): Link Down Jan 24 22:20:07 XPS-20 kernel: pcieport 0000:00:07.0: pciehp: Slot(0): Card not present Jan 24 22:20:07 XPS-20 kernel: pcieport 0000:02:04.0: can't change power state from D3cold to D0 (config space inaccessible) Jan 24 22:20:07 XPS-20 kernel: igb 0000:06:00.0: removed PHC on eth0 Jan 24 22:20:07 XPS-20 kernel: igb 0000:06:00.0 eth0: PCIe link lost Jan 24 22:20:07 XPS-20 kernel: i2c_hid i2c-WCOM4941:00: supply vdd not found, using dummy regulator Jan 24 22:20:07 XPS-20 kernel: i2c_hid i2c-WCOM4941:00: supply vddl not found, using dummy regulator See upstream bug for more details: https://gitlab.freedesktop.org/drm/intel/-/issues/2999 I backported this patch to 5.10.12 : https://patchwork.freedesktop.org/patch/416445/?series=86402&rev=2 And it fixes the issue. Please consider backporting it to the arch kernel. LTS is also affected. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 30 March 2021, 12:20 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed: 5.10.16.arch1-1
Tuesday, 30 March 2021, 12:20 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed: 5.10.16.arch1-1
Hopefully it will make it into drm-intel-fixes so it can make it into 5.11, if not then it will be delayed until 5.12 assuming drm-next pulls from drm-intel-next before being merged into 5.12 or intel adds it to the fixes branch for 5.12, otherwise it could be delayed until 5.13.
[1] https://cgit.freedesktop.org/drm-intel/log/?h=drm-intel-fixes
[2] https://cgit.freedesktop.org/drm/drm/
[3] https://cgit.freedesktop.org/drm-intel/commit/?h=drm-intel-next&id=f8c6b615b921d8a1bcd74870f9105e62b0bceff3
[1] https://cgit.freedesktop.org/drm/drm/log/?h=drm-fixes
Edit:
Pull request [2]. Now pulled [3]. Should be pulled to mainline for 5.11-rc7, pull request [4].
[2] https://lore.kernel.org/dri-devel/87bld0f36b.fsf%40intel.com/
[3] https://cgit.freedesktop.org/drm/drm/commit/?h=drm-fixes&id=59854811c08cfbdf52d79231666e7c07c46ff338
[4] https://lore.kernel.org/lkml/CAPM=9twvv9LRSTW4t_Q=OLfei1DsXn-fsjO8ad3cSsZ3KeDNhQ%40mail.gmail.com/
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eaf5bfe37db871031232d2bf2535b6ca92afbad8
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=425cbd1fce10d4d68188123404d1a302a6939e0a
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fad9bae9ee5d578afbe6380c82e4715efaddf118
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=00f9a08fbc3c703b71842a5425c1eb82053c8a70
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9f5dc9974298aea9690c7a0f7007f1af37198230
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e4747cb3ec3c232d65c84cbe77633abd5871fda3
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=761c70a52586a9214b29026d384d2c01b73661a8
[1] https://lore.kernel.org/stable/20210205140655.982616732%40linuxfoundation.org/
PS, the 9 patches (actually 8 because those last 2 are combined) that I refer to are all queued for 5.11-rc7 as loqs says in link [4] above.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=83404d581471775f37f85e5261ec0d09407d8bed notes needed for next patch
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=882554042d138dbc6fb1a43017d0b9c3b38ee5f5 is marked for stable
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?id=4e78c33874e541979383a761cf9e3de0a24c710c