Dear Mika, Thank you so much for looking into this issue. On 2019-11-22 11:50, Mika Westerberg wrote: > On Wed, Nov 20, 2019 at 12:50:53PM +0200, Mika Westerberg wrote: >> On Tue, Nov 19, 2019 at 05:55:43PM +0100, Paul Menzel wrote: >>> On 2019-11-04 17:21, Mika Westerberg wrote: >>>> On Mon, Nov 04, 2019 at 05:11:10PM +0100, Paul Menzel wrote: >>> >>>>> On 2019-11-04 16:49, Mario.Limonciello@dell.com wrote: >>>>> >>>>>>> From: Mika Westerberg >>>>>>> Sent: Monday, November 4, 2019 9:45 AM >>>>> >>>>>>> On Mon, Nov 04, 2019 at 04:44:40PM +0200, Mika Westerberg wrote: >>>>>>>> On Mon, Nov 04, 2019 at 04:25:03PM +0200, Mika Westerberg wrote: >>>>> >>>>>>>>> On Mon, Nov 04, 2019 at 02:13:13PM +0100, Paul Menzel wrote: >>>>> >>>>>>>>>> On the Dell XPS 13 9380 with Debian Sid/unstable with Linux 5.3.7 >>>>>>>>>> suspending the system, and resuming with Dell’s Thunderbolt TB16 >>>>>>>>>> dock connected, the USB input devices, keyboard and mouse, >>>>>>>>>> connected to the TB16 stop working. They work for a few seconds >>>>>>>>>> (mouse cursor can be moved), but then stop working. The laptop >>>>>>>>>> keyboard and touchpad still works fine. All firmware is up-to-date >>>>>>>>>> according to `fwupdmgr`. >>>>>>>>> >>>>>>>>> What are the exact steps to reproduce? Just "echo mem > >>>>>>>>> /sys/power/state" and then resume by pressing power button? >>>>> >>>>> GNOME Shell 3.34.1+git20191024-1 is used, and the user just closes the >>>>> display. So more than `echo mem > /sys/power/state` is done. What >>>>> distribution do you use? >>>> >>>> I have buildroot based "distro" so there is no UI running. >>> >>> Hmm, this is quite different from the “normal” use-case of the these devices. >>> That way you won’t hit the bugs of the normal users. ;-) >> >> Well, I can install some distro to that thing also :) I suppose Debian >> 10.2 does have this issue, no? >> >>>>>>>> I tried v5.4-rc6 on my 9380 with TB16 dock connected and did a couple of >>>>>>>> suspend/resume cycles (to s2idle) but I don't see any issues. >>>>>>>> >>>>>>>> I may have older/different firmware than you, though. >>>>>>> >>>>>>> Upgraded BIOS to 1.8.0 and TBT NVM to v44 but still can't reproduce this >>>>>>> on my system :/ >>>>> >>>>> The user reported the issue with the previous firmwares 1.x and TBT NVM v40. >>>>> Updating to the recent version (I got the logs with) did not fix the issue. >>>> >>>> I also tried v40 (that was originally on that system) but I was not able >>>> to reproduce it. >>>> >>>> Do you know if the user changed any BIOS settings? >>> >>> We had to disable the Thunderbolt security settings as otherwise the USB >>> devices wouldn’t work at cold boot either. >> >> That does not sound right at all. There is the preboot ACL that allows >> you to use TBT dock aready on boot. Bolt takes care of this. >> >> Are you talking about USB devices connected to the TB16 dock? >> >> Also are you connecting the TB16 dock to the Thunderbolt ports (left >> side of the system marked with small lightning logo) or to the normal >> Type-C ports (right side)? >> >>> So, I built Linux 5.4-rc8 (`make bindeb-pkg -j8`), but unfortunately the >>> error is still there. Sometimes, re-plugging the dock helped, and sometimes >>> it did not. >>> >>> Please find the logs attached. The strange thing is, the Linux kernel detects >>> the devices and I do not see any disconnect events. But, `lsusb` does not list >>> the keyboard and the mouse. Is that expected. >> >> I'm bit confused. Can you describe the exact steps what you do (so I can >> replicate them). > > I managed to reproduce following scenario. > > 1. Boot the system up to UI > 2. Connect TB16 dock (and see that it gets authorized by bolt) > 3. Connect keyboard and mouse to the TB16 dock > 4. Both mouse and keyboard are functional > 5. Enter s2idle by closing laptop lid > 6. Exit s2idle by opening the laptop lid > 7. After ~10 seconds or so the mouse or keyboard or both do not work > anymore. They do not respond but they are still "present". > > The above does not happen always but from time to time. > > Is this the scenario you see as well? Yes, it is. Though I’d say it’s only five seconds or so. > This is on Ubuntu 19.10 with the 5.3 stock kernel. “stock” in upstream’s or Ubuntu’s? > I can get them work again by unplugging them and plugging back (leaving > the TBT16 dock connected). Also if you run lspci when the problem > occurs it still shows the dock so PCIe link stays up. Re-connecting the USB devices does not help here, but I still suspect it’s the same issue. Yesterday, I had my hand on a Dell XPS 13 7390 (10th Intel generation) and tried it with the shipped Ubuntu 18.04 LTS. There, the problem was not always reproducible, but it still happened. Sometimes, only one of the USB device (either keyboard or mouse) stopped working. ``` [ 0.000000] Linux version 4.15.0-1064-oem (buildd@lgw01-amd64-049) (gcc version 7.4.0 (Ubu ntu 7.4.0-1ubuntu1~18.04.1)) #73-Ubuntu SMP Tue Nov 12 12:25:21 UTC 2019 (Ubuntu 4.15.0-1064. 73-oem 4.15.18) […] [ 158.517750] thunderbolt 0000:05:00.0: 303:b: disabled by eeprom [ 174.750235] thunderbolt 0000:05:00.0: stopping RX ring 0 [ 174.750247] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1) [ 174.750262] thunderbolt 0000:05:00.0: stopping TX ring 0 [ 174.750271] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0) [ 174.750281] thunderbolt 0000:05:00.0: control channel stopped [ 280.564072] thunderbolt 0000:05:00.0: control channel starting... [ 280.564074] thunderbolt 0000:05:00.0: starting TX ring 0 [ 280.564080] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1) [ 280.564081] thunderbolt 0000:05:00.0: starting RX ring 0 [ 280.564087] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001) [ 297.834059] thunderbolt 0000:05:00.0: stopping RX ring 0 [ 297.834073] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1) [ 297.834104] thunderbolt 0000:05:00.0: stopping TX ring 0 [ 297.834115] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0) [ 297.834128] thunderbolt 0000:05:00.0: control channel stopped ``` > I suspect this has something to do with the ASMEDIA xHCI controller but > I'm not an expert so Mathias CC'd. > >>> Additionally, despite `CONFIG_PCI_DEBUG` I do not see more elaborate messages. >> >> I see one strange thing in that log. The Thunderbolt driver does not >> show the device at boot. You should see something like this when you >> boot with the dock connected: >> >> thunderbolt 0-3: new device found, vendor=0xd4 device=0xb051 >> thunderbolt 0-3: Dell Dell Thunderbolt Cable >> thunderbolt 0-303: new device found, vendor=0xd4 device=0xb054 >> thunderbolt 0-303: Dell Dell Thunderbolt Dock >> >> I only see those after you did suspend/resume cycle. >> >>> Lastly, could the daemon boltd have anything to do with this? >> >> It is the one that authorizes the PCIe tunneling so definitely has >> something to do but below: >> >>> >>> ``` >>> $ boltctl --version >>> bolt 0.8 >>> $ boltctl list >>> ● Dell Thunderbolt Cable >>> ├─ type: peripheral >>> ├─ name: Dell Thunderbolt Cable >>> ├─ vendor: Dell >>> ├─ uuid: 0082b09d-2f5f-d400-ffff-ffffffffffff >>> ├─ status: authorized >> >> looks what is expected. Kind regards, Paul PS: Here the Ubuntu 18.04 (Linux 4.15) thunderbolt logs. Full log attached. > grep thunderb 20191121-update-5-only-USB-keyboard-works-dmesg.txt [ 1.164761] thunderbolt 0000:05:00.0: enabling device (0000 -> 0002) [ 1.165915] thunderbolt 0000:05:00.0: NHI initialized, starting thunderbolt [ 1.165918] thunderbolt 0000:05:00.0: allocating TX ring 0 of size 10 [ 1.165951] thunderbolt 0000:05:00.0: allocating RX ring 0 of size 10 [ 1.165985] thunderbolt 0000:05:00.0: control channel created [ 1.165987] thunderbolt 0000:05:00.0: control channel starting... [ 1.165988] thunderbolt 0000:05:00.0: starting TX ring 0 [ 1.166006] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1) [ 1.166007] thunderbolt 0000:05:00.0: starting RX ring 0 [ 1.166013] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001) [ 2.524679] thunderbolt 0000:05:00.0: current switch config: [ 2.524680] thunderbolt 0000:05:00.0: Switch: 8086:15d3 (Revision: 6, TB Version: 2) [ 2.524681] thunderbolt 0000:05:00.0: Max Port Number: 11 [ 2.524681] thunderbolt 0000:05:00.0: Config: [ 2.524696] thunderbolt 0000:05:00.0: Upstream Port Number: 5 Depth: 0 Route String: 0x0 Enabled: 1, PlugEventsDelay: 254ms [ 2.524697] thunderbolt 0000:05:00.0: unknown1: 0x0 unknown4: 0x0 [ 2.567959] thunderbolt 0000:05:00.0: 0: uid: 0xd410e424810b00 [ 2.569367] thunderbolt 0000:05:00.0: Port 0: 8086:15d3 (Revision: 6, TB Version: 1, Type: Port (0x1)) [ 2.569367] thunderbolt 0000:05:00.0: Max hop id (in/out): 7/7 [ 2.569368] thunderbolt 0000:05:00.0: Max counters: 8 [ 2.569368] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 2.569878] thunderbolt 0000:05:00.0: Port 1: 8086:15d3 (Revision: 6, TB Version: 1, Type: Port (0x1)) [ 2.569879] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 2.569879] thunderbolt 0000:05:00.0: Max counters: 16 [ 2.569880] thunderbolt 0000:05:00.0: NFC Credits: 0x3c00000 [ 2.570390] thunderbolt 0000:05:00.0: Port 2: 8086:15d3 (Revision: 6, TB Version: 1, Type: Port (0x1)) [ 2.570391] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 2.570391] thunderbolt 0000:05:00.0: Max counters: 16 [ 2.570391] thunderbolt 0000:05:00.0: NFC Credits: 0x3c00000 [ 2.570902] thunderbolt 0000:05:00.0: Port 3: 8086:15d3 (Revision: 6, TB Version: 1, Type: Port (0x1)) [ 2.570903] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 2.570903] thunderbolt 0000:05:00.0: Max counters: 16 [ 2.570903] thunderbolt 0000:05:00.0: NFC Credits: 0x7800000 [ 2.571414] thunderbolt 0000:05:00.0: Port 4: 8086:15d3 (Revision: 6, TB Version: 1, Type: Port (0x1)) [ 2.571415] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 2.571415] thunderbolt 0000:05:00.0: Max counters: 16 [ 2.571415] thunderbolt 0000:05:00.0: NFC Credits: 0x0 [ 2.571416] thunderbolt 0000:05:00.0: 0:5: disabled by eeprom [ 2.571542] thunderbolt 0000:05:00.0: Port 6: 8086:15d3 (Revision: 6, TB Version: 1, Type: PCIe (0x100101)) [ 2.571543] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 2.571543] thunderbolt 0000:05:00.0: Max counters: 2 [ 2.571544] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 2.571670] thunderbolt 0000:05:00.0: Port 7: 8086:15d3 (Revision: 6, TB Version: 1, Type: PCIe (0x100101)) [ 2.571671] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 2.571671] thunderbolt 0000:05:00.0: Max counters: 2 [ 2.571672] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 2.571798] thunderbolt 0000:05:00.0: Port 8: 8086:15d3 (Revision: 6, TB Version: 1, Type: DP/HDMI (0xe0102)) [ 2.571799] thunderbolt 0000:05:00.0: Max hop id (in/out): 9/9 [ 2.571799] thunderbolt 0000:05:00.0: Max counters: 2 [ 2.571800] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 2.571926] thunderbolt 0000:05:00.0: Port 9: 8086:15d3 (Revision: 6, TB Version: 1, Type: DP/HDMI (0xe0101)) [ 2.571927] thunderbolt 0000:05:00.0: Max hop id (in/out): 9/9 [ 2.571927] thunderbolt 0000:05:00.0: Max counters: 2 [ 2.571927] thunderbolt 0000:05:00.0: NFC Credits: 0x1000000 [ 2.572055] thunderbolt 0000:05:00.0: Port 10: 8086:15d3 (Revision: 6, TB Version: 1, Type: DP/HDMI (0xe0101)) [ 2.572055] thunderbolt 0000:05:00.0: Max hop id (in/out): 9/9 [ 2.572055] thunderbolt 0000:05:00.0: Max counters: 2 [ 2.572056] thunderbolt 0000:05:00.0: NFC Credits: 0x100000c [ 2.572183] thunderbolt 0000:05:00.0: Port 11: 8086:15d3 (Revision: 6, TB Version: 1, Type: DP/HDMI (0xe0102)) [ 2.572183] thunderbolt 0000:05:00.0: Max hop id (in/out): 9/9 [ 2.572183] thunderbolt 0000:05:00.0: Max counters: 2 [ 2.572184] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 2.574876] thunderbolt 0000:05:00.0: current switch config: [ 2.574877] thunderbolt 0000:05:00.0: Switch: 8086:1578 (Revision: 4, TB Version: 2) [ 2.574878] thunderbolt 0000:05:00.0: Max Port Number: 11 [ 2.574879] thunderbolt 0000:05:00.0: Config: [ 2.574880] thunderbolt 0000:05:00.0: Upstream Port Number: 1 Depth: 1 Route String: 0x3 Enabled: 1, PlugEventsDelay: 254ms [ 2.574881] thunderbolt 0000:05:00.0: unknown1: 0x0 unknown4: 0x0 [ 2.592952] thunderbolt 0000:05:00.0: 3: reading drom (length: 0x6e) [ 3.535730] thunderbolt 0000:05:00.0: 3: drom data crc32 mismatch (expected: 0xaf438340, got: 0xaf4383c0), continuing [ 3.536494] thunderbolt 0000:05:00.0: 3: uid: 0xd45f2f9db08200 [ 3.536622] thunderbolt 0000:05:00.0: Port 0: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 3.536623] thunderbolt 0000:05:00.0: Max hop id (in/out): 7/7 [ 3.536623] thunderbolt 0000:05:00.0: Max counters: 8 [ 3.536624] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 3.537133] thunderbolt 0000:05:00.0: Port 1: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 3.537134] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 3.537134] thunderbolt 0000:05:00.0: Max counters: 16 [ 3.537135] thunderbolt 0000:05:00.0: NFC Credits: 0x7800048 [ 3.537647] thunderbolt 0000:05:00.0: Port 2: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 3.537647] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 3.537648] thunderbolt 0000:05:00.0: Max counters: 16 [ 3.537648] thunderbolt 0000:05:00.0: NFC Credits: 0x0 [ 3.538157] thunderbolt 0000:05:00.0: Port 3: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 3.538158] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 3.538158] thunderbolt 0000:05:00.0: Max counters: 16 [ 3.538158] thunderbolt 0000:05:00.0: NFC Credits: 0x7800000 [ 3.538669] thunderbolt 0000:05:00.0: Port 4: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 3.538669] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 3.538670] thunderbolt 0000:05:00.0: Max counters: 16 [ 3.538670] thunderbolt 0000:05:00.0: NFC Credits: 0x0 [ 3.538671] thunderbolt 0000:05:00.0: 3:5: disabled by eeprom [ 3.538797] thunderbolt 0000:05:00.0: Port 6: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100102)) [ 3.538798] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 3.538798] thunderbolt 0000:05:00.0: Max counters: 2 [ 3.538798] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 3.538925] thunderbolt 0000:05:00.0: Port 7: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100101)) [ 3.538926] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 3.538926] thunderbolt 0000:05:00.0: Max counters: 2 [ 3.538926] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 3.538927] thunderbolt 0000:05:00.0: 3:8: disabled by eeprom [ 3.538927] thunderbolt 0000:05:00.0: 3:9: disabled by eeprom [ 3.538928] thunderbolt 0000:05:00.0: 3:a: disabled by eeprom [ 3.538928] thunderbolt 0000:05:00.0: 3:b: disabled by eeprom [ 3.540468] thunderbolt 0000:05:00.0: current switch config: [ 3.540469] thunderbolt 0000:05:00.0: Switch: 8086:1578 (Revision: 4, TB Version: 2) [ 3.540469] thunderbolt 0000:05:00.0: Max Port Number: 11 [ 3.540470] thunderbolt 0000:05:00.0: Config: [ 3.540471] thunderbolt 0000:05:00.0: Upstream Port Number: 1 Depth: 2 Route String: 0x303 Enabled: 1, PlugEventsDelay: 254ms [ 3.540471] thunderbolt 0000:05:00.0: unknown1: 0x0 unknown4: 0x0 [ 3.558261] thunderbolt 0000:05:00.0: 303: reading drom (length: 0x75) [ 4.044036] thunderbolt 0-303: ignoring unnecessary extra entries in DROM [ 4.044040] thunderbolt 0000:05:00.0: 303: uid: 0x8086461d6849d310 [ 4.044206] thunderbolt 0000:05:00.0: Port 0: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 4.044207] thunderbolt 0000:05:00.0: Max hop id (in/out): 7/7 [ 4.044208] thunderbolt 0000:05:00.0: Max counters: 8 [ 4.044209] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 4.044676] thunderbolt 0000:05:00.0: Port 1: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 4.044677] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 4.044677] thunderbolt 0000:05:00.0: Max counters: 16 [ 4.044678] thunderbolt 0000:05:00.0: NFC Credits: 0x7800000 [ 4.045187] thunderbolt 0000:05:00.0: Port 2: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 4.045188] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 4.045189] thunderbolt 0000:05:00.0: Max counters: 16 [ 4.045190] thunderbolt 0000:05:00.0: NFC Credits: 0x0 [ 4.045699] thunderbolt 0000:05:00.0: Port 3: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 4.045701] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 4.045701] thunderbolt 0000:05:00.0: Max counters: 16 [ 4.045702] thunderbolt 0000:05:00.0: NFC Credits: 0x3c00000 [ 4.046672] thunderbolt 0000:05:00.0: Port 4: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 4.046673] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 4.046674] thunderbolt 0000:05:00.0: Max counters: 16 [ 4.046676] thunderbolt 0000:05:00.0: NFC Credits: 0x3c00000 [ 4.046677] thunderbolt 0000:05:00.0: 303:5: disabled by eeprom [ 4.046798] thunderbolt 0000:05:00.0: Port 6: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100102)) [ 4.046799] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 4.046800] thunderbolt 0000:05:00.0: Max counters: 2 [ 4.046801] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 4.046927] thunderbolt 0000:05:00.0: Port 7: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100101)) [ 4.046929] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 4.046929] thunderbolt 0000:05:00.0: Max counters: 2 [ 4.046930] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 4.047054] thunderbolt 0000:05:00.0: Port 8: 8086:1578 (Revision: 4, TB Version: 1, Type: DP/HDMI (0xe0102)) [ 4.047055] thunderbolt 0000:05:00.0: Max hop id (in/out): 9/9 [ 4.047056] thunderbolt 0000:05:00.0: Max counters: 2 [ 4.047056] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 4.047057] thunderbolt 0000:05:00.0: 303:9: disabled by eeprom [ 4.047184] thunderbolt 0000:05:00.0: Port 10: 8086:1578 (Revision: 4, TB Version: 1, Type: DP/HDMI (0xe0101)) [ 4.047185] thunderbolt 0000:05:00.0: Max hop id (in/out): 9/9 [ 4.047186] thunderbolt 0000:05:00.0: Max counters: 2 [ 4.047186] thunderbolt 0000:05:00.0: NFC Credits: 0x1000000 [ 4.047187] thunderbolt 0000:05:00.0: 303:b: disabled by eeprom [ 19.933636] thunderbolt 0000:05:00.0: stopping RX ring 0 [ 19.933651] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1) [ 19.933673] thunderbolt 0000:05:00.0: stopping TX ring 0 [ 19.933683] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0) [ 19.933695] thunderbolt 0000:05:00.0: control channel stopped [ 27.352135] thunderbolt 0000:05:00.0: control channel starting... [ 27.352138] thunderbolt 0000:05:00.0: starting TX ring 0 [ 27.352145] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1) [ 27.352146] thunderbolt 0000:05:00.0: starting RX ring 0 [ 27.352153] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001) [ 31.464322] thunderbolt 0000:05:00.0: current switch config: [ 31.464325] thunderbolt 0000:05:00.0: Switch: 8086:1578 (Revision: 4, TB Version: 2) [ 31.464327] thunderbolt 0000:05:00.0: Max Port Number: 11 [ 31.464329] thunderbolt 0000:05:00.0: Config: [ 31.464331] thunderbolt 0000:05:00.0: Upstream Port Number: 1 Depth: 1 Route String: 0x3 Enabled: 1, PlugEventsDelay: 254ms [ 31.464333] thunderbolt 0000:05:00.0: unknown1: 0x0 unknown4: 0x0 [ 32.224561] thunderbolt 0000:05:00.0: 3: reading drom (length: 0x6e) [ 32.601413] thunderbolt 0000:05:00.0: 3: drom data crc32 mismatch (expected: 0xaf438340, got: 0xaf4383c0), continuing [ 32.602180] thunderbolt 0000:05:00.0: 3: uid: 0xd45f2f9db08200 [ 32.602309] thunderbolt 0000:05:00.0: Port 0: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 32.602309] thunderbolt 0000:05:00.0: Max hop id (in/out): 7/7 [ 32.602310] thunderbolt 0000:05:00.0: Max counters: 8 [ 32.602310] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 32.602820] thunderbolt 0000:05:00.0: Port 1: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 32.602821] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 32.602821] thunderbolt 0000:05:00.0: Max counters: 16 [ 32.602822] thunderbolt 0000:05:00.0: NFC Credits: 0x7800048 [ 32.603332] thunderbolt 0000:05:00.0: Port 2: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 32.603332] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 32.603333] thunderbolt 0000:05:00.0: Max counters: 16 [ 32.603333] thunderbolt 0000:05:00.0: NFC Credits: 0x0 [ 32.603844] thunderbolt 0000:05:00.0: Port 3: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 32.603844] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 32.603845] thunderbolt 0000:05:00.0: Max counters: 16 [ 32.603845] thunderbolt 0000:05:00.0: NFC Credits: 0x7800000 [ 32.604358] thunderbolt 0000:05:00.0: Port 4: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 32.604359] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 32.604360] thunderbolt 0000:05:00.0: Max counters: 16 [ 32.604361] thunderbolt 0000:05:00.0: NFC Credits: 0x0 [ 32.604362] thunderbolt 0000:05:00.0: 3:5: disabled by eeprom [ 32.604488] thunderbolt 0000:05:00.0: Port 6: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100102)) [ 32.604489] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 32.604490] thunderbolt 0000:05:00.0: Max counters: 2 [ 32.604491] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 32.604613] thunderbolt 0000:05:00.0: Port 7: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100101)) [ 32.604614] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 32.604615] thunderbolt 0000:05:00.0: Max counters: 2 [ 32.604616] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 32.604617] thunderbolt 0000:05:00.0: 3:8: disabled by eeprom [ 32.604618] thunderbolt 0000:05:00.0: 3:9: disabled by eeprom [ 32.604619] thunderbolt 0000:05:00.0: 3:a: disabled by eeprom [ 32.604619] thunderbolt 0000:05:00.0: 3:b: disabled by eeprom [ 32.607873] thunderbolt 0000:05:00.0: current switch config: [ 32.607875] thunderbolt 0000:05:00.0: Switch: 8086:1578 (Revision: 4, TB Version: 2) [ 32.607876] thunderbolt 0000:05:00.0: Max Port Number: 11 [ 32.607877] thunderbolt 0000:05:00.0: Config: [ 32.607879] thunderbolt 0000:05:00.0: Upstream Port Number: 1 Depth: 2 Route String: 0x303 Enabled: 1, PlugEventsDelay: 254ms [ 32.607880] thunderbolt 0000:05:00.0: unknown1: 0x0 unknown4: 0x0 [ 32.628563] thunderbolt 0000:05:00.0: 303: reading drom (length: 0x75) [ 33.018678] thunderbolt 0000:05:00.0: 303: uid: 0x8086461d6849d310 [ 33.018804] thunderbolt 0000:05:00.0: Port 0: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 33.018805] thunderbolt 0000:05:00.0: Max hop id (in/out): 7/7 [ 33.018805] thunderbolt 0000:05:00.0: Max counters: 8 [ 33.018806] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 33.019315] thunderbolt 0000:05:00.0: Port 1: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 33.019316] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 33.019316] thunderbolt 0000:05:00.0: Max counters: 16 [ 33.019317] thunderbolt 0000:05:00.0: NFC Credits: 0x7800000 [ 33.019827] thunderbolt 0000:05:00.0: Port 2: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 33.019827] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 33.019828] thunderbolt 0000:05:00.0: Max counters: 16 [ 33.019828] thunderbolt 0000:05:00.0: NFC Credits: 0x0 [ 33.020341] thunderbolt 0000:05:00.0: Port 3: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 33.020343] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 33.020343] thunderbolt 0000:05:00.0: Max counters: 16 [ 33.020344] thunderbolt 0000:05:00.0: NFC Credits: 0x3c00000 [ 33.020853] thunderbolt 0000:05:00.0: Port 4: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 33.020854] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 33.020855] thunderbolt 0000:05:00.0: Max counters: 16 [ 33.020856] thunderbolt 0000:05:00.0: NFC Credits: 0x3c00000 [ 33.020857] thunderbolt 0000:05:00.0: 303:5: disabled by eeprom [ 33.020981] thunderbolt 0000:05:00.0: Port 6: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100102)) [ 33.020982] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 33.020983] thunderbolt 0000:05:00.0: Max counters: 2 [ 33.020984] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 33.021109] thunderbolt 0000:05:00.0: Port 7: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100101)) [ 33.021110] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 33.021111] thunderbolt 0000:05:00.0: Max counters: 2 [ 33.021111] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 33.021236] thunderbolt 0000:05:00.0: Port 8: 8086:1578 (Revision: 4, TB Version: 1, Type: DP/HDMI (0xe0102)) [ 33.021237] thunderbolt 0000:05:00.0: Max hop id (in/out): 9/9 [ 33.021238] thunderbolt 0000:05:00.0: Max counters: 2 [ 33.021239] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 33.021240] thunderbolt 0000:05:00.0: 303:9: disabled by eeprom [ 33.021364] thunderbolt 0000:05:00.0: Port 10: 8086:1578 (Revision: 4, TB Version: 1, Type: DP/HDMI (0xe0101)) [ 33.021365] thunderbolt 0000:05:00.0: Max hop id (in/out): 9/9 [ 33.021366] thunderbolt 0000:05:00.0: Max counters: 2 [ 33.021367] thunderbolt 0000:05:00.0: NFC Credits: 0x1000000 [ 33.021368] thunderbolt 0000:05:00.0: 303:b: disabled by eeprom [ 59.918377] thunderbolt 0000:05:00.0: stopping RX ring 0 [ 59.918391] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1) [ 59.918414] thunderbolt 0000:05:00.0: stopping TX ring 0 [ 59.918424] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0) [ 59.918436] thunderbolt 0000:05:00.0: control channel stopped [ 70.252266] thunderbolt 0000:05:00.0: control channel starting... [ 70.252272] thunderbolt 0000:05:00.0: starting TX ring 0 [ 70.252283] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1) [ 70.252286] thunderbolt 0000:05:00.0: starting RX ring 0 [ 70.252296] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001) [ 87.006216] thunderbolt 0000:05:00.0: stopping RX ring 0 [ 87.006230] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1) [ 87.006268] thunderbolt 0000:05:00.0: stopping TX ring 0 [ 87.006275] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0) [ 87.006284] thunderbolt 0000:05:00.0: control channel stopped [ 98.948481] thunderbolt 0000:05:00.0: control channel starting... [ 98.948495] thunderbolt 0000:05:00.0: starting TX ring 0 [ 98.948517] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1) [ 98.948527] thunderbolt 0000:05:00.0: starting RX ring 0 [ 98.948546] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001) [ 114.910424] thunderbolt 0000:05:00.0: stopping RX ring 0 [ 114.910436] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1) [ 114.910455] thunderbolt 0000:05:00.0: stopping TX ring 0 [ 114.910464] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0) [ 114.910474] thunderbolt 0000:05:00.0: control channel stopped [ 155.720248] thunderbolt 0000:05:00.0: control channel starting... [ 155.720252] thunderbolt 0000:05:00.0: starting TX ring 0 [ 155.720261] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1) [ 155.720263] thunderbolt 0000:05:00.0: starting RX ring 0 [ 155.720271] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001) [ 156.967814] thunderbolt 0000:05:00.0: current switch config: [ 156.967817] thunderbolt 0000:05:00.0: Switch: 8086:1578 (Revision: 4, TB Version: 2) [ 156.967818] thunderbolt 0000:05:00.0: Max Port Number: 11 [ 156.967818] thunderbolt 0000:05:00.0: Config: [ 156.967820] thunderbolt 0000:05:00.0: Upstream Port Number: 1 Depth: 1 Route String: 0x3 Enabled: 1, PlugEventsDelay: 254ms [ 156.967821] thunderbolt 0000:05:00.0: unknown1: 0x0 unknown4: 0x0 [ 157.727645] thunderbolt 0000:05:00.0: 3: reading drom (length: 0x6e) [ 158.104628] thunderbolt 0000:05:00.0: 3: drom data crc32 mismatch (expected: 0xaf438340, got: 0xaf4383c0), continuing [ 158.105394] thunderbolt 0000:05:00.0: 3: uid: 0xd45f2f9db08200 [ 158.105522] thunderbolt 0000:05:00.0: Port 0: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 158.105523] thunderbolt 0000:05:00.0: Max hop id (in/out): 7/7 [ 158.105523] thunderbolt 0000:05:00.0: Max counters: 8 [ 158.105524] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 158.106033] thunderbolt 0000:05:00.0: Port 1: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 158.106034] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 158.106034] thunderbolt 0000:05:00.0: Max counters: 16 [ 158.106035] thunderbolt 0000:05:00.0: NFC Credits: 0x7800048 [ 158.106545] thunderbolt 0000:05:00.0: Port 2: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 158.106546] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 158.106546] thunderbolt 0000:05:00.0: Max counters: 16 [ 158.106547] thunderbolt 0000:05:00.0: NFC Credits: 0x0 [ 158.107057] thunderbolt 0000:05:00.0: Port 3: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 158.107057] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 158.107058] thunderbolt 0000:05:00.0: Max counters: 16 [ 158.107058] thunderbolt 0000:05:00.0: NFC Credits: 0x7800000 [ 158.107594] thunderbolt 0000:05:00.0: Port 4: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 158.107594] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 158.107595] thunderbolt 0000:05:00.0: Max counters: 16 [ 158.107595] thunderbolt 0000:05:00.0: NFC Credits: 0x0 [ 158.107596] thunderbolt 0000:05:00.0: 3:5: disabled by eeprom [ 158.107698] thunderbolt 0000:05:00.0: Port 6: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100102)) [ 158.107698] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 158.107699] thunderbolt 0000:05:00.0: Max counters: 2 [ 158.107699] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 158.107825] thunderbolt 0000:05:00.0: Port 7: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100101)) [ 158.107826] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 158.107826] thunderbolt 0000:05:00.0: Max counters: 2 [ 158.107827] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 158.107827] thunderbolt 0000:05:00.0: 3:8: disabled by eeprom [ 158.107828] thunderbolt 0000:05:00.0: 3:9: disabled by eeprom [ 158.107828] thunderbolt 0000:05:00.0: 3:a: disabled by eeprom [ 158.107829] thunderbolt 0000:05:00.0: 3:b: disabled by eeprom [ 158.110679] thunderbolt 0000:05:00.0: current switch config: [ 158.110682] thunderbolt 0000:05:00.0: Switch: 8086:1578 (Revision: 4, TB Version: 2) [ 158.110683] thunderbolt 0000:05:00.0: Max Port Number: 11 [ 158.110683] thunderbolt 0000:05:00.0: Config: [ 158.110684] thunderbolt 0000:05:00.0: Upstream Port Number: 1 Depth: 2 Route String: 0x303 Enabled: 1, PlugEventsDelay: 254ms [ 158.110685] thunderbolt 0000:05:00.0: unknown1: 0x0 unknown4: 0x0 [ 158.128469] thunderbolt 0000:05:00.0: 303: reading drom (length: 0x75) [ 158.515063] thunderbolt 0000:05:00.0: 303: uid: 0x8086461d6849d310 [ 158.515189] thunderbolt 0000:05:00.0: Port 0: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 158.515190] thunderbolt 0000:05:00.0: Max hop id (in/out): 7/7 [ 158.515191] thunderbolt 0000:05:00.0: Max counters: 8 [ 158.515191] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 158.515701] thunderbolt 0000:05:00.0: Port 1: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 158.515701] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 158.515702] thunderbolt 0000:05:00.0: Max counters: 16 [ 158.515702] thunderbolt 0000:05:00.0: NFC Credits: 0x7800000 [ 158.516213] thunderbolt 0000:05:00.0: Port 2: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 158.516213] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 158.516214] thunderbolt 0000:05:00.0: Max counters: 16 [ 158.516214] thunderbolt 0000:05:00.0: NFC Credits: 0x0 [ 158.516724] thunderbolt 0000:05:00.0: Port 3: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 158.516725] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 158.516725] thunderbolt 0000:05:00.0: Max counters: 16 [ 158.516726] thunderbolt 0000:05:00.0: NFC Credits: 0x3c00000 [ 158.517236] thunderbolt 0000:05:00.0: Port 4: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1)) [ 158.517237] thunderbolt 0000:05:00.0: Max hop id (in/out): 15/15 [ 158.517237] thunderbolt 0000:05:00.0: Max counters: 16 [ 158.517238] thunderbolt 0000:05:00.0: NFC Credits: 0x3c00000 [ 158.517238] thunderbolt 0000:05:00.0: 303:5: disabled by eeprom [ 158.517364] thunderbolt 0000:05:00.0: Port 6: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100102)) [ 158.517365] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 158.517365] thunderbolt 0000:05:00.0: Max counters: 2 [ 158.517366] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 158.517492] thunderbolt 0000:05:00.0: Port 7: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100101)) [ 158.517493] thunderbolt 0000:05:00.0: Max hop id (in/out): 8/8 [ 158.517493] thunderbolt 0000:05:00.0: Max counters: 2 [ 158.517494] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 158.517620] thunderbolt 0000:05:00.0: Port 8: 8086:1578 (Revision: 4, TB Version: 1, Type: DP/HDMI (0xe0102)) [ 158.517621] thunderbolt 0000:05:00.0: Max hop id (in/out): 9/9 [ 158.517621] thunderbolt 0000:05:00.0: Max counters: 2 [ 158.517622] thunderbolt 0000:05:00.0: NFC Credits: 0x800000 [ 158.517622] thunderbolt 0000:05:00.0: 303:9: disabled by eeprom [ 158.517748] thunderbolt 0000:05:00.0: Port 10: 8086:1578 (Revision: 4, TB Version: 1, Type: DP/HDMI (0xe0101)) [ 158.517749] thunderbolt 0000:05:00.0: Max hop id (in/out): 9/9 [ 158.517749] thunderbolt 0000:05:00.0: Max counters: 2 [ 158.517750] thunderbolt 0000:05:00.0: NFC Credits: 0x1000000 [ 158.517750] thunderbolt 0000:05:00.0: 303:b: disabled by eeprom [ 174.750235] thunderbolt 0000:05:00.0: stopping RX ring 0 [ 174.750247] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1) [ 174.750262] thunderbolt 0000:05:00.0: stopping TX ring 0 [ 174.750271] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0) [ 174.750281] thunderbolt 0000:05:00.0: control channel stopped [ 280.564072] thunderbolt 0000:05:00.0: control channel starting... [ 280.564074] thunderbolt 0000:05:00.0: starting TX ring 0 [ 280.564080] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1) [ 280.564081] thunderbolt 0000:05:00.0: starting RX ring 0 [ 280.564087] thunderbolt 0000:05:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001) [ 297.834059] thunderbolt 0000:05:00.0: stopping RX ring 0 [ 297.834073] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 12 (0x1001 -> 0x1) [ 297.834104] thunderbolt 0000:05:00.0: stopping TX ring 0 [ 297.834115] thunderbolt 0000:05:00.0: disabling interrupt at register 0x38200 bit 0 (0x1 -> 0x0) [ 297.834128] thunderbolt 0000:05:00.0: control channel stopped