All of lore.kernel.org
 help / color / mirror / Atom feed
* Thunderbolt hotplug fails on HP x360 13t-aw000/86FA with HP Thunderbolt 3 Dock
@ 2020-07-31  3:36 Matt Turner
  2020-08-03 10:54 ` Mika Westerberg
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Turner @ 2020-07-31  3:36 UTC (permalink / raw)
  To: Andreas Noever, Michael Jamet, Mika Westerberg, Yehezkel Bernat,
	linux-usb


[-- Attachment #1.1: Type: text/plain, Size: 1409 bytes --]

Looking for support or debugging suggestions to figure out why my HP
Spectre x360 (Icelake) laptop doesn't successfully hotplug with an HP
Thunderbolt 3 dock. I'm using 5.8.0-rc7-next-20200729. The dock's
firmwares have been updated from a system running Windows. The HP laptop
is using the latest BIOS as of last week, and nvm_version is "80.0":

% cat /sys/devices/pci0000:00/0000:00:0d.2/domain0/0-0/nvm_version 
80.0

Cold booting the system with the dock attached provides working
ethernet, USB hub, etc. Unplugging and replugging the dock does not
work, leaving it only providing power.

Attached are dmesg, lspci -vvnnt output, and /proc/iomem captured (1) at
coldboot with the dock attached, (2) after unplugging the dock, and (3)
after hotplugging the dock; and my kernel .config.

For search engines, the most apparent failure in dmesg is:

xhci_hcd 0000:2e:00.0: enabling device (0000 -> 0002)
xhci_hcd 0000:2e:00.0: xHCI Host Controller
xhci_hcd 0000:2e:00.0: new USB bus registered, assigned bus number 5
xhci_hcd 0000:2e:00.0: Host halt failed, -19
xhci_hcd 0000:2e:00.0: can't setup: -19
xhci_hcd 0000:2e:00.0: USB bus 5 deregistered
xhci_hcd 0000:2e:00.0: init 0000:2e:00.0 fail, -19
tg3 0000:2f:00.0: enabling device (0000 -> 0002)
tg3 0000:2f:00.0: phy probe failed, err -19
tg3 0000:2f:00.0: Problem fetching invariants of chip, aborting

Help? Thanks!
Matt

[-- Attachment #1.2: coldplugged-iomem --]
[-- Type: text/plain, Size: 4288 bytes --]

00000000-00000fff : Reserved
00001000-0009efff : System RAM
0009f000-000fffff : Reserved
  000a0000-000bffff : PCI Bus 0000:00
  000f0000-000fffff : System ROM
00100000-4e7bbfff : System RAM
  03000000-03e01742 : Kernel code
  04000000-044d8fff : Kernel rodata
  04600000-0480917f : Kernel data
  04db5000-04ffffff : Kernel bss
4e7bc000-4e81cfff : Reserved
4e81d000-506befff : System RAM
506bf000-506bffff : Reserved
506c0000-53005fff : System RAM
53006000-53006fff : ACPI Non-volatile Storage
53007000-5302cfff : System RAM
5302d000-5302dfff : Reserved
5302e000-578c9fff : System RAM
578ca000-58716fff : Reserved
58717000-587b4fff : ACPI Tables
587b5000-5886ffff : ACPI Non-volatile Storage
  587de000-587defff : USBC000:00
58870000-5df40fff : Reserved
5df41000-5dffefff : Unknown E820 type
5dfff000-5dffffff : System RAM
5e000000-61ffffff : Reserved
62e00000-67bfffff : Reserved
  64000000-67bfffff : Graphics Stolen Memory
67c00000-bfffffff : PCI Bus 0000:00
  67c00000-67c00fff : 0000:00:1f.5
  68000000-741fffff : PCI Bus 0000:2c
    68000000-680fffff : PCI Bus 0000:2d
      68000000-680fffff : PCI Bus 0000:2e
        68000000-68007fff : 0000:2e:00.0
          68000000-68007fff : xhci-hcd
  76000000-821fffff : PCI Bus 0000:01
  82200000-822fffff : PCI Bus 0000:58
    82200000-82203fff : 0000:58:00.0
      82200000-82203fff : nvme
  82300000-823fffff : PCI Bus 0000:57
    82300000-82300fff : 0000:57:00.0
      82300000-82300fff : rtsx_pci
  82400000-82401fff : 0000:00:17.0
    82400000-82401fff : ahci
  82402000-824027ff : 0000:00:17.0
    82402000-824027ff : ahci
  82403000-824030ff : 0000:00:17.0
    82403000-824030ff : ahci
c0000000-cfffffff : PCI MMCONFIG 0000 [bus 00-ff]
  c0000000-cfffffff : Reserved
    c0000000-cfffffff : pnp 00:04
fd000000-fd68ffff : pnp 00:05
fd6b0000-fd6cffff : pnp 00:05
fd6f0000-fdffffff : pnp 00:05
fe000000-fe010fff : Reserved
fe038000-fe038fff : pnp 00:07
fe200000-fe7fffff : pnp 00:05
fec00000-fec00fff : Reserved
  fec00000-fec003ff : IOAPIC 0
fed00000-fed00fff : Reserved
  fed00000-fed003ff : HPET 0
    fed00000-fed003ff : PNP0103:00
fed10000-fed17fff : pnp 00:04
fed20000-fed7ffff : Reserved
  fed40000-fed44fff : MSFT0101:00
    fed40000-fed44fff : MSFT0101:00 MSFT0101:00
fed90000-fed93fff : pnp 00:04
feda0000-feda0fff : pnp 00:04
feda1000-feda1fff : pnp 00:04
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : Reserved
ff000000-ffffffff : Reserved
  ff000000-ffffffff : pnp 00:05
100000000-4983fffff : System RAM
498400000-49bffffff : RAM buffer
4000000000-7fffffffff : PCI Bus 0000:00
  4000000000-400fffffff : 0000:00:02.0
  4010000000-4010000fff : 0000:00:15.0
    4010000000-40100001ff : lpss_dev
      4010000000-40100001ff : i2c_designware.0 lpss_dev
    4010000200-40100002ff : lpss_priv
    4010000800-4010000fff : idma64.0
      4010000800-4010000fff : idma64.0 idma64.0
  4010001000-4010001fff : 0000:00:15.1
    4010001000-40100011ff : lpss_dev
      4010001000-40100011ff : i2c_designware.1 lpss_dev
    4010001200-40100012ff : lpss_priv
    4010001800-4010001fff : idma64.1
      4010001800-4010001fff : idma64.1 idma64.1
  6000000000-601bffffff : PCI Bus 0000:2c
    6000000000-60000fffff : PCI Bus 0000:2d
      6000000000-60000fffff : PCI Bus 0000:2f
        6000000000-600000ffff : 0000:2f:00.0
          6000000000-600000ffff : tg3
        6000010000-600001ffff : 0000:2f:00.0
          6000010000-600001ffff : tg3
  6020000000-603bffffff : PCI Bus 0000:01
  603c000000-603cffffff : 0000:00:02.0
  603d000000-603d0fffff : 0000:00:1f.3
    603d000000-603d0fffff : Audio DSP
  603d100000-603d13ffff : 0000:00:0d.2
    603d100000-603d13ffff : thunderbolt
  603d140000-603d14ffff : 0000:00:14.0
    603d140000-603d14ffff : xhci-hcd
  603d150000-603d15ffff : 0000:00:0d.0
    603d150000-603d15ffff : xhci-hcd
  603d160000-603d16ffff : 0000:00:04.0
  603d170000-603d173fff : 0000:00:1f.3
    603d170000-603d173fff : Audio DSP
  603d174000-603d177fff : 0000:00:14.3
    603d174000-603d177fff : iwlwifi
  603d178000-603d179fff : 0000:00:14.2
  603d17a000-603d17bfff : 0000:00:12.0
    603d17a000-603d17bfff : intel_ish_ipc
  603d17c000-603d17c0ff : 0000:00:1f.4
  603d17d000-603d17dfff : 0000:00:16.0
    603d17d000-603d17dfff : mei_me
  603d180000-603d180fff : 0000:00:14.2
  603d181000-603d181fff : 0000:00:0d.2

[-- Attachment #1.3: coldplugged-lspci --]
[-- Type: text/plain, Size: 2019 bytes --]

-[0000:00]-+-00.0  Intel Corporation Device [8086:8a12]
           +-02.0  Intel Corporation Iris Plus Graphics G7 [8086:8a52]
           +-04.0  Intel Corporation Device [8086:8a03]
           +-07.0-[01-2b]--
           +-07.1-[2c-56]----00.0-[2d-32]--+-00.0-[2e]----00.0  ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller [1b21:1142]
           |                               +-01.0-[2f]----00.0  Broadcom Inc. and subsidiaries NetXtreme BCM57762 Gigabit Ethernet PCIe [14e4:1682]
           |                               +-02.0-[30]--
           |                               +-03.0-[31]--
           |                               \-04.0-[32]--
           +-0d.0  Intel Corporation Ice Lake Thunderbolt 3 USB Controller [8086:8a13]
           +-0d.2  Intel Corporation Ice Lake Thunderbolt 3 NHI #0 [8086:8a17]
           +-12.0  Intel Corporation Device [8086:34fc]
           +-14.0  Intel Corporation Ice Lake-LP USB 3.1 xHCI Host Controller [8086:34ed]
           +-14.2  Intel Corporation Device [8086:34ef]
           +-14.3  Intel Corporation Killer Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW) [8086:34f0]
           +-15.0  Intel Corporation Ice Lake-LP Serial IO I2C Controller #0 [8086:34e8]
           +-15.1  Intel Corporation Ice Lake-LP Serial IO I2C Controller #1 [8086:34e9]
           +-16.0  Intel Corporation Management Engine Interface [8086:34e0]
           +-17.0  Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a]
           +-1c.0-[57]----00.0  Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a]
           +-1d.0-[58]----00.0  Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a804]
           +-1f.0  Intel Corporation Ice Lake-LP LPC Controller [8086:3482]
           +-1f.3  Intel Corporation Smart Sound Technology Audio Controller [8086:34c8]
           +-1f.4  Intel Corporation Ice Lake-LP SMBus Controller [8086:34a3]
           \-1f.5  Intel Corporation Ice Lake-LP SPI Controller [8086:34a4]

[-- Attachment #1.4: unplugged-iomem --]
[-- Type: text/plain, Size: 3870 bytes --]

00000000-00000fff : Reserved
00001000-0009efff : System RAM
0009f000-000fffff : Reserved
  000a0000-000bffff : PCI Bus 0000:00
  000f0000-000fffff : System ROM
00100000-4e7bbfff : System RAM
  03000000-03e01742 : Kernel code
  04000000-044d8fff : Kernel rodata
  04600000-0480917f : Kernel data
  04db5000-04ffffff : Kernel bss
4e7bc000-4e81cfff : Reserved
4e81d000-506befff : System RAM
506bf000-506bffff : Reserved
506c0000-53005fff : System RAM
53006000-53006fff : ACPI Non-volatile Storage
53007000-5302cfff : System RAM
5302d000-5302dfff : Reserved
5302e000-578c9fff : System RAM
578ca000-58716fff : Reserved
58717000-587b4fff : ACPI Tables
587b5000-5886ffff : ACPI Non-volatile Storage
  587de000-587defff : USBC000:00
58870000-5df40fff : Reserved
5df41000-5dffefff : Unknown E820 type
5dfff000-5dffffff : System RAM
5e000000-61ffffff : Reserved
62e00000-67bfffff : Reserved
  64000000-67bfffff : Graphics Stolen Memory
67c00000-bfffffff : PCI Bus 0000:00
  67c00000-67c00fff : 0000:00:1f.5
  68000000-741fffff : PCI Bus 0000:2c
  76000000-821fffff : PCI Bus 0000:01
  82200000-822fffff : PCI Bus 0000:58
    82200000-82203fff : 0000:58:00.0
      82200000-82203fff : nvme
  82300000-823fffff : PCI Bus 0000:57
    82300000-82300fff : 0000:57:00.0
      82300000-82300fff : rtsx_pci
  82400000-82401fff : 0000:00:17.0
    82400000-82401fff : ahci
  82402000-824027ff : 0000:00:17.0
    82402000-824027ff : ahci
  82403000-824030ff : 0000:00:17.0
    82403000-824030ff : ahci
c0000000-cfffffff : PCI MMCONFIG 0000 [bus 00-ff]
  c0000000-cfffffff : Reserved
    c0000000-cfffffff : pnp 00:04
fd000000-fd68ffff : pnp 00:05
fd6b0000-fd6cffff : pnp 00:05
fd6f0000-fdffffff : pnp 00:05
fe000000-fe010fff : Reserved
fe038000-fe038fff : pnp 00:07
fe200000-fe7fffff : pnp 00:05
fec00000-fec00fff : Reserved
  fec00000-fec003ff : IOAPIC 0
fed00000-fed00fff : Reserved
  fed00000-fed003ff : HPET 0
    fed00000-fed003ff : PNP0103:00
fed10000-fed17fff : pnp 00:04
fed20000-fed7ffff : Reserved
  fed40000-fed44fff : MSFT0101:00
    fed40000-fed44fff : MSFT0101:00 MSFT0101:00
fed90000-fed93fff : pnp 00:04
feda0000-feda0fff : pnp 00:04
feda1000-feda1fff : pnp 00:04
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : Reserved
ff000000-ffffffff : Reserved
  ff000000-ffffffff : pnp 00:05
100000000-4983fffff : System RAM
498400000-49bffffff : RAM buffer
4000000000-7fffffffff : PCI Bus 0000:00
  4000000000-400fffffff : 0000:00:02.0
  4010000000-4010000fff : 0000:00:15.0
    4010000000-40100001ff : lpss_dev
      4010000000-40100001ff : i2c_designware.0 lpss_dev
    4010000200-40100002ff : lpss_priv
    4010000800-4010000fff : idma64.0
      4010000800-4010000fff : idma64.0 idma64.0
  4010001000-4010001fff : 0000:00:15.1
    4010001000-40100011ff : lpss_dev
      4010001000-40100011ff : i2c_designware.1 lpss_dev
    4010001200-40100012ff : lpss_priv
    4010001800-4010001fff : idma64.1
      4010001800-4010001fff : idma64.1 idma64.1
  6000000000-601bffffff : PCI Bus 0000:2c
  6020000000-603bffffff : PCI Bus 0000:01
  603c000000-603cffffff : 0000:00:02.0
  603d000000-603d0fffff : 0000:00:1f.3
    603d000000-603d0fffff : Audio DSP
  603d100000-603d13ffff : 0000:00:0d.2
    603d100000-603d13ffff : thunderbolt
  603d140000-603d14ffff : 0000:00:14.0
    603d140000-603d14ffff : xhci-hcd
  603d150000-603d15ffff : 0000:00:0d.0
    603d150000-603d15ffff : xhci-hcd
  603d160000-603d16ffff : 0000:00:04.0
  603d170000-603d173fff : 0000:00:1f.3
    603d170000-603d173fff : Audio DSP
  603d174000-603d177fff : 0000:00:14.3
    603d174000-603d177fff : iwlwifi
  603d178000-603d179fff : 0000:00:14.2
  603d17a000-603d17bfff : 0000:00:12.0
    603d17a000-603d17bfff : intel_ish_ipc
  603d17c000-603d17c0ff : 0000:00:1f.4
  603d17d000-603d17dfff : 0000:00:16.0
    603d17d000-603d17dfff : mei_me
  603d180000-603d180fff : 0000:00:14.2
  603d181000-603d181fff : 0000:00:0d.2

[-- Attachment #1.5: unplugged-lspci --]
[-- Type: text/plain, Size: 1595 bytes --]

-[0000:00]-+-00.0  Intel Corporation Device [8086:8a12]
           +-02.0  Intel Corporation Iris Plus Graphics G7 [8086:8a52]
           +-04.0  Intel Corporation Device [8086:8a03]
           +-07.0-[01-2b]--
           +-07.1-[2c-56]--
           +-0d.0  Intel Corporation Ice Lake Thunderbolt 3 USB Controller [8086:8a13]
           +-0d.2  Intel Corporation Ice Lake Thunderbolt 3 NHI #0 [8086:8a17]
           +-12.0  Intel Corporation Device [8086:34fc]
           +-14.0  Intel Corporation Ice Lake-LP USB 3.1 xHCI Host Controller [8086:34ed]
           +-14.2  Intel Corporation Device [8086:34ef]
           +-14.3  Intel Corporation Killer Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW) [8086:34f0]
           +-15.0  Intel Corporation Ice Lake-LP Serial IO I2C Controller #0 [8086:34e8]
           +-15.1  Intel Corporation Ice Lake-LP Serial IO I2C Controller #1 [8086:34e9]
           +-16.0  Intel Corporation Management Engine Interface [8086:34e0]
           +-17.0  Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a]
           +-1c.0-[57]----00.0  Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a]
           +-1d.0-[58]----00.0  Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a804]
           +-1f.0  Intel Corporation Ice Lake-LP LPC Controller [8086:3482]
           +-1f.3  Intel Corporation Smart Sound Technology Audio Controller [8086:34c8]
           +-1f.4  Intel Corporation Ice Lake-LP SMBus Controller [8086:34a3]
           \-1f.5  Intel Corporation Ice Lake-LP SPI Controller [8086:34a4]

[-- Attachment #1.6: hotplugged-iomem --]
[-- Type: text/plain, Size: 4525 bytes --]

00000000-00000fff : Reserved
00001000-0009efff : System RAM
0009f000-000fffff : Reserved
  000a0000-000bffff : PCI Bus 0000:00
  000f0000-000fffff : System ROM
00100000-4e7bbfff : System RAM
  03000000-03e01742 : Kernel code
  04000000-044d8fff : Kernel rodata
  04600000-0480917f : Kernel data
  04db5000-04ffffff : Kernel bss
4e7bc000-4e81cfff : Reserved
4e81d000-506befff : System RAM
506bf000-506bffff : Reserved
506c0000-53005fff : System RAM
53006000-53006fff : ACPI Non-volatile Storage
53007000-5302cfff : System RAM
5302d000-5302dfff : Reserved
5302e000-578c9fff : System RAM
578ca000-58716fff : Reserved
58717000-587b4fff : ACPI Tables
587b5000-5886ffff : ACPI Non-volatile Storage
  587de000-587defff : USBC000:00
58870000-5df40fff : Reserved
5df41000-5dffefff : Unknown E820 type
5dfff000-5dffffff : System RAM
5e000000-61ffffff : Reserved
62e00000-67bfffff : Reserved
  64000000-67bfffff : Graphics Stolen Memory
67c00000-bfffffff : PCI Bus 0000:00
  67c00000-67c00fff : 0000:00:1f.5
  68000000-741fffff : PCI Bus 0000:2c
    68000000-741fffff : PCI Bus 0000:2d
      68000000-680fffff : PCI Bus 0000:2e
        68000000-68007fff : 0000:2e:00.0
      68100000-681fffff : PCI Bus 0000:2f
      68200000-682fffff : PCI Bus 0000:30
      68300000-683fffff : PCI Bus 0000:31
      68400000-741fffff : PCI Bus 0000:32
  76000000-821fffff : PCI Bus 0000:01
  82200000-822fffff : PCI Bus 0000:58
    82200000-82203fff : 0000:58:00.0
      82200000-82203fff : nvme
  82300000-823fffff : PCI Bus 0000:57
    82300000-82300fff : 0000:57:00.0
      82300000-82300fff : rtsx_pci
  82400000-82401fff : 0000:00:17.0
    82400000-82401fff : ahci
  82402000-824027ff : 0000:00:17.0
    82402000-824027ff : ahci
  82403000-824030ff : 0000:00:17.0
    82403000-824030ff : ahci
c0000000-cfffffff : PCI MMCONFIG 0000 [bus 00-ff]
  c0000000-cfffffff : Reserved
    c0000000-cfffffff : pnp 00:04
fd000000-fd68ffff : pnp 00:05
fd6b0000-fd6cffff : pnp 00:05
fd6f0000-fdffffff : pnp 00:05
fe000000-fe010fff : Reserved
fe038000-fe038fff : pnp 00:07
fe200000-fe7fffff : pnp 00:05
fec00000-fec00fff : Reserved
  fec00000-fec003ff : IOAPIC 0
fed00000-fed00fff : Reserved
  fed00000-fed003ff : HPET 0
    fed00000-fed003ff : PNP0103:00
fed10000-fed17fff : pnp 00:04
fed20000-fed7ffff : Reserved
  fed40000-fed44fff : MSFT0101:00
    fed40000-fed44fff : MSFT0101:00 MSFT0101:00
fed90000-fed93fff : pnp 00:04
feda0000-feda0fff : pnp 00:04
feda1000-feda1fff : pnp 00:04
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : Reserved
ff000000-ffffffff : Reserved
  ff000000-ffffffff : pnp 00:05
100000000-4983fffff : System RAM
498400000-49bffffff : RAM buffer
4000000000-7fffffffff : PCI Bus 0000:00
  4000000000-400fffffff : 0000:00:02.0
  4010000000-4010000fff : 0000:00:15.0
    4010000000-40100001ff : lpss_dev
      4010000000-40100001ff : i2c_designware.0 lpss_dev
    4010000200-40100002ff : lpss_priv
    4010000800-4010000fff : idma64.0
      4010000800-4010000fff : idma64.0 idma64.0
  4010001000-4010001fff : 0000:00:15.1
    4010001000-40100011ff : lpss_dev
      4010001000-40100011ff : i2c_designware.1 lpss_dev
    4010001200-40100012ff : lpss_priv
    4010001800-4010001fff : idma64.1
      4010001800-4010001fff : idma64.1 idma64.1
  6000000000-601bffffff : PCI Bus 0000:2c
    6000000000-601bffffff : PCI Bus 0000:2d
      6000000000-60000fffff : PCI Bus 0000:2e
      6000100000-60001fffff : PCI Bus 0000:2f
        6000100000-600010ffff : 0000:2f:00.0
        6000110000-600011ffff : 0000:2f:00.0
      6000200000-60002fffff : PCI Bus 0000:30
      6000300000-60003fffff : PCI Bus 0000:31
      6000400000-601bffffff : PCI Bus 0000:32
  6020000000-603bffffff : PCI Bus 0000:01
  603c000000-603cffffff : 0000:00:02.0
  603d000000-603d0fffff : 0000:00:1f.3
    603d000000-603d0fffff : Audio DSP
  603d100000-603d13ffff : 0000:00:0d.2
    603d100000-603d13ffff : thunderbolt
  603d140000-603d14ffff : 0000:00:14.0
    603d140000-603d14ffff : xhci-hcd
  603d150000-603d15ffff : 0000:00:0d.0
    603d150000-603d15ffff : xhci-hcd
  603d160000-603d16ffff : 0000:00:04.0
  603d170000-603d173fff : 0000:00:1f.3
    603d170000-603d173fff : Audio DSP
  603d174000-603d177fff : 0000:00:14.3
    603d174000-603d177fff : iwlwifi
  603d178000-603d179fff : 0000:00:14.2
  603d17a000-603d17bfff : 0000:00:12.0
    603d17a000-603d17bfff : intel_ish_ipc
  603d17c000-603d17c0ff : 0000:00:1f.4
  603d17d000-603d17dfff : 0000:00:16.0
    603d17d000-603d17dfff : mei_me
  603d180000-603d180fff : 0000:00:14.2
  603d181000-603d181fff : 0000:00:0d.2

[-- Attachment #1.7: hotplugged-lspci --]
[-- Type: text/plain, Size: 2022 bytes --]

-[0000:00]-+-00.0  Intel Corporation Device [8086:8a12]
           +-02.0  Intel Corporation Iris Plus Graphics G7 [8086:8a52]
           +-04.0  Intel Corporation Device [8086:8a03]
           +-07.0-[01-2b]--
           +-07.1-[2c-56]----00.0-[2d-56]--+-00.0-[2e]----00.0  ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller [1b21:1142]
           |                               +-01.0-[2f]----00.0  Broadcom Inc. and subsidiaries NetXtreme BCM57762 Gigabit Ethernet PCIe [14e4:1682]
           |                               +-02.0-[30]--
           |                               +-03.0-[31]--
           |                               \-04.0-[32-56]--
           +-0d.0  Intel Corporation Ice Lake Thunderbolt 3 USB Controller [8086:8a13]
           +-0d.2  Intel Corporation Ice Lake Thunderbolt 3 NHI #0 [8086:8a17]
           +-12.0  Intel Corporation Device [8086:34fc]
           +-14.0  Intel Corporation Ice Lake-LP USB 3.1 xHCI Host Controller [8086:34ed]
           +-14.2  Intel Corporation Device [8086:34ef]
           +-14.3  Intel Corporation Killer Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW) [8086:34f0]
           +-15.0  Intel Corporation Ice Lake-LP Serial IO I2C Controller #0 [8086:34e8]
           +-15.1  Intel Corporation Ice Lake-LP Serial IO I2C Controller #1 [8086:34e9]
           +-16.0  Intel Corporation Management Engine Interface [8086:34e0]
           +-17.0  Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a]
           +-1c.0-[57]----00.0  Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a]
           +-1d.0-[58]----00.0  Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a804]
           +-1f.0  Intel Corporation Ice Lake-LP LPC Controller [8086:3482]
           +-1f.3  Intel Corporation Smart Sound Technology Audio Controller [8086:34c8]
           +-1f.4  Intel Corporation Ice Lake-LP SMBus Controller [8086:34a3]
           \-1f.5  Intel Corporation Ice Lake-LP SPI Controller [8086:34a4]

[-- Attachment #1.8: thunderbolt-dmesg.tar.bz2 --]
[-- Type: application/x-bzip2, Size: 29130 bytes --]

[-- Attachment #1.9: config.gz --]
[-- Type: application/octet-stream, Size: 30069 bytes --]

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 376 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Thunderbolt hotplug fails on HP x360 13t-aw000/86FA with HP Thunderbolt 3 Dock
  2020-07-31  3:36 Thunderbolt hotplug fails on HP x360 13t-aw000/86FA with HP Thunderbolt 3 Dock Matt Turner
@ 2020-08-03 10:54 ` Mika Westerberg
  2020-08-03 16:52   ` Matt Turner
  0 siblings, 1 reply; 5+ messages in thread
From: Mika Westerberg @ 2020-08-03 10:54 UTC (permalink / raw)
  To: Matt Turner; +Cc: Andreas Noever, Michael Jamet, Yehezkel Bernat, linux-usb

Hi,

Can you try the patch here?

  https://lore.kernel.org/patchwork/patch/1257708/

On Thu, Jul 30, 2020 at 08:36:20PM -0700, Matt Turner wrote:
> Looking for support or debugging suggestions to figure out why my HP
> Spectre x360 (Icelake) laptop doesn't successfully hotplug with an HP
> Thunderbolt 3 dock. I'm using 5.8.0-rc7-next-20200729. The dock's
> firmwares have been updated from a system running Windows. The HP laptop
> is using the latest BIOS as of last week, and nvm_version is "80.0":
> 
> % cat /sys/devices/pci0000:00/0000:00:0d.2/domain0/0-0/nvm_version 80.0
> 
> Cold booting the system with the dock attached provides working
> ethernet, USB hub, etc. Unplugging and replugging the dock does not
> work, leaving it only providing power.
> 
> Attached are dmesg, lspci -vvnnt output, and /proc/iomem captured (1) at
> coldboot with the dock attached, (2) after unplugging the dock, and (3)
> after hotplugging the dock; and my kernel .config.
> 
> For search engines, the most apparent failure in dmesg is:
> 
> xhci_hcd 0000:2e:00.0: enabling device (0000 -> 0002)
> xhci_hcd 0000:2e:00.0: xHCI Host Controller
> xhci_hcd 0000:2e:00.0: new USB bus registered, assigned bus number 5
> xhci_hcd 0000:2e:00.0: Host halt failed, -19
> xhci_hcd 0000:2e:00.0: can't setup: -19
> xhci_hcd 0000:2e:00.0: USB bus 5 deregistered
> xhci_hcd 0000:2e:00.0: init 0000:2e:00.0 fail, -19
> tg3 0000:2f:00.0: enabling device (0000 -> 0002)
> tg3 0000:2f:00.0: phy probe failed, err -19
> tg3 0000:2f:00.0: Problem fetching invariants of chip, aborting
> 
> Help? Thanks!
> Matt

> 00000000-00000fff : Reserved
> 00001000-0009efff : System RAM
> 0009f000-000fffff : Reserved
>   000a0000-000bffff : PCI Bus 0000:00
>   000f0000-000fffff : System ROM
> 00100000-4e7bbfff : System RAM
>   03000000-03e01742 : Kernel code
>   04000000-044d8fff : Kernel rodata
>   04600000-0480917f : Kernel data
>   04db5000-04ffffff : Kernel bss
> 4e7bc000-4e81cfff : Reserved
> 4e81d000-506befff : System RAM
> 506bf000-506bffff : Reserved
> 506c0000-53005fff : System RAM
> 53006000-53006fff : ACPI Non-volatile Storage
> 53007000-5302cfff : System RAM
> 5302d000-5302dfff : Reserved
> 5302e000-578c9fff : System RAM
> 578ca000-58716fff : Reserved
> 58717000-587b4fff : ACPI Tables
> 587b5000-5886ffff : ACPI Non-volatile Storage
>   587de000-587defff : USBC000:00
> 58870000-5df40fff : Reserved
> 5df41000-5dffefff : Unknown E820 type
> 5dfff000-5dffffff : System RAM
> 5e000000-61ffffff : Reserved
> 62e00000-67bfffff : Reserved
>   64000000-67bfffff : Graphics Stolen Memory
> 67c00000-bfffffff : PCI Bus 0000:00
>   67c00000-67c00fff : 0000:00:1f.5
>   68000000-741fffff : PCI Bus 0000:2c
>     68000000-680fffff : PCI Bus 0000:2d
>       68000000-680fffff : PCI Bus 0000:2e
>         68000000-68007fff : 0000:2e:00.0
>           68000000-68007fff : xhci-hcd
>   76000000-821fffff : PCI Bus 0000:01
>   82200000-822fffff : PCI Bus 0000:58
>     82200000-82203fff : 0000:58:00.0
>       82200000-82203fff : nvme
>   82300000-823fffff : PCI Bus 0000:57
>     82300000-82300fff : 0000:57:00.0
>       82300000-82300fff : rtsx_pci
>   82400000-82401fff : 0000:00:17.0
>     82400000-82401fff : ahci
>   82402000-824027ff : 0000:00:17.0
>     82402000-824027ff : ahci
>   82403000-824030ff : 0000:00:17.0
>     82403000-824030ff : ahci
> c0000000-cfffffff : PCI MMCONFIG 0000 [bus 00-ff]
>   c0000000-cfffffff : Reserved
>     c0000000-cfffffff : pnp 00:04
> fd000000-fd68ffff : pnp 00:05
> fd6b0000-fd6cffff : pnp 00:05
> fd6f0000-fdffffff : pnp 00:05
> fe000000-fe010fff : Reserved
> fe038000-fe038fff : pnp 00:07
> fe200000-fe7fffff : pnp 00:05
> fec00000-fec00fff : Reserved
>   fec00000-fec003ff : IOAPIC 0
> fed00000-fed00fff : Reserved
>   fed00000-fed003ff : HPET 0
>     fed00000-fed003ff : PNP0103:00
> fed10000-fed17fff : pnp 00:04
> fed20000-fed7ffff : Reserved
>   fed40000-fed44fff : MSFT0101:00
>     fed40000-fed44fff : MSFT0101:00 MSFT0101:00
> fed90000-fed93fff : pnp 00:04
> feda0000-feda0fff : pnp 00:04
> feda1000-feda1fff : pnp 00:04
> fee00000-fee00fff : Local APIC
>   fee00000-fee00fff : Reserved
> ff000000-ffffffff : Reserved
>   ff000000-ffffffff : pnp 00:05
> 100000000-4983fffff : System RAM
> 498400000-49bffffff : RAM buffer
> 4000000000-7fffffffff : PCI Bus 0000:00
>   4000000000-400fffffff : 0000:00:02.0
>   4010000000-4010000fff : 0000:00:15.0
>     4010000000-40100001ff : lpss_dev
>       4010000000-40100001ff : i2c_designware.0 lpss_dev
>     4010000200-40100002ff : lpss_priv
>     4010000800-4010000fff : idma64.0
>       4010000800-4010000fff : idma64.0 idma64.0
>   4010001000-4010001fff : 0000:00:15.1
>     4010001000-40100011ff : lpss_dev
>       4010001000-40100011ff : i2c_designware.1 lpss_dev
>     4010001200-40100012ff : lpss_priv
>     4010001800-4010001fff : idma64.1
>       4010001800-4010001fff : idma64.1 idma64.1
>   6000000000-601bffffff : PCI Bus 0000:2c
>     6000000000-60000fffff : PCI Bus 0000:2d
>       6000000000-60000fffff : PCI Bus 0000:2f
>         6000000000-600000ffff : 0000:2f:00.0
>           6000000000-600000ffff : tg3
>         6000010000-600001ffff : 0000:2f:00.0
>           6000010000-600001ffff : tg3
>   6020000000-603bffffff : PCI Bus 0000:01
>   603c000000-603cffffff : 0000:00:02.0
>   603d000000-603d0fffff : 0000:00:1f.3
>     603d000000-603d0fffff : Audio DSP
>   603d100000-603d13ffff : 0000:00:0d.2
>     603d100000-603d13ffff : thunderbolt
>   603d140000-603d14ffff : 0000:00:14.0
>     603d140000-603d14ffff : xhci-hcd
>   603d150000-603d15ffff : 0000:00:0d.0
>     603d150000-603d15ffff : xhci-hcd
>   603d160000-603d16ffff : 0000:00:04.0
>   603d170000-603d173fff : 0000:00:1f.3
>     603d170000-603d173fff : Audio DSP
>   603d174000-603d177fff : 0000:00:14.3
>     603d174000-603d177fff : iwlwifi
>   603d178000-603d179fff : 0000:00:14.2
>   603d17a000-603d17bfff : 0000:00:12.0
>     603d17a000-603d17bfff : intel_ish_ipc
>   603d17c000-603d17c0ff : 0000:00:1f.4
>   603d17d000-603d17dfff : 0000:00:16.0
>     603d17d000-603d17dfff : mei_me
>   603d180000-603d180fff : 0000:00:14.2
>   603d181000-603d181fff : 0000:00:0d.2

> -[0000:00]-+-00.0  Intel Corporation Device [8086:8a12]
>            +-02.0  Intel Corporation Iris Plus Graphics G7 [8086:8a52]
>            +-04.0  Intel Corporation Device [8086:8a03]
>            +-07.0-[01-2b]--
>            +-07.1-[2c-56]----00.0-[2d-32]--+-00.0-[2e]----00.0  ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller [1b21:1142]
>            |                               +-01.0-[2f]----00.0  Broadcom Inc. and subsidiaries NetXtreme BCM57762 Gigabit Ethernet PCIe [14e4:1682]
>            |                               +-02.0-[30]--
>            |                               +-03.0-[31]--
>            |                               \-04.0-[32]--
>            +-0d.0  Intel Corporation Ice Lake Thunderbolt 3 USB Controller [8086:8a13]
>            +-0d.2  Intel Corporation Ice Lake Thunderbolt 3 NHI #0 [8086:8a17]
>            +-12.0  Intel Corporation Device [8086:34fc]
>            +-14.0  Intel Corporation Ice Lake-LP USB 3.1 xHCI Host Controller [8086:34ed]
>            +-14.2  Intel Corporation Device [8086:34ef]
>            +-14.3  Intel Corporation Killer Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW) [8086:34f0]
>            +-15.0  Intel Corporation Ice Lake-LP Serial IO I2C Controller #0 [8086:34e8]
>            +-15.1  Intel Corporation Ice Lake-LP Serial IO I2C Controller #1 [8086:34e9]
>            +-16.0  Intel Corporation Management Engine Interface [8086:34e0]
>            +-17.0  Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a]
>            +-1c.0-[57]----00.0  Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a]
>            +-1d.0-[58]----00.0  Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a804]
>            +-1f.0  Intel Corporation Ice Lake-LP LPC Controller [8086:3482]
>            +-1f.3  Intel Corporation Smart Sound Technology Audio Controller [8086:34c8]
>            +-1f.4  Intel Corporation Ice Lake-LP SMBus Controller [8086:34a3]
>            \-1f.5  Intel Corporation Ice Lake-LP SPI Controller [8086:34a4]

> 00000000-00000fff : Reserved
> 00001000-0009efff : System RAM
> 0009f000-000fffff : Reserved
>   000a0000-000bffff : PCI Bus 0000:00
>   000f0000-000fffff : System ROM
> 00100000-4e7bbfff : System RAM
>   03000000-03e01742 : Kernel code
>   04000000-044d8fff : Kernel rodata
>   04600000-0480917f : Kernel data
>   04db5000-04ffffff : Kernel bss
> 4e7bc000-4e81cfff : Reserved
> 4e81d000-506befff : System RAM
> 506bf000-506bffff : Reserved
> 506c0000-53005fff : System RAM
> 53006000-53006fff : ACPI Non-volatile Storage
> 53007000-5302cfff : System RAM
> 5302d000-5302dfff : Reserved
> 5302e000-578c9fff : System RAM
> 578ca000-58716fff : Reserved
> 58717000-587b4fff : ACPI Tables
> 587b5000-5886ffff : ACPI Non-volatile Storage
>   587de000-587defff : USBC000:00
> 58870000-5df40fff : Reserved
> 5df41000-5dffefff : Unknown E820 type
> 5dfff000-5dffffff : System RAM
> 5e000000-61ffffff : Reserved
> 62e00000-67bfffff : Reserved
>   64000000-67bfffff : Graphics Stolen Memory
> 67c00000-bfffffff : PCI Bus 0000:00
>   67c00000-67c00fff : 0000:00:1f.5
>   68000000-741fffff : PCI Bus 0000:2c
>   76000000-821fffff : PCI Bus 0000:01
>   82200000-822fffff : PCI Bus 0000:58
>     82200000-82203fff : 0000:58:00.0
>       82200000-82203fff : nvme
>   82300000-823fffff : PCI Bus 0000:57
>     82300000-82300fff : 0000:57:00.0
>       82300000-82300fff : rtsx_pci
>   82400000-82401fff : 0000:00:17.0
>     82400000-82401fff : ahci
>   82402000-824027ff : 0000:00:17.0
>     82402000-824027ff : ahci
>   82403000-824030ff : 0000:00:17.0
>     82403000-824030ff : ahci
> c0000000-cfffffff : PCI MMCONFIG 0000 [bus 00-ff]
>   c0000000-cfffffff : Reserved
>     c0000000-cfffffff : pnp 00:04
> fd000000-fd68ffff : pnp 00:05
> fd6b0000-fd6cffff : pnp 00:05
> fd6f0000-fdffffff : pnp 00:05
> fe000000-fe010fff : Reserved
> fe038000-fe038fff : pnp 00:07
> fe200000-fe7fffff : pnp 00:05
> fec00000-fec00fff : Reserved
>   fec00000-fec003ff : IOAPIC 0
> fed00000-fed00fff : Reserved
>   fed00000-fed003ff : HPET 0
>     fed00000-fed003ff : PNP0103:00
> fed10000-fed17fff : pnp 00:04
> fed20000-fed7ffff : Reserved
>   fed40000-fed44fff : MSFT0101:00
>     fed40000-fed44fff : MSFT0101:00 MSFT0101:00
> fed90000-fed93fff : pnp 00:04
> feda0000-feda0fff : pnp 00:04
> feda1000-feda1fff : pnp 00:04
> fee00000-fee00fff : Local APIC
>   fee00000-fee00fff : Reserved
> ff000000-ffffffff : Reserved
>   ff000000-ffffffff : pnp 00:05
> 100000000-4983fffff : System RAM
> 498400000-49bffffff : RAM buffer
> 4000000000-7fffffffff : PCI Bus 0000:00
>   4000000000-400fffffff : 0000:00:02.0
>   4010000000-4010000fff : 0000:00:15.0
>     4010000000-40100001ff : lpss_dev
>       4010000000-40100001ff : i2c_designware.0 lpss_dev
>     4010000200-40100002ff : lpss_priv
>     4010000800-4010000fff : idma64.0
>       4010000800-4010000fff : idma64.0 idma64.0
>   4010001000-4010001fff : 0000:00:15.1
>     4010001000-40100011ff : lpss_dev
>       4010001000-40100011ff : i2c_designware.1 lpss_dev
>     4010001200-40100012ff : lpss_priv
>     4010001800-4010001fff : idma64.1
>       4010001800-4010001fff : idma64.1 idma64.1
>   6000000000-601bffffff : PCI Bus 0000:2c
>   6020000000-603bffffff : PCI Bus 0000:01
>   603c000000-603cffffff : 0000:00:02.0
>   603d000000-603d0fffff : 0000:00:1f.3
>     603d000000-603d0fffff : Audio DSP
>   603d100000-603d13ffff : 0000:00:0d.2
>     603d100000-603d13ffff : thunderbolt
>   603d140000-603d14ffff : 0000:00:14.0
>     603d140000-603d14ffff : xhci-hcd
>   603d150000-603d15ffff : 0000:00:0d.0
>     603d150000-603d15ffff : xhci-hcd
>   603d160000-603d16ffff : 0000:00:04.0
>   603d170000-603d173fff : 0000:00:1f.3
>     603d170000-603d173fff : Audio DSP
>   603d174000-603d177fff : 0000:00:14.3
>     603d174000-603d177fff : iwlwifi
>   603d178000-603d179fff : 0000:00:14.2
>   603d17a000-603d17bfff : 0000:00:12.0
>     603d17a000-603d17bfff : intel_ish_ipc
>   603d17c000-603d17c0ff : 0000:00:1f.4
>   603d17d000-603d17dfff : 0000:00:16.0
>     603d17d000-603d17dfff : mei_me
>   603d180000-603d180fff : 0000:00:14.2
>   603d181000-603d181fff : 0000:00:0d.2

> -[0000:00]-+-00.0  Intel Corporation Device [8086:8a12]
>            +-02.0  Intel Corporation Iris Plus Graphics G7 [8086:8a52]
>            +-04.0  Intel Corporation Device [8086:8a03]
>            +-07.0-[01-2b]--
>            +-07.1-[2c-56]--
>            +-0d.0  Intel Corporation Ice Lake Thunderbolt 3 USB Controller [8086:8a13]
>            +-0d.2  Intel Corporation Ice Lake Thunderbolt 3 NHI #0 [8086:8a17]
>            +-12.0  Intel Corporation Device [8086:34fc]
>            +-14.0  Intel Corporation Ice Lake-LP USB 3.1 xHCI Host Controller [8086:34ed]
>            +-14.2  Intel Corporation Device [8086:34ef]
>            +-14.3  Intel Corporation Killer Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW) [8086:34f0]
>            +-15.0  Intel Corporation Ice Lake-LP Serial IO I2C Controller #0 [8086:34e8]
>            +-15.1  Intel Corporation Ice Lake-LP Serial IO I2C Controller #1 [8086:34e9]
>            +-16.0  Intel Corporation Management Engine Interface [8086:34e0]
>            +-17.0  Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a]
>            +-1c.0-[57]----00.0  Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a]
>            +-1d.0-[58]----00.0  Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a804]
>            +-1f.0  Intel Corporation Ice Lake-LP LPC Controller [8086:3482]
>            +-1f.3  Intel Corporation Smart Sound Technology Audio Controller [8086:34c8]
>            +-1f.4  Intel Corporation Ice Lake-LP SMBus Controller [8086:34a3]
>            \-1f.5  Intel Corporation Ice Lake-LP SPI Controller [8086:34a4]

> 00000000-00000fff : Reserved
> 00001000-0009efff : System RAM
> 0009f000-000fffff : Reserved
>   000a0000-000bffff : PCI Bus 0000:00
>   000f0000-000fffff : System ROM
> 00100000-4e7bbfff : System RAM
>   03000000-03e01742 : Kernel code
>   04000000-044d8fff : Kernel rodata
>   04600000-0480917f : Kernel data
>   04db5000-04ffffff : Kernel bss
> 4e7bc000-4e81cfff : Reserved
> 4e81d000-506befff : System RAM
> 506bf000-506bffff : Reserved
> 506c0000-53005fff : System RAM
> 53006000-53006fff : ACPI Non-volatile Storage
> 53007000-5302cfff : System RAM
> 5302d000-5302dfff : Reserved
> 5302e000-578c9fff : System RAM
> 578ca000-58716fff : Reserved
> 58717000-587b4fff : ACPI Tables
> 587b5000-5886ffff : ACPI Non-volatile Storage
>   587de000-587defff : USBC000:00
> 58870000-5df40fff : Reserved
> 5df41000-5dffefff : Unknown E820 type
> 5dfff000-5dffffff : System RAM
> 5e000000-61ffffff : Reserved
> 62e00000-67bfffff : Reserved
>   64000000-67bfffff : Graphics Stolen Memory
> 67c00000-bfffffff : PCI Bus 0000:00
>   67c00000-67c00fff : 0000:00:1f.5
>   68000000-741fffff : PCI Bus 0000:2c
>     68000000-741fffff : PCI Bus 0000:2d
>       68000000-680fffff : PCI Bus 0000:2e
>         68000000-68007fff : 0000:2e:00.0
>       68100000-681fffff : PCI Bus 0000:2f
>       68200000-682fffff : PCI Bus 0000:30
>       68300000-683fffff : PCI Bus 0000:31
>       68400000-741fffff : PCI Bus 0000:32
>   76000000-821fffff : PCI Bus 0000:01
>   82200000-822fffff : PCI Bus 0000:58
>     82200000-82203fff : 0000:58:00.0
>       82200000-82203fff : nvme
>   82300000-823fffff : PCI Bus 0000:57
>     82300000-82300fff : 0000:57:00.0
>       82300000-82300fff : rtsx_pci
>   82400000-82401fff : 0000:00:17.0
>     82400000-82401fff : ahci
>   82402000-824027ff : 0000:00:17.0
>     82402000-824027ff : ahci
>   82403000-824030ff : 0000:00:17.0
>     82403000-824030ff : ahci
> c0000000-cfffffff : PCI MMCONFIG 0000 [bus 00-ff]
>   c0000000-cfffffff : Reserved
>     c0000000-cfffffff : pnp 00:04
> fd000000-fd68ffff : pnp 00:05
> fd6b0000-fd6cffff : pnp 00:05
> fd6f0000-fdffffff : pnp 00:05
> fe000000-fe010fff : Reserved
> fe038000-fe038fff : pnp 00:07
> fe200000-fe7fffff : pnp 00:05
> fec00000-fec00fff : Reserved
>   fec00000-fec003ff : IOAPIC 0
> fed00000-fed00fff : Reserved
>   fed00000-fed003ff : HPET 0
>     fed00000-fed003ff : PNP0103:00
> fed10000-fed17fff : pnp 00:04
> fed20000-fed7ffff : Reserved
>   fed40000-fed44fff : MSFT0101:00
>     fed40000-fed44fff : MSFT0101:00 MSFT0101:00
> fed90000-fed93fff : pnp 00:04
> feda0000-feda0fff : pnp 00:04
> feda1000-feda1fff : pnp 00:04
> fee00000-fee00fff : Local APIC
>   fee00000-fee00fff : Reserved
> ff000000-ffffffff : Reserved
>   ff000000-ffffffff : pnp 00:05
> 100000000-4983fffff : System RAM
> 498400000-49bffffff : RAM buffer
> 4000000000-7fffffffff : PCI Bus 0000:00
>   4000000000-400fffffff : 0000:00:02.0
>   4010000000-4010000fff : 0000:00:15.0
>     4010000000-40100001ff : lpss_dev
>       4010000000-40100001ff : i2c_designware.0 lpss_dev
>     4010000200-40100002ff : lpss_priv
>     4010000800-4010000fff : idma64.0
>       4010000800-4010000fff : idma64.0 idma64.0
>   4010001000-4010001fff : 0000:00:15.1
>     4010001000-40100011ff : lpss_dev
>       4010001000-40100011ff : i2c_designware.1 lpss_dev
>     4010001200-40100012ff : lpss_priv
>     4010001800-4010001fff : idma64.1
>       4010001800-4010001fff : idma64.1 idma64.1
>   6000000000-601bffffff : PCI Bus 0000:2c
>     6000000000-601bffffff : PCI Bus 0000:2d
>       6000000000-60000fffff : PCI Bus 0000:2e
>       6000100000-60001fffff : PCI Bus 0000:2f
>         6000100000-600010ffff : 0000:2f:00.0
>         6000110000-600011ffff : 0000:2f:00.0
>       6000200000-60002fffff : PCI Bus 0000:30
>       6000300000-60003fffff : PCI Bus 0000:31
>       6000400000-601bffffff : PCI Bus 0000:32
>   6020000000-603bffffff : PCI Bus 0000:01
>   603c000000-603cffffff : 0000:00:02.0
>   603d000000-603d0fffff : 0000:00:1f.3
>     603d000000-603d0fffff : Audio DSP
>   603d100000-603d13ffff : 0000:00:0d.2
>     603d100000-603d13ffff : thunderbolt
>   603d140000-603d14ffff : 0000:00:14.0
>     603d140000-603d14ffff : xhci-hcd
>   603d150000-603d15ffff : 0000:00:0d.0
>     603d150000-603d15ffff : xhci-hcd
>   603d160000-603d16ffff : 0000:00:04.0
>   603d170000-603d173fff : 0000:00:1f.3
>     603d170000-603d173fff : Audio DSP
>   603d174000-603d177fff : 0000:00:14.3
>     603d174000-603d177fff : iwlwifi
>   603d178000-603d179fff : 0000:00:14.2
>   603d17a000-603d17bfff : 0000:00:12.0
>     603d17a000-603d17bfff : intel_ish_ipc
>   603d17c000-603d17c0ff : 0000:00:1f.4
>   603d17d000-603d17dfff : 0000:00:16.0
>     603d17d000-603d17dfff : mei_me
>   603d180000-603d180fff : 0000:00:14.2
>   603d181000-603d181fff : 0000:00:0d.2

> -[0000:00]-+-00.0  Intel Corporation Device [8086:8a12]
>            +-02.0  Intel Corporation Iris Plus Graphics G7 [8086:8a52]
>            +-04.0  Intel Corporation Device [8086:8a03]
>            +-07.0-[01-2b]--
>            +-07.1-[2c-56]----00.0-[2d-56]--+-00.0-[2e]----00.0  ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller [1b21:1142]
>            |                               +-01.0-[2f]----00.0  Broadcom Inc. and subsidiaries NetXtreme BCM57762 Gigabit Ethernet PCIe [14e4:1682]
>            |                               +-02.0-[30]--
>            |                               +-03.0-[31]--
>            |                               \-04.0-[32-56]--
>            +-0d.0  Intel Corporation Ice Lake Thunderbolt 3 USB Controller [8086:8a13]
>            +-0d.2  Intel Corporation Ice Lake Thunderbolt 3 NHI #0 [8086:8a17]
>            +-12.0  Intel Corporation Device [8086:34fc]
>            +-14.0  Intel Corporation Ice Lake-LP USB 3.1 xHCI Host Controller [8086:34ed]
>            +-14.2  Intel Corporation Device [8086:34ef]
>            +-14.3  Intel Corporation Killer Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW) [8086:34f0]
>            +-15.0  Intel Corporation Ice Lake-LP Serial IO I2C Controller #0 [8086:34e8]
>            +-15.1  Intel Corporation Ice Lake-LP Serial IO I2C Controller #1 [8086:34e9]
>            +-16.0  Intel Corporation Management Engine Interface [8086:34e0]
>            +-17.0  Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a]
>            +-1c.0-[57]----00.0  Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a]
>            +-1d.0-[58]----00.0  Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a804]
>            +-1f.0  Intel Corporation Ice Lake-LP LPC Controller [8086:3482]
>            +-1f.3  Intel Corporation Smart Sound Technology Audio Controller [8086:34c8]
>            +-1f.4  Intel Corporation Ice Lake-LP SMBus Controller [8086:34a3]
>            \-1f.5  Intel Corporation Ice Lake-LP SPI Controller [8086:34a4]






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Thunderbolt hotplug fails on HP x360 13t-aw000/86FA with HP Thunderbolt 3 Dock
  2020-08-03 10:54 ` Mika Westerberg
@ 2020-08-03 16:52   ` Matt Turner
  2020-08-04 11:47     ` Mika Westerberg
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Turner @ 2020-08-03 16:52 UTC (permalink / raw)
  To: Mika Westerberg; +Cc: Andreas Noever, Michael Jamet, Yehezkel Bernat, linux-usb

On Mon, Aug 3, 2020 at 3:54 AM Mika Westerberg
<mika.westerberg@linux.intel.com> wrote:
> Can you try the patch here?
>
>   https://lore.kernel.org/patchwork/patch/1257708/

Thanks.

It looks like that doesn't fix the problem. I hotplugged the dock
about 25 times this morning and it was only successful once, very
early in the testing. I didn't think it was going to be that rare, so
I didn't capture the log and now I can't reproduce it :(

Any other ideas or patches I should try?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Thunderbolt hotplug fails on HP x360 13t-aw000/86FA with HP Thunderbolt 3 Dock
  2020-08-03 16:52   ` Matt Turner
@ 2020-08-04 11:47     ` Mika Westerberg
  2020-08-12 22:40       ` Matt Turner
  0 siblings, 1 reply; 5+ messages in thread
From: Mika Westerberg @ 2020-08-04 11:47 UTC (permalink / raw)
  To: Matt Turner; +Cc: Andreas Noever, Michael Jamet, Yehezkel Bernat, linux-usb

On Mon, Aug 03, 2020 at 09:52:26AM -0700, Matt Turner wrote:
> On Mon, Aug 3, 2020 at 3:54 AM Mika Westerberg
> <mika.westerberg@linux.intel.com> wrote:
> > Can you try the patch here?
> >
> >   https://lore.kernel.org/patchwork/patch/1257708/
> 
> Thanks.
> 
> It looks like that doesn't fix the problem. I hotplugged the dock
> about 25 times this morning and it was only successful once, very
> early in the testing. I didn't think it was going to be that rare, so
> I didn't capture the log and now I can't reproduce it :(
> 
> Any other ideas or patches I should try?

Can you try so that you boot without device connected. Then plug in the
dock, and wait a bit for it to enumerate (you can check thunderbolt
related messages in dmesg).

Then send me full dmesg and output of command 'sudo lspci -vv'.

I also sugged to file a bug in kernel bugzilla
(https://bugzilla.kernel.org/) and add these logs there as well.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Thunderbolt hotplug fails on HP x360 13t-aw000/86FA with HP Thunderbolt 3 Dock
  2020-08-04 11:47     ` Mika Westerberg
@ 2020-08-12 22:40       ` Matt Turner
  0 siblings, 0 replies; 5+ messages in thread
From: Matt Turner @ 2020-08-12 22:40 UTC (permalink / raw)
  To: Mika Westerberg; +Cc: Andreas Noever, Michael Jamet, Yehezkel Bernat, linux-usb

On Tue, Aug 4, 2020 at 4:47 AM Mika Westerberg
<mika.westerberg@linux.intel.com> wrote:
>
> On Mon, Aug 03, 2020 at 09:52:26AM -0700, Matt Turner wrote:
> > On Mon, Aug 3, 2020 at 3:54 AM Mika Westerberg
> > <mika.westerberg@linux.intel.com> wrote:
> > > Can you try the patch here?
> > >
> > >   https://lore.kernel.org/patchwork/patch/1257708/
> >
> > Thanks.
> >
> > It looks like that doesn't fix the problem. I hotplugged the dock
> > about 25 times this morning and it was only successful once, very
> > early in the testing. I didn't think it was going to be that rare, so
> > I didn't capture the log and now I can't reproduce it :(
> >
> > Any other ideas or patches I should try?
>
> Can you try so that you boot without device connected. Then plug in the
> dock, and wait a bit for it to enumerate (you can check thunderbolt
> related messages in dmesg).
>
> Then send me full dmesg and output of command 'sudo lspci -vv'.
>
> I also sugged to file a bug in kernel bugzilla
> (https://bugzilla.kernel.org/) and add these logs there as well.

Filed as https://bugzilla.kernel.org/show_bug.cgi?id=208891 with the
information you requested.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-08-12 22:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31  3:36 Thunderbolt hotplug fails on HP x360 13t-aw000/86FA with HP Thunderbolt 3 Dock Matt Turner
2020-08-03 10:54 ` Mika Westerberg
2020-08-03 16:52   ` Matt Turner
2020-08-04 11:47     ` Mika Westerberg
2020-08-12 22:40       ` Matt Turner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.