Messages in this thread | | | Date | Mon, 6 Nov 2023 19:56:52 +0100 | From | Lukas Wunner <> | Subject | Re: [PATCH v2 8/9] PCI: Exclude PCIe ports used for tunneling in pcie_bandwidth_available() |
| |
On Mon, Nov 06, 2023 at 12:44:25PM -0600, Mario Limonciello wrote: > Tangentially related; the link speed is currently symmetric but there are > two sysfs files. Mika left a comment in drivers/thunderbolt/switch.c it may > be asymmetric in the future. So we may need to keep that in mind on any > design that builds on top of them.
Aren't asymmetric Thunderbolt speeds just a DisplayPort thing?
> As 'thunderbolt' can be a module or built in, we need to bring code into PCI > core so that it works in early boot before it loads.
tb_switch_get_generation() is small enough that it could be moved to the PCI core. I doubt that we need to make thunderbolt built-in only or move a large amount of code to the PCI core.
Thanks,
Lukas
| |