RE: [PATCH 00/24] Thunderbolt security levels and NVM firmware upgrade
From: Mario.Limonciello
Date: Fri May 19 2017 - 12:35:15 EST
> -----Original Message-----
> From: Mika Westerberg [mailto:mika.westerberg@xxxxxxxxxxxxxxx]
> Sent: Thursday, May 18, 2017 9:39 AM
> To: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: Andreas Noever <andreas.noever@xxxxxxxxx>; Michael Jamet
> <michael.jamet@xxxxxxxxx>; Yehezkel Bernat <yehezkel.bernat@xxxxxxxxx>; Lukas
> Wunner <lukas@xxxxxxxxx>; Amir Levy <amir.jer.levy@xxxxxxxxx>; Andy
> Lutomirski <luto@xxxxxxxxxx>; Limonciello, Mario <Mario_Limonciello@xxxxxxxx>;
> Dominguez, Jared <Jared_Dominguez@xxxxxxxx>; Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx>; Mika Westerberg
> <mika.westerberg@xxxxxxxxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx
> Subject: [PATCH 00/24] Thunderbolt security levels and NVM firmware upgrade
>
> Hi all,
>
> This patch series adds support for Thunderbolt security levels, which were
> first introduced in Intel Falcon Ridge Thunderbolt controller, to prevent
> DMA attacks when PCIe is tunneled over Thunderbolt fabric. This is needed
> if there is no IOMMU available for various reasons.
>
> Most PCs out there having Falcon Ridge or newer have security level set to
> "user" which means that user authorization is needed before PCIe tunnel is
> creaded (the PCIe device appears). This effectively means that without
> driver support the user needs to configure security level from BIOS to
> "none" to get Thunderbolt devices connected. With these patches the user
> can authorize devices using sysfs attributes like:
>
> # echo 1 > /sys/bus/thunderbolt/devices/0-1/authorized
>
> In addition these patches add support for upgrading NVM firmware running on
> a host or device by running something like:
>
> # dd if=KYK_TBT_FW_0018.bin of=/sys/bus/thunderbolt/devices/0-
> 0/nvm_non_active0/nvmem
> # echo 1 > /sys/bus/thunderbolt/devices/0-0/nvm_authenticate
>
> This is documented with more details in patch [23/24].
>
> This series is based on Amir's networking patches [1] but instead of
> splitting the functionality between kernel driver and userspace daemon, we
> take advantage of Linux driver core by converting the existing driver to
> expose a Linux bus (domain) and devices (switches). Notifications to the
> userspace about plugged/unplugged devices is handled by standard uevents
> when a device is added to/removed from the Thunderbolt bus.
>
> Since thunderbolt device identification and authorization can be done
> directly through sysfs attributes there is no need for userspace daemon.
> However, there still should be an application that promps user for unknown
> devices and allows selecting between "single connect" and "connect always"
> keeping this information in a database or similar persistent storage. This
> patch series only provides mechanism for userspace applications to achieve
> that.
>
> Where Internal Connection Manager (ICM) firmware is available and usable,
> we use it in the driver. This also includes newer Apple Macbooks with
> Alpine Ridge. For older Macbooks the driver works as before but in addition
> the Thunderbolt bus is available there as well (including possibility to
> upgrade NVM firmware of connected devices).
>
> We are also in works of porting Amir's networking driver to work on top of
> the new Thunderbolt bus pretty much the same way firewire networking is
> currently done. In addition this makes is possible to introduce other
> protocols like a char device that allows userspace directly to communicate
> accross Thunderbolt domains.
>
> Note for Macs the Linux native PCIe hotplug support does not work well with
> the Thunderbolt PCIe topologies where there is need to put all available
> resources to the PCIe downstream port where the PCIe chain is extended.
> This is something we need to fix. In the mean time is a way to work it
> around by passing "pci=hpbussize=10,hpmemsize=2M" or so to the kernel
> command line.
>
> These patches use uuid_be from uuid.h but I've learned that there is a work
> to remove the type completely in favor of new uuid_t [2]. I'm not sure what
> to do regarding that because those patches are not yet in the mainline.
>
> [1] https://lkml.org/lkml/2016/11/9/341
> [2] http://git.infradead.org/users/hch/vfs.git/shortlog/refs/heads/uuid-types
>
> Mika Westerberg (24):
> thunderbolt: Use const buffer pointer in write operations
> thunderbolt: Do not try to read UID if DROM offset is read as 0
> thunderbolt: Do not warn about newer DROM versions
> thunderbolt: Add MSI-X support
> thunderbolt: Rework capability handling
> thunderbolt: Introduce thunderbolt bus and connection manager
> thunderbolt: Convert switch to a device
> thunderbolt: Fail switch adding operation if reading DROM fails
> thunderbolt: Do not fail if DROM data CRC32 is invalid
> thunderbolt: Read vendor and device name from DROM
> thunderbolt: Move control channel messages to tb_msgs.h
> thunderbolt: Expose get_route() to other files
> thunderbolt: Expose make_header() to other files
> thunderbolt: Let the connection manager handle all notifications
> thunderbolt: Rework control channel to be more reliable
> thunderbolt: Add Thunderbolt 3 PCI IDs
> thunderbolt: Add support for NHI mailbox
> thunderbolt: Store Thunderbolt generation in the switch structure
> thunderbolt: Add support for DMA configuration based mailbox
> thunderbolt: Do not touch the hardware if the NHI is gone on resume
> thunderbolt: Add support for Internal Connection Manager (ICM)
> thunderbolt: Add support for host and device NVM firmware upgrade
> thunderbolt: Add documentation how Thunderbolt bus can be used
> MAINTAINERS: Add maintainers for Thunderbolt driver
>
> Documentation/ABI/testing/sysfs-bus-thunderbolt | 108 +++
> Documentation/admin-guide/index.rst | 1 +
> Documentation/admin-guide/thunderbolt.rst | 197 ++++
> MAINTAINERS | 3 +
> drivers/thunderbolt/Kconfig | 13 +-
> drivers/thunderbolt/Makefile | 2 +-
> drivers/thunderbolt/cap.c | 169 ++--
> drivers/thunderbolt/ctl.c | 655 +++++++++----
> drivers/thunderbolt/ctl.h | 105 ++-
> drivers/thunderbolt/dma_port.c | 524 +++++++++++
> drivers/thunderbolt/dma_port.h | 34 +
> drivers/thunderbolt/domain.c | 455 ++++++++++
> drivers/thunderbolt/eeprom.c | 84 +-
> drivers/thunderbolt/icm.c | 1098 ++++++++++++++++++++++
> drivers/thunderbolt/nhi.c | 302 +++++-
> drivers/thunderbolt/nhi.h | 91 +-
> drivers/thunderbolt/nhi_regs.h | 27 +
> drivers/thunderbolt/switch.c | 1109 +++++++++++++++++++++--
> drivers/thunderbolt/tb.c | 237 ++---
> drivers/thunderbolt/tb.h | 242 ++++-
> drivers/thunderbolt/tb_msgs.h | 260 ++++++
> drivers/thunderbolt/tb_regs.h | 31 +-
> drivers/thunderbolt/tunnel_pci.c | 17 +-
> 23 files changed, 5213 insertions(+), 551 deletions(-)
> create mode 100644 Documentation/ABI/testing/sysfs-bus-thunderbolt
> create mode 100644 Documentation/admin-guide/thunderbolt.rst
> create mode 100644 drivers/thunderbolt/dma_port.c
> create mode 100644 drivers/thunderbolt/dma_port.h
> create mode 100644 drivers/thunderbolt/domain.c
> create mode 100644 drivers/thunderbolt/icm.c
> create mode 100644 drivers/thunderbolt/tb_msgs.h
>
> --
> 2.11.0
Mika,
Thanks for submitting this series.
I've tested security level stuff a little bit,
but I'm running into what I think is some odd behavior.
Here's my setup:
System: I'm using is an XPS 9350 (Has Alpine Ridge). It's got NVM 16.0. BIOS 1.4.13
TBT Device: Dell TB16 (which has AR in the cable and in dock - both NVM 16.0).
I created a udev rule that will automatically authorize the dock and cable.
#dell cable
ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{vendor}=="0xd4", ATTR{device}=="0xb051", ATTR{authorized}="1"
#dell dock
ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{vendor}=="0xd4", ATTR{device}=="0xb054", ATTR{authorized}="1"
If I boot the system with the dock connected the cable shows up and authorizes but the dock doesn't.
---
[ 6.916669] thunderbolt 0000:03:00.0: current switch config:
[ 6.916671] thunderbolt 0000:03:00.0: Switch: 8086:1576 (Revision: 4, TB Version: 2)
[ 6.916673] thunderbolt 0000:03:00.0: Max Port Number: 11
[ 6.916673] thunderbolt 0000:03:00.0: Config:
[ 6.916675] thunderbolt 0000:03:00.0: Upstream Port Number: 5 Depth: 0 Route String: 0x0 Enabled: 1, PlugEventsDelay: 254ms
[ 6.916676] thunderbolt 0000:03:00.0: unknown1: 0x0 unknown4: 0x0
[ 6.927293] thunderbolt 0000:03:00.0: 0: uid: 0x8086a3422131ea10
[ 6.927632] thunderbolt 0000:03:00.0: Port 0: 8086:1576 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 6.927633] thunderbolt 0000:03:00.0: Max hop id (in/out): 7/7
[ 6.927634] thunderbolt 0000:03:00.0: Max counters: 8
[ 6.927635] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 6.927760] thunderbolt 0000:03:00.0: Port 1: 8086:1576 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 6.927761] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 6.927762] thunderbolt 0000:03:00.0: Max counters: 16
[ 6.927763] thunderbolt 0000:03:00.0: NFC Credits: 0x7800000
[ 6.927890] thunderbolt 0000:03:00.0: Port 2: 8086:1576 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 6.927895] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 6.927896] thunderbolt 0000:03:00.0: Max counters: 16
[ 6.927897] thunderbolt 0000:03:00.0: NFC Credits: 0x0
[ 6.928091] thunderbolt 0000:03:00.0: Port 3: 8086:1576 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 6.928092] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 6.928092] thunderbolt 0000:03:00.0: Max counters: 16
[ 6.928093] thunderbolt 0000:03:00.0: NFC Credits: 0x3c00000
[ 6.928217] thunderbolt 0000:03:00.0: Port 4: 8086:1576 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 6.928219] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 6.928219] thunderbolt 0000:03:00.0: Max counters: 16
[ 6.928220] thunderbolt 0000:03:00.0: NFC Credits: 0x3c00000
[ 6.928222] thunderbolt 0000:03:00.0: 0:5: disabled by eeprom
[ 6.928261] thunderbolt 0000:03:00.0: Port 6: 8086:1576 (Revision: 4, TB Version: 1, Type: PCIe (0x100101))
[ 6.928262] thunderbolt 0000:03:00.0: Max hop id (in/out): 8/8
[ 6.928262] thunderbolt 0000:03:00.0: Max counters: 2
[ 6.928263] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 6.928304] thunderbolt 0000:03:00.0: Port 7: 8086:1576 (Revision: 4, TB Version: 1, Type: PCIe (0x100101))
[ 6.928305] thunderbolt 0000:03:00.0: Max hop id (in/out): 8/8
[ 6.928306] thunderbolt 0000:03:00.0: Max counters: 2
[ 6.928306] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 6.930860] thunderbolt 0000:03:00.0: Port 8: 8086:1576 (Revision: 4, TB Version: 1, Type: DP/HDMI (0xe0102))
[ 6.930862] thunderbolt 0000:03:00.0: Max hop id (in/out): 9/9
[ 6.930863] thunderbolt 0000:03:00.0: Max counters: 2
[ 6.930864] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 6.930865] thunderbolt 0000:03:00.0: 0:9: disabled by eeprom
[ 6.930908] thunderbolt 0000:03:00.0: Port 10: 8086:1576 (Revision: 4, TB Version: 1, Type: DP/HDMI (0xe0101))
[ 6.930909] thunderbolt 0000:03:00.0: Max hop id (in/out): 9/9
[ 6.930910] thunderbolt 0000:03:00.0: Max counters: 2
[ 6.930911] thunderbolt 0000:03:00.0: NFC Credits: 0x1000000
[ 6.930912] thunderbolt 0000:03:00.0: 0:b: disabled by eeprom
[ 6.932249] thunderbolt 0000:03:00.0: current switch config:
[ 6.932252] thunderbolt 0000:03:00.0: Switch: 8086:1578 (Revision: 4, TB Version: 2)
[ 6.932253] thunderbolt 0000:03:00.0: Max Port Number: 11
[ 6.932254] thunderbolt 0000:03:00.0: Config:
[ 6.932255] thunderbolt 0000:03:00.0: Upstream Port Number: 1 Depth: 1 Route String: 0x1 Enabled: 1, PlugEventsDelay: 254ms
[ 6.932256] thunderbolt 0000:03:00.0: unknown1: 0x0 unknown4: 0x0
[ 6.940642] thunderbolt 0000:03:00.0: 1: reading drom (length: 0x6e)
[ 7.040048] thunderbolt 0000:03:00.0: 1: drom data crc32 mismatch (expected: 0xaf438340, got: 0xaf4383c0), continuing
[ 7.040247] thunderbolt 0000:03:00.0: 1: uid: 0xd40f7a7928c300
[ 7.040296] thunderbolt 0000:03:00.0: Port 0: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 7.040297] thunderbolt 0000:03:00.0: Max hop id (in/out): 7/7
[ 7.040298] thunderbolt 0000:03:00.0: Max counters: 8
[ 7.040299] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 7.040574] thunderbolt 0000:03:00.0: Port 1: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 7.040575] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 7.040576] thunderbolt 0000:03:00.0: Max counters: 16
[ 7.040577] thunderbolt 0000:03:00.0: NFC Credits: 0x7800000
[ 7.040711] thunderbolt 0000:03:00.0: Port 2: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 7.040712] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 7.040713] thunderbolt 0000:03:00.0: Max counters: 16
[ 7.040714] thunderbolt 0000:03:00.0: NFC Credits: 0x0
[ 7.040848] thunderbolt 0000:03:00.0: Port 3: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 7.040849] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 7.040850] thunderbolt 0000:03:00.0: Max counters: 16
[ 7.040851] thunderbolt 0000:03:00.0: NFC Credits: 0x7800000
[ 7.040987] thunderbolt 0000:03:00.0: Port 4: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 7.040988] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 7.040990] thunderbolt 0000:03:00.0: Max counters: 16
[ 7.040991] thunderbolt 0000:03:00.0: NFC Credits: 0x0
[ 7.040992] thunderbolt 0000:03:00.0: 1:5: disabled by eeprom
[ 7.041033] thunderbolt 0000:03:00.0: Port 6: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100102))
[ 7.041034] thunderbolt 0000:03:00.0: Max hop id (in/out): 8/8
[ 7.041035] thunderbolt 0000:03:00.0: Max counters: 2
[ 7.041036] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 7.041078] thunderbolt 0000:03:00.0: Port 7: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100101))
[ 7.041080] thunderbolt 0000:03:00.0: Max hop id (in/out): 8/8
[ 7.041080] thunderbolt 0000:03:00.0: Max counters: 2
[ 7.041081] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 7.041083] thunderbolt 0000:03:00.0: 1:8: disabled by eeprom
[ 7.041084] thunderbolt 0000:03:00.0: 1:9: disabled by eeprom
[ 7.041085] thunderbolt 0000:03:00.0: 1:a: disabled by eeprom
[ 7.041085] thunderbolt 0000:03:00.0: 1:b: disabled by eeprom
[ 7.041827] thunderbolt 0000:03:00.0: current switch config:
[ 7.041829] thunderbolt 0000:03:00.0: Switch: 8086:1578 (Revision: 4, TB Version: 2)
[ 7.041829] thunderbolt 0000:03:00.0: Max Port Number: 11
[ 7.041830] thunderbolt 0000:03:00.0: Config:
[ 7.041831] thunderbolt 0000:03:00.0: Upstream Port Number: 1 Depth: 2 Route String: 0x301 Enabled: 1, PlugEventsDelay: 254ms
[ 7.041832] thunderbolt 0000:03:00.0: unknown1: 0x0 unknown4: 0x0
[ 7.416678] pci 0000:04:00.0: [8086:1578] type 01 class 0x060400
[ 7.416925] pci 0000:04:00.0: supports D1 D2
[ 7.416926] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 7.428433] pci_bus 0000:05: [bus 05] partially hidden behind bridge 0000:04 [bus 04]
[ 7.428500] pci_bus 0000:39: busn_res: can not insert [bus 39] under [bus 02-05] (conflicts with (null) [bus 02-05])
[ 7.428503] pcieport 0000:02:02.0: PCI bridge to [bus 39]
[ 7.428512] pcieport 0000:02:02.0: bridge window [mem 0xd9f00000-0xd9ffffff]
[ 7.428519] pci_bus 0000:39: [bus 39] partially hidden behind bridge 0000:02 [bus 02-05]
[ 7.428542] pci_bus 0000:02: Allocating resources
[ 7.428544] pcieport 0000:02:02.0: can't claim BAR 14 [mem 0xd9f00000-0xd9ffffff]: no compatible bridge window
[ 7.451018] Bluetooth: RFCOMM TTY layer initialized
[ 7.451022] Bluetooth: RFCOMM socket layer initialized
[ 7.451026] Bluetooth: RFCOMM ver 1.11
[ 11.958457] wlp58s0: authenticate with 50:6a:03:a7:1c:27
[ 11.969167] wlp58s0: send auth to 50:6a:03:a7:1c:27 (try 1/3)
[ 11.975768] wlp58s0: authenticated
[ 11.976386] wlp58s0: associate with 50:6a:03:a7:1c:27 (try 1/3)
[ 11.984817] wlp58s0: RX AssocResp from 50:6a:03:a7:1c:27 (capab=0x1411 status=0 aid=2)
[ 12.001864] wlp58s0: associated
[ 12.001913] IPv6: ADDRCONF(NETDEV_CHANGE): wlp58s0: link becomes ready
[ 27.616672] thunderbolt 0000:03:00.0: timeout reading config space 2 from 0x5
[ 27.616674] thunderbolt 0000:03:00.0: 301: cannot find TB_VSEC_CAP_PLUG_EVENTS aborting
If I then unplug the cable and plug it back in the dock does show up and authorize properly, but is a traceback
along the way.
---
[ 1653.226296] pcieport 0000:02:02.0: Refused to change power state, currently in D3
[ 1653.729116] thunderbolt 0000:03:00.0: stopping RX ring 0
[ 1653.729130] thunderbolt 0000:03:00.0: disabling interrupt at register 0x38200 bit 12 (0xffffffff -> 0xffffefff)
[ 1653.729159] thunderbolt 0000:03:00.0: stopping TX ring 0
[ 1653.729168] thunderbolt 0000:03:00.0: disabling interrupt at register 0x38200 bit 0 (0xffffffff -> 0xfffffffe)
[ 1653.729195] thunderbolt 0000:03:00.0: control channel stopped
[ 1653.729362] thunderbolt 0000:03:00.0: freeing RX ring 0
[ 1653.729381] thunderbolt 0000:03:00.0: freeing TX ring 0
[ 1653.729407] thunderbolt 0000:03:00.0: shutdown
[ 1653.753091] pcieport 0000:02:00.0: Refused to change power state, currently in D3
[ 1653.756383] pci_bus 0000:03: busn_res: [bus 03] is released
[ 1653.756676] pci_bus 0000:04: busn_res: [bus 04] is released
[ 1653.757479] pci_bus 0000:02: busn_res: [bus 02-05] is released
[ 1660.846964] ACPI Error: [SPRT] Namespace lookup failure, AE_ALREADY_EXISTS (20170303/dswload2-330)
[ 1660.846979] ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20170303/psobject-241)
[ 1660.846985] ACPI Error: Method parse/execution failed [\_GPE._E42] (Node ffff8ba73016b488), AE_ALREADY_EXISTS (20170303/psparse-543)
[ 1660.846996] ACPI Error: Method parse/execution failed [\_GPE._E42] (Node ffff8ba73016b488), AE_ALREADY_EXISTS (20170303/psparse-543)
[ 1660.847009] ACPI Exception: AE_ALREADY_EXISTS, while evaluating GPE method [_E42] (20170303/evgpe-646)
[ 1660.893399] pci 0000:01:00.0: [8086:1576] type 01 class 0x060400
[ 1660.893529] pci 0000:01:00.0: supports D1 D2
[ 1660.893530] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1660.893625] pci 0000:01:00.0: System wakeup disabled by ACPI
[ 1660.893776] pci 0000:02:00.0: [8086:1576] type 01 class 0x060400
[ 1660.894047] pci 0000:02:00.0: supports D1 D2
[ 1660.894049] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1660.894178] pci 0000:02:01.0: [8086:1576] type 01 class 0x060400
[ 1660.894320] pci 0000:02:01.0: supports D1 D2
[ 1660.894321] pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1660.894409] pci 0000:02:02.0: [8086:1576] type 01 class 0x060400
[ 1660.894542] pci 0000:02:02.0: supports D1 D2
[ 1660.894543] pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1660.894637] pci 0000:01:00.0: PCI bridge to [bus 02-39]
[ 1660.894646] pci 0000:01:00.0: bridge window [mem 0xc4000000-0xda0fffff]
[ 1660.894652] pci 0000:01:00.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[ 1660.894716] pci 0000:03:00.0: [8086:1575] type 00 class 0x088000
[ 1660.894744] pci 0000:03:00.0: reg 0x10: [mem 0xda000000-0xda03ffff]
[ 1660.894756] pci 0000:03:00.0: reg 0x14: [mem 0xda040000-0xda040fff]
[ 1660.894910] pci 0000:03:00.0: supports D1 D2
[ 1660.894911] pci 0000:03:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1660.895079] pci 0000:02:00.0: PCI bridge to [bus 03]
[ 1660.895089] pci 0000:02:00.0: bridge window [mem 0xda000000-0xda0fffff]
[ 1660.895152] pci 0000:02:01.0: PCI bridge to [bus 04-38]
[ 1660.895161] pci 0000:02:01.0: bridge window [mem 0xc4000000-0xd9efffff]
[ 1660.895168] pci 0000:02:01.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[ 1660.895222] pci 0000:02:02.0: PCI bridge to [bus 39]
[ 1660.895231] pci 0000:02:02.0: bridge window [mem 0xd9f00000-0xd9ffffff]
[ 1660.895263] pci_bus 0000:02: Allocating resources
[ 1660.895296] pci 0000:02:01.0: bridge window [io 0x1000-0x0fff] to [bus 04-38] add_size 1000
[ 1660.895314] pci 0000:01:00.0: bridge window [io 0x1000-0x0fff] to [bus 02-39] add_size 1000
[ 1660.895318] pci 0000:01:00.0: BAR 13: assigned [io 0x2000-0x2fff]
[ 1660.895321] pci 0000:02:01.0: BAR 13: assigned [io 0x2000-0x2fff]
[ 1660.895322] pci 0000:02:00.0: PCI bridge to [bus 03]
[ 1660.895329] pci 0000:02:00.0: bridge window [mem 0xda000000-0xda0fffff]
[ 1660.895338] pci 0000:02:01.0: PCI bridge to [bus 04-38]
[ 1660.895341] pci 0000:02:01.0: bridge window [io 0x2000-0x2fff]
[ 1660.895346] pci 0000:02:01.0: bridge window [mem 0xc4000000-0xd9efffff]
[ 1660.895351] pci 0000:02:01.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[ 1660.895357] pci 0000:02:02.0: PCI bridge to [bus 39]
[ 1660.895363] pci 0000:02:02.0: bridge window [mem 0xd9f00000-0xd9ffffff]
[ 1660.895372] pci 0000:01:00.0: PCI bridge to [bus 02-39]
[ 1660.895374] pci 0000:01:00.0: bridge window [io 0x2000-0x2fff]
[ 1660.895379] pci 0000:01:00.0: bridge window [mem 0xc4000000-0xda0fffff]
[ 1660.895383] pci 0000:01:00.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[ 1661.283910] pcieport 0000:01:00.0: enabling device (0006 -> 0007)
[ 1661.284659] pcieport 0000:02:01.0: enabling device (0006 -> 0007)
[ 1661.285546] thunderbolt 0000:03:00.0: NHI initialized, starting thunderbolt
[ 1661.285550] thunderbolt 0000:03:00.0: allocating TX ring 0 of size 10
[ 1661.285565] thunderbolt 0000:03:00.0: allocating RX ring 0 of size 10
[ 1661.285582] thunderbolt 0000:03:00.0: control channel created
[ 1661.285583] thunderbolt 0000:03:00.0: control channel starting...
[ 1661.285584] thunderbolt 0000:03:00.0: starting TX ring 0
[ 1661.285591] thunderbolt 0000:03:00.0: enabling interrupt at register 0x38200 bit 0 (0x0 -> 0x1)
[ 1661.285592] thunderbolt 0000:03:00.0: starting RX ring 0
[ 1661.285599] thunderbolt 0000:03:00.0: enabling interrupt at register 0x38200 bit 12 (0x1 -> 0x1001)
[ 1661.731122] ACPI Error: Cannot release Mutex [PATM], not acquired (20170303/exmutex-393)
[ 1661.731143] ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.ECDV._Q66] (Node ffff8ba73017bf00), AE_AML_MUTEX_NOT_ACQUIRED (20170303/psparse-543)
[ 1662.538307] thunderbolt 0000:03:00.0: current switch config:
[ 1662.538315] thunderbolt 0000:03:00.0: Switch: 8086:1576 (Revision: 4, TB Version: 2)
[ 1662.538319] thunderbolt 0000:03:00.0: Max Port Number: 11
[ 1662.538322] thunderbolt 0000:03:00.0: Config:
[ 1662.538329] thunderbolt 0000:03:00.0: Upstream Port Number: 5 Depth: 0 Route String: 0x0 Enabled: 1, PlugEventsDelay: 254ms
[ 1662.538333] thunderbolt 0000:03:00.0: unknown1: 0x0 unknown4: 0x0
[ 1662.561266] thunderbolt 0000:03:00.0: 0: uid: 0x8086a3422131ea10
[ 1662.561856] thunderbolt 0000:03:00.0: Port 0: 8086:1576 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1662.561860] thunderbolt 0000:03:00.0: Max hop id (in/out): 7/7
[ 1662.561864] thunderbolt 0000:03:00.0: Max counters: 8
[ 1662.561868] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 1662.562078] thunderbolt 0000:03:00.0: Port 1: 8086:1576 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1662.562082] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 1662.562086] thunderbolt 0000:03:00.0: Max counters: 16
[ 1662.562090] thunderbolt 0000:03:00.0: NFC Credits: 0x7800000
[ 1662.562323] thunderbolt 0000:03:00.0: Port 2: 8086:1576 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1662.562328] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 1662.562331] thunderbolt 0000:03:00.0: Max counters: 16
[ 1662.562335] thunderbolt 0000:03:00.0: NFC Credits: 0x0
[ 1662.562568] thunderbolt 0000:03:00.0: Port 3: 8086:1576 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1662.562575] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 1662.562579] thunderbolt 0000:03:00.0: Max counters: 16
[ 1662.562583] thunderbolt 0000:03:00.0: NFC Credits: 0x3c00000
[ 1662.562797] thunderbolt 0000:03:00.0: Port 4: 8086:1576 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1662.562801] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 1662.562805] thunderbolt 0000:03:00.0: Max counters: 16
[ 1662.562808] thunderbolt 0000:03:00.0: NFC Credits: 0x3c00000
[ 1662.562813] thunderbolt 0000:03:00.0: 0:5: disabled by eeprom
[ 1662.562873] thunderbolt 0000:03:00.0: Port 6: 8086:1576 (Revision: 4, TB Version: 1, Type: PCIe (0x100101))
[ 1662.562877] thunderbolt 0000:03:00.0: Max hop id (in/out): 8/8
[ 1662.562880] thunderbolt 0000:03:00.0: Max counters: 2
[ 1662.562884] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 1662.562938] thunderbolt 0000:03:00.0: Port 7: 8086:1576 (Revision: 4, TB Version: 1, Type: PCIe (0x100101))
[ 1662.562942] thunderbolt 0000:03:00.0: Max hop id (in/out): 8/8
[ 1662.562945] thunderbolt 0000:03:00.0: Max counters: 2
[ 1662.562949] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 1662.563005] thunderbolt 0000:03:00.0: Port 8: 8086:1576 (Revision: 4, TB Version: 1, Type: DP/HDMI (0xe0102))
[ 1662.563009] thunderbolt 0000:03:00.0: Max hop id (in/out): 9/9
[ 1662.563012] thunderbolt 0000:03:00.0: Max counters: 2
[ 1662.563016] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 1662.563019] thunderbolt 0000:03:00.0: 0:9: disabled by eeprom
[ 1662.563082] thunderbolt 0000:03:00.0: Port 10: 8086:1576 (Revision: 4, TB Version: 1, Type: DP/HDMI (0xe0101))
[ 1662.563085] thunderbolt 0000:03:00.0: Max hop id (in/out): 9/9
[ 1662.563089] thunderbolt 0000:03:00.0: Max counters: 2
[ 1662.563092] thunderbolt 0000:03:00.0: NFC Credits: 0x1000000
[ 1662.563096] thunderbolt 0000:03:00.0: 0:b: disabled by eeprom
[ 1662.564973] thunderbolt 0000:03:00.0: current switch config:
[ 1662.564983] thunderbolt 0000:03:00.0: Switch: 8086:1578 (Revision: 4, TB Version: 2)
[ 1662.564989] thunderbolt 0000:03:00.0: Max Port Number: 11
[ 1662.564994] thunderbolt 0000:03:00.0: Config:
[ 1662.565004] thunderbolt 0000:03:00.0: Upstream Port Number: 1 Depth: 1 Route String: 0x1 Enabled: 1, PlugEventsDelay: 254ms
[ 1662.565011] thunderbolt 0000:03:00.0: unknown1: 0x0 unknown4: 0x0
[ 1662.586185] thunderbolt 0000:03:00.0: 1: reading drom (length: 0x6e)
[ 1662.685656] thunderbolt 0000:03:00.0: 1: drom data crc32 mismatch (expected: 0xaf438340, got: 0xaf4383c0), continuing
[ 1662.685923] thunderbolt 0000:03:00.0: 1: uid: 0xd40f7a7928c300
[ 1662.685970] thunderbolt 0000:03:00.0: Port 0: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1662.685972] thunderbolt 0000:03:00.0: Max hop id (in/out): 7/7
[ 1662.685974] thunderbolt 0000:03:00.0: Max counters: 8
[ 1662.685976] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 1662.686163] thunderbolt 0000:03:00.0: Port 1: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1662.686165] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 1662.686167] thunderbolt 0000:03:00.0: Max counters: 16
[ 1662.686169] thunderbolt 0000:03:00.0: NFC Credits: 0x7800000
[ 1662.686346] thunderbolt 0000:03:00.0: Port 2: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1662.686348] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 1662.686350] thunderbolt 0000:03:00.0: Max counters: 16
[ 1662.686351] thunderbolt 0000:03:00.0: NFC Credits: 0x0
[ 1662.686520] thunderbolt 0000:03:00.0: Port 3: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1662.686522] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 1662.686523] thunderbolt 0000:03:00.0: Max counters: 16
[ 1662.686525] thunderbolt 0000:03:00.0: NFC Credits: 0x7800000
[ 1662.686697] thunderbolt 0000:03:00.0: Port 4: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1662.686698] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 1662.686700] thunderbolt 0000:03:00.0: Max counters: 16
[ 1662.686702] thunderbolt 0000:03:00.0: NFC Credits: 0x0
[ 1662.686704] thunderbolt 0000:03:00.0: 1:5: disabled by eeprom
[ 1662.686757] thunderbolt 0000:03:00.0: Port 6: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100102))
[ 1662.686758] thunderbolt 0000:03:00.0: Max hop id (in/out): 8/8
[ 1662.686760] thunderbolt 0000:03:00.0: Max counters: 2
[ 1662.686762] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 1662.686816] thunderbolt 0000:03:00.0: Port 7: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100101))
[ 1662.686818] thunderbolt 0000:03:00.0: Max hop id (in/out): 8/8
[ 1662.686820] thunderbolt 0000:03:00.0: Max counters: 2
[ 1662.686822] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 1662.686825] thunderbolt 0000:03:00.0: 1:8: disabled by eeprom
[ 1662.686827] thunderbolt 0000:03:00.0: 1:9: disabled by eeprom
[ 1662.686830] thunderbolt 0000:03:00.0: 1:a: disabled by eeprom
[ 1662.686832] thunderbolt 0000:03:00.0: 1:b: disabled by eeprom
[ 1662.688262] thunderbolt 0000:03:00.0: current switch config:
[ 1662.688271] thunderbolt 0000:03:00.0: Switch: 8086:1578 (Revision: 4, TB Version: 2)
[ 1662.688273] thunderbolt 0000:03:00.0: Max Port Number: 11
[ 1662.688275] thunderbolt 0000:03:00.0: Config:
[ 1662.688284] thunderbolt 0000:03:00.0: Upstream Port Number: 1 Depth: 2 Route String: 0x301 Enabled: 1, PlugEventsDelay: 254ms
[ 1662.688287] thunderbolt 0000:03:00.0: unknown1: 0x0 unknown4: 0x0
[ 1666.261728] pci 0000:04:00.0: [8086:1578] type 01 class 0x060400
[ 1666.262033] pci 0000:04:00.0: supports D1 D2
[ 1666.262034] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1666.262442] sysfs: cannot create duplicate filename '/class/pci_bus/0000:05'
[ 1666.262459] ------------[ cut here ]------------
[ 1666.262470] WARNING: CPU: 2 PID: 2606 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x56/0x70
[ 1666.262470] Modules linked in: ctr ccm rfcomm uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media btusb btrtl nvram msr hid_multitouch snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_codec_hdmi snd_hda_ext_core snd_soc_sst_match snd_soc_core snd_hda_codec_realtek snd_hda_codec_generic snd_compress snd_pcm_dmaengine bnep ac97_bus snd_hda_intel snd_hda_codec i2c_designware_platform snd_hda_core i2c_designware_core snd_hwdep arc4 snd_pcm intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp dcdbas snd_seq_midi snd_seq_midi_event kvm_intel kvm binfmt_misc irqbypass snd_rawmidi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc nls_iso8859_1 aesni_intel iwlmvm aes_x86_64 crypto_simd glue_helper cryptd mac80211 snd_seq snd_seq_device joydev
[ 1666.262536] snd_timer input_leds snd serio_raw iwlwifi cfg80211 rtsx_pci_ms soundcore memstick thunderbolt idma64 nvmem_core virt_dma hci_uart intel_pch_thermal btbcm intel_lpss_pci mei_me processor_thermal_device shpchp mei btqca intel_soc_dts_iosf btintel bluetooth ecdh_generic intel_lpss_acpi intel_hid intel_lpss int3403_thermal sparse_keymap int340x_thermal_zone int3400_thermal tpm_crb acpi_thermal_rel mac_hid acpi_pad acpi_als kfifo_buf industrialio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq usbhid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect psmouse sysimgblt fb_sys_fops rtsx_pci nvme drm nvme_core ahci libahci i2c_hid wmi hid pinctrl_sunrisepoint video pinctrl_intel
[ 1666.262598] CPU: 2 PID: 2606 Comm: kworker/u8:3 Not tainted 4.12.0-rc1+ #6
[ 1666.262600] Hardware name: Dell Inc. XPS 13 9350/09JHRY, BIOS 1.4.13 12/28/2016
[ 1666.262607] Workqueue: kacpi_hotplug acpi_hotplug_work_fn
[ 1666.262609] task: ffff8ba7256d8ec0 task.stack: ffffa924c2158000
[ 1666.262613] RIP: 0010:sysfs_warn_dup+0x56/0x70
[ 1666.262614] RSP: 0018:ffffa924c215ba08 EFLAGS: 00010286
[ 1666.262615] RAX: 0000000000000040 RBX: ffff8ba72af7c000 RCX: 0000000000000006
[ 1666.262617] RDX: 0000000000000000 RSI: 0000000000000086 RDI: ffff8ba740d0dd40
[ 1666.262618] RBP: ffffa924c215ba20 R08: 0000000000000001 R09: 0000000000000526
[ 1666.262618] R10: ffff8ba72e6a2000 R11: 0000000000000526 R12: ffff8ba7295135a0
[ 1666.262619] R13: ffff8ba72dcdd3c0 R14: 0000000000000001 R15: ffffffffffffffef
[ 1666.262620] FS: 0000000000000000(0000) GS:ffff8ba740d00000(0000) knlGS:0000000000000000
[ 1666.262621] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1666.262622] CR2: 00005650509e0738 CR3: 000000011ce09000 CR4: 00000000003406e0
[ 1666.262624] Call Trace:
[ 1666.262630] sysfs_do_create_link_sd.isra.2+0x9e/0xb0
[ 1666.262634] sysfs_create_link+0x25/0x40
[ 1666.262641] device_add+0x2e8/0x670
[ 1666.262643] device_register+0x1a/0x20
[ 1666.262649] pci_add_new_bus+0x179/0x420
[ 1666.262651] pci_scan_bridge+0x5fc/0x640
[ 1666.262654] pci_scan_child_bus+0xa4/0x180
[ 1666.262658] pci_scan_bridge+0x447/0x640
[ 1666.262660] ? pci_scan_single_device+0x51/0xd0
[ 1666.262662] pci_scan_child_bus+0xa4/0x180
[ 1666.262664] pci_scan_bridge+0x447/0x640
[ 1666.262669] enable_slot+0xc6/0x2f0
[ 1666.262670] ? trim_stale_devices+0xab/0x150
[ 1666.262672] acpiphp_check_bridge.part.7+0xff/0x140
[ 1666.262674] acpiphp_hotplug_notify+0x173/0x200
[ 1666.262677] ? free_bridge+0x130/0x130
[ 1666.262681] acpi_device_hotplug+0x9d/0x480
[ 1666.262685] acpi_hotplug_work_fn+0x1e/0x30
[ 1666.262688] process_one_work+0x156/0x3f0
[ 1666.262691] worker_thread+0x4b/0x410
[ 1666.262694] kthread+0x109/0x140
[ 1666.262696] ? process_one_work+0x3f0/0x3f0
[ 1666.262699] ? kthread_create_on_node+0x70/0x70
[ 1666.262706] ret_from_fork+0x2c/0x40
[ 1666.262709] Code: 85 c0 48 89 c3 74 12 b9 00 10 00 00 48 89 c2 31 f6 4c 89 ef e8 ac c8 ff ff 4c 89 e2 48 89 de 48 c7 c7 58 59 ca 93 e8 77 27 ee ff <0f> ff 48 89 df e8 a0 fb f4 ff 5b 41 5c 41 5d 5d c3 66 0f 1f 84
[ 1666.262744] ---[ end trace a1df410cd1bc506d ]---
[ 1666.262829] ------------[ cut here ]------------
[ 1666.262837] WARNING: CPU: 2 PID: 2606 at drivers/pci/probe.c:894 pci_add_new_bus+0x394/0x420
[ 1666.262838] Modules linked in: ctr ccm rfcomm uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media btusb btrtl nvram msr hid_multitouch snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_codec_hdmi snd_hda_ext_core snd_soc_sst_match snd_soc_core snd_hda_codec_realtek snd_hda_codec_generic snd_compress snd_pcm_dmaengine bnep ac97_bus snd_hda_intel snd_hda_codec i2c_designware_platform snd_hda_core i2c_designware_core snd_hwdep arc4 snd_pcm intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp dcdbas snd_seq_midi snd_seq_midi_event kvm_intel kvm binfmt_misc irqbypass snd_rawmidi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc nls_iso8859_1 aesni_intel iwlmvm aes_x86_64 crypto_simd glue_helper cryptd mac80211 snd_seq snd_seq_device joydev
[ 1666.262869] snd_timer input_leds snd serio_raw iwlwifi cfg80211 rtsx_pci_ms soundcore memstick thunderbolt idma64 nvmem_core virt_dma hci_uart intel_pch_thermal btbcm intel_lpss_pci mei_me processor_thermal_device shpchp mei btqca intel_soc_dts_iosf btintel bluetooth ecdh_generic intel_lpss_acpi intel_hid intel_lpss int3403_thermal sparse_keymap int340x_thermal_zone int3400_thermal tpm_crb acpi_thermal_rel mac_hid acpi_pad acpi_als kfifo_buf industrialio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq usbhid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper syscopyarea sysfillrect psmouse sysimgblt fb_sys_fops rtsx_pci nvme drm nvme_core ahci libahci i2c_hid wmi hid pinctrl_sunrisepoint video pinctrl_intel
[ 1666.262922] CPU: 2 PID: 2606 Comm: kworker/u8:3 Tainted: G W 4.12.0-rc1+ #6
[ 1666.262923] Hardware name: Dell Inc. XPS 13 9350/09JHRY, BIOS 1.4.13 12/28/2016
[ 1666.262928] Workqueue: kacpi_hotplug acpi_hotplug_work_fn
[ 1666.262930] task: ffff8ba7256d8ec0 task.stack: ffffa924c2158000
[ 1666.262933] RIP: 0010:pci_add_new_bus+0x394/0x420
[ 1666.262934] RSP: 0018:ffffa924c215bae8 EFLAGS: 00010282
[ 1666.262935] RAX: 00000000ffffffef RBX: ffff8ba72cbf6000 RCX: 0000000000000000
[ 1666.262936] RDX: 0000000000000001 RSI: ffff8ba72cbf6168 RDI: 0000000000000001
[ 1666.262936] RBP: ffffa924c215bb28 R08: 000000000001efa0 R09: ffffffff935a0dcb
[ 1666.262937] R10: ffffce3451a83600 R11: 0000000000000000 R12: ffff8ba72cbf6800
[ 1666.262938] R13: ffff8ba72af7a000 R14: ffff8ba72af7a000 R15: ffff8ba72cbf6120
[ 1666.262939] FS: 0000000000000000(0000) GS:ffff8ba740d00000(0000) knlGS:0000000000000000
[ 1666.262939] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1666.262940] CR2: 00005650509e0738 CR3: 000000011ce09000 CR4: 00000000003406e0
[ 1666.262941] Call Trace:
[ 1666.262945] pci_scan_bridge+0x5fc/0x640
[ 1666.262947] pci_scan_child_bus+0xa4/0x180
[ 1666.262949] pci_scan_bridge+0x447/0x640
[ 1666.262951] ? pci_scan_single_device+0x51/0xd0
[ 1666.262952] pci_scan_child_bus+0xa4/0x180
[ 1666.262954] pci_scan_bridge+0x447/0x640
[ 1666.262957] enable_slot+0xc6/0x2f0
[ 1666.262959] ? trim_stale_devices+0xab/0x150
[ 1666.262961] acpiphp_check_bridge.part.7+0xff/0x140
[ 1666.262962] acpiphp_hotplug_notify+0x173/0x200
[ 1666.262964] ? free_bridge+0x130/0x130
[ 1666.262966] acpi_device_hotplug+0x9d/0x480
[ 1666.262968] acpi_hotplug_work_fn+0x1e/0x30
[ 1666.262971] process_one_work+0x156/0x3f0
[ 1666.262973] worker_thread+0x4b/0x410
[ 1666.262975] kthread+0x109/0x140
[ 1666.262976] ? process_one_work+0x3f0/0x3f0
[ 1666.262978] ? kthread_create_on_node+0x70/0x70
[ 1666.262981] ret_from_fork+0x2c/0x40
[ 1666.262982] Code: 0f 84 80 00 00 00 83 c2 02 48 63 d2 0f b6 82 79 be a6 93 eb 0b 83 f8 01 19 c0 83 e0 03 83 c0 0c 88 83 e3 00 00 00 e9 7d fe ff ff <0f> ff e9 e6 fd ff ff 0f ff 48 c7 c6 4a a4 cc 93 89 c2 4c 89 ff
[ 1666.263011] ---[ end trace a1df410cd1bc506e ]---
[ 1666.263055] pci 0000:05:01.0: [8086:1578] type 01 class 0x060400
[ 1666.263393] pci 0000:05:01.0: supports D1 D2
[ 1666.263395] pci 0000:05:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1666.263590] pci 0000:05:04.0: [8086:1578] type 01 class 0x060400
[ 1666.263860] pci 0000:05:04.0: supports D1 D2
[ 1666.263861] pci 0000:05:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1666.264032] pci 0000:04:00.0: PCI bridge to [bus 05-38]
[ 1666.264049] pci 0000:04:00.0: bridge window [mem 0xc4000000-0xd9efffff]
[ 1666.264061] pci 0000:04:00.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[ 1666.264150] pci 0000:05:01.0: PCI bridge to [bus 06]
[ 1666.264260] pci 0000:05:04.0: PCI bridge to [bus 07-38]
[ 1666.264277] pci 0000:05:04.0: bridge window [mem 0xc4000000-0xd9efffff]
[ 1666.264288] pci 0000:05:04.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[ 1666.264372] pci_bus 0000:02: Allocating resources
[ 1666.264442] pci 0000:05:04.0: bridge window [io 0x1000-0x0fff] to [bus 07-38] add_size 1000
[ 1666.264459] pci 0000:04:00.0: bridge window [io 0x1000-0x0fff] to [bus 05-38] add_size 1000
[ 1666.264487] pci 0000:04:00.0: BAR 13: assigned [io 0x2000-0x2fff]
[ 1666.264489] pci 0000:05:04.0: BAR 13: assigned [io 0x2000-0x2fff]
[ 1666.264490] pci 0000:05:01.0: PCI bridge to [bus 06]
[ 1666.264515] pci 0000:05:04.0: PCI bridge to [bus 07-38]
[ 1666.264518] pci 0000:05:04.0: bridge window [io 0x2000-0x2fff]
[ 1666.264527] pci 0000:05:04.0: bridge window [mem 0xc4000000-0xd9efffff]
[ 1666.264533] pci 0000:05:04.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[ 1666.264544] pci 0000:04:00.0: PCI bridge to [bus 05-38]
[ 1666.264548] pci 0000:04:00.0: bridge window [io 0x2000-0x2fff]
[ 1666.264556] pci 0000:04:00.0: bridge window [mem 0xc4000000-0xd9efffff]
[ 1666.264562] pci 0000:04:00.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[ 1666.264621] pcieport 0000:04:00.0: enabling device (0006 -> 0007)
[ 1666.266164] pcieport 0000:05:04.0: enabling device (0006 -> 0007)
[ 1667.831384] thunderbolt 0000:03:00.0: 301: reading drom (length: 0x75)
[ 1668.000509] thunderbolt 0000:03:00.0: 301: uid: 0x80864f418ce17510
[ 1668.000582] thunderbolt 0000:03:00.0: Port 0: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1668.000587] thunderbolt 0000:03:00.0: Max hop id (in/out): 7/7
[ 1668.000591] thunderbolt 0000:03:00.0: Max counters: 8
[ 1668.000595] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 1668.000807] thunderbolt 0000:03:00.0: Port 1: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1668.000812] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 1668.000815] thunderbolt 0000:03:00.0: Max counters: 16
[ 1668.000819] thunderbolt 0000:03:00.0: NFC Credits: 0x7800000
[ 1668.001033] thunderbolt 0000:03:00.0: Port 2: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1668.001037] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 1668.001041] thunderbolt 0000:03:00.0: Max counters: 16
[ 1668.001044] thunderbolt 0000:03:00.0: NFC Credits: 0x0
[ 1668.005369] thunderbolt 0000:03:00.0: Port 3: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1668.005378] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 1668.005384] thunderbolt 0000:03:00.0: Max counters: 16
[ 1668.005391] thunderbolt 0000:03:00.0: NFC Credits: 0x3c00000
[ 1668.005655] thunderbolt 0000:03:00.0: Port 4: 8086:1578 (Revision: 4, TB Version: 1, Type: Port (0x1))
[ 1668.005661] thunderbolt 0000:03:00.0: Max hop id (in/out): 15/15
[ 1668.005666] thunderbolt 0000:03:00.0: Max counters: 16
[ 1668.005672] thunderbolt 0000:03:00.0: NFC Credits: 0x3c00000
[ 1668.005679] thunderbolt 0000:03:00.0: 301:5: disabled by eeprom
[ 1668.005757] thunderbolt 0000:03:00.0: Port 6: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100102))
[ 1668.005763] thunderbolt 0000:03:00.0: Max hop id (in/out): 8/8
[ 1668.005768] thunderbolt 0000:03:00.0: Max counters: 2
[ 1668.005774] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 1668.005848] thunderbolt 0000:03:00.0: Port 7: 8086:1578 (Revision: 4, TB Version: 1, Type: PCIe (0x100101))
[ 1668.005854] thunderbolt 0000:03:00.0: Max hop id (in/out): 8/8
[ 1668.005859] thunderbolt 0000:03:00.0: Max counters: 2
[ 1668.005865] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 1668.005940] thunderbolt 0000:03:00.0: Port 8: 8086:1578 (Revision: 4, TB Version: 1, Type: DP/HDMI (0xe0102))
[ 1668.005946] thunderbolt 0000:03:00.0: Max hop id (in/out): 9/9
[ 1668.005952] thunderbolt 0000:03:00.0: Max counters: 2
[ 1668.005957] thunderbolt 0000:03:00.0: NFC Credits: 0x800000
[ 1668.005963] thunderbolt 0000:03:00.0: 301:9: disabled by eeprom
[ 1668.006041] thunderbolt 0000:03:00.0: Port 10: 8086:1578 (Revision: 4, TB Version: 1, Type: DP/HDMI (0xe0101))
[ 1668.006047] thunderbolt 0000:03:00.0: Max hop id (in/out): 9/9
[ 1668.006052] thunderbolt 0000:03:00.0: Max counters: 2
[ 1668.006058] thunderbolt 0000:03:00.0: NFC Credits: 0x1000000
[ 1668.006064] thunderbolt 0000:03:00.0: 301:b: disabled by eeprom
[ 1671.717837] pci 0000:07:00.0: [8086:1578] type 01 class 0x060400
[ 1671.718339] pci 0000:07:00.0: supports D1 D2
[ 1671.718343] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1671.719133] pci 0000:08:01.0: [8086:1578] type 01 class 0x060400
[ 1671.719656] pci 0000:08:01.0: supports D1 D2
[ 1671.719660] pci 0000:08:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1671.720022] pci 0000:08:04.0: [8086:1578] type 01 class 0x060400
[ 1671.720512] pci 0000:08:04.0: supports D1 D2
[ 1671.720517] pci 0000:08:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1671.720925] pci 0000:07:00.0: PCI bridge to [bus 08-38]
[ 1671.720952] pci 0000:07:00.0: bridge window [io 0x2000-0x2fff]
[ 1671.720966] pci 0000:07:00.0: bridge window [mem 0xc4000000-0xd9efffff]
[ 1671.720986] pci 0000:07:00.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[ 1671.721402] pci 0000:09:00.0: [1b21:1142] type 00 class 0x0c0330
[ 1671.721548] pci 0000:09:00.0: reg 0x10: [mem 0xc4000000-0xc4007fff 64bit]
[ 1671.722373] pci 0000:09:00.0: PME# supported from D3cold
[ 1671.723086] pci 0000:08:01.0: PCI bridge to [bus 09]
[ 1671.723110] pci 0000:08:01.0: bridge window [io 0x2000-0x2fff]
[ 1671.723121] pci 0000:08:01.0: bridge window [mem 0xc4000000-0xc40fffff]
[ 1671.723391] pci 0000:08:04.0: PCI bridge to [bus 0a-38]
[ 1671.723422] pci 0000:08:04.0: bridge window [mem 0xc4100000-0xd9efffff]
[ 1671.723441] pci 0000:08:04.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[ 1671.723636] pci_bus 0000:02: Allocating resources
[ 1671.723805] pci 0000:08:04.0: bridge window [io 0x1000-0x0fff] to [bus 0a-38] add_size 1000
[ 1671.723918] pci 0000:08:04.0: BAR 13: no space for [io size 0x1000]
[ 1671.723921] pci 0000:08:04.0: BAR 13: failed to assign [io size 0x1000]
[ 1671.723923] pci 0000:08:04.0: BAR 13: no space for [io size 0x1000]
[ 1671.723924] pci 0000:08:04.0: BAR 13: failed to assign [io size 0x1000]
[ 1671.723927] pci 0000:08:01.0: PCI bridge to [bus 09]
[ 1671.723933] pci 0000:08:01.0: bridge window [io 0x2000-0x2fff]
[ 1671.723949] pci 0000:08:01.0: bridge window [mem 0xc4000000-0xc40fffff]
[ 1671.723978] pci 0000:08:04.0: PCI bridge to [bus 0a-38]
[ 1671.723992] pci 0000:08:04.0: bridge window [mem 0xc4100000-0xd9efffff]
[ 1671.724003] pci 0000:08:04.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[ 1671.724021] pci 0000:07:00.0: PCI bridge to [bus 08-38]
[ 1671.724027] pci 0000:07:00.0: bridge window [io 0x2000-0x2fff]
[ 1671.724042] pci 0000:07:00.0: bridge window [mem 0xc4000000-0xd9efffff]
[ 1671.724052] pci 0000:07:00.0: bridge window [mem 0xa0000000-0xc1ffffff 64bit pref]
[ 1671.729214] xhci_hcd 0000:09:00.0: xHCI Host Controller
[ 1671.729219] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 3
[ 1671.790011] xhci_hcd 0000:09:00.0: hcc params 0x0200e081 hci version 0x100 quirks 0x00000010
[ 1671.790376] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 1671.790378] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1671.790379] usb usb3: Product: xHCI Host Controller
[ 1671.790379] usb usb3: Manufacturer: Linux 4.12.0-rc1+ xhci-hcd
[ 1671.790380] usb usb3: SerialNumber: 0000:09:00.0
[ 1671.790536] hub 3-0:1.0: USB hub found
[ 1671.790552] hub 3-0:1.0: 2 ports detected
[ 1671.790682] xhci_hcd 0000:09:00.0: xHCI Host Controller
[ 1671.790688] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 4
[ 1671.790761] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1671.790779] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[ 1671.790780] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1671.790781] usb usb4: Product: xHCI Host Controller
[ 1671.790782] usb usb4: Manufacturer: Linux 4.12.0-rc1+ xhci-hcd
[ 1671.790783] usb usb4: SerialNumber: 0000:09:00.0
[ 1671.791243] hub 4-0:1.0: USB hub found
[ 1671.791255] hub 4-0:1.0: 2 ports detected
[ 1672.177422] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[ 1672.378504] usb 3-1: New USB device found, idVendor=0424, idProduct=2137
[ 1672.378507] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1672.378510] usb 3-1: Product: USB2137B
[ 1672.378511] usb 3-1: Manufacturer: SMSC
[ 1672.380179] hub 3-1:1.0: USB hub found
[ 1672.380272] hub 3-1:1.0: 7 ports detected
[ 1672.497889] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
[ 1672.523006] usb 4-1: New USB device found, idVendor=0424, idProduct=5537
[ 1672.523014] usb 4-1: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[ 1672.523018] usb 4-1: Product: USB5537B
[ 1672.523023] usb 4-1: Manufacturer: SMSC
[ 1672.525130] hub 4-1:1.0: USB hub found
[ 1672.525678] hub 4-1:1.0: 7 ports detected
[ 1672.669558] usb 3-1.5: new high-speed USB device number 3 using xhci_hcd
[ 1672.854006] usb 3-1.5: New USB device found, idVendor=0bda, idProduct=4014
[ 1672.854014] usb 3-1.5: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 1672.854018] usb 3-1.5: Product: USB Audio
[ 1672.854022] usb 3-1.5: Manufacturer: Generic
[ 1672.854025] usb 3-1.5: SerialNumber: 200901010001
[ 1672.913951] usb 4-1.2: new SuperSpeed USB device number 3 using xhci_hcd
[ 1672.939202] usb 4-1.2: New USB device found, idVendor=0bda, idProduct=8153
[ 1672.939209] usb 4-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 1672.939214] usb 4-1.2: Product: USB 10/100/1000 LAN
[ 1672.939218] usb 4-1.2: Manufacturer: Realtek
[ 1672.939223] usb 4-1.2: SerialNumber: 000001000000
[ 1673.641329] usbcore: registered new interface driver r8152
[ 1673.645860] usbcore: registered new interface driver cdc_ether
[ 1674.275052] usb 4-1.2: reset SuperSpeed USB device number 3 using xhci_hcd
[ 1674.364596] usbcore: registered new interface driver snd-usb-audio
[ 1674.376658] r8152 4-1.2:1.0 (unnamed net_device) (uninitialized): Using pass-thru MAC addr 84:7b:eb:59:92:d2
[ 1674.440410] r8152 4-1.2:1.0 eth0: v1.08.9
[ 1674.670704] r8152 4-1.2:1.0 enx847beb5992d2: renamed from eth0
[ 1674.722446] IPv6: ADDRCONF(NETDEV_UP): enx847beb5992d2: link is not ready
[ 1674.763848] IPv6: ADDRCONF(NETDEV_UP): enx847beb5992d2: link is not ready