Thanks for the replies to this patch, they have been very helpful. I now see there are some ways to make this more generic - for supporting any hotplug bridge using the HotPlug PCI slot capability as an indicator. This would also allow hotplugging to be supported correctly for U.2 devices, which again may boot without a device connected and then could have any PCIe device plugged in to them when the OS is loaded.

I have also found a nice way to emulate hotpluggable PCIe devices in QEMU:

I will work to have a more generic solution and resubmit it as a different driver, since the name thunderbolt is specific to only one technology - Thunderbolt 3 - and that will soon be obsoleted by USB 4.

View Change

To view, visit change 35946. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I500191626584b83e6a8ae38417fd324b5e803afc
Gerrit-Change-Number: 35946
Gerrit-PatchSet: 1
Gerrit-Owner: Jeremy Soller <>
Gerrit-Reviewer: Jeremy Soller <>
Gerrit-Reviewer: Martin Roth <>
Gerrit-Reviewer: Patrick Georgi <>
Gerrit-Reviewer: build bot (Jenkins) <>
Gerrit-CC: Aaron Durbin <>
Gerrit-CC: Duncan Laurie <>
Gerrit-CC: Furquan Shaikh <>
Gerrit-CC: Kyösti Mälkki <>
Gerrit-CC: Matt DeVillier <>
Gerrit-CC: Mimoja <>
Gerrit-CC: Nathaniel L Desimone <>
Gerrit-CC: Nico Huber <>
Gerrit-CC: Patrick Rudolph <>
Gerrit-CC: Subrata Banik <>
Gerrit-Comment-Date: Thu, 10 Oct 2019 14:23:38 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment