mirror-linux/drivers/thunderbolt
Gil Fine f0b94c1c5c thunderbolt: Fix minimum allocated USB 3.x and PCIe bandwidth
With the current bandwidth allocation we end up reserving too much for the USB
3.x and PCIe tunnels that leads to reduced capabilities for the second
DisplayPort tunnel.

Fix this by decreasing the USB 3.x allocation to 900 Mb/s which then allows
both tunnels to get the maximum HBR2 bandwidth.  This way, the reserved
bandwidth for USB 3.x and PCIe, would be 1350 Mb/s (taking weights of USB 3.x
and PCIe into account). So bandwidth allocations on a link are:
USB 3.x + PCIe tunnels => 1350 Mb/s
DisplayPort tunnel #1  => 17280 Mb/s
DisplayPort tunnel #2  => 17280 Mb/s

Total consumed bandwidth is 35910 Mb/s. So that all the above can be tunneled
on a Gen 3 link (which allows maximum of 36000 Mb/s).

Fixes: 582e70b0d3 ("thunderbolt: Change bandwidth reservations to comply USB4 v2")
Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2023-12-08 09:03:49 +02:00
..
Kconfig
Makefile
acpi.c thunderbolt: Log a warning if device links are not found 2023-08-08 08:13:11 +03:00
cap.c
clx.c thunderbolt: Check for unplugged router in tb_switch_clx_disable() 2023-10-13 08:49:13 +03:00
ctl.c
ctl.h
debugfs.c thunderbolt: Fix memory leak in margining_port_remove() 2023-11-27 12:45:47 +02:00
dma_port.c
dma_port.h
dma_test.c thunderbolt: dma_test: Use enum tb_link_width 2023-10-13 08:49:12 +03:00
domain.c
eeprom.c
icm.c thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge 2023-09-15 12:59:02 +03:00
lc.c
nhi.c thunderbolt: Add Intel Barlow Ridge PCI ID 2023-06-16 09:53:28 +03:00
nhi.h thunderbolt: Limit Intel Barlow Ridge USB3 bandwidth 2023-06-16 09:53:28 +03:00
nhi_ops.c
nhi_regs.h thunderbolt: Reset USB4 v2 host router 2023-06-16 09:53:28 +03:00
nvm.c thunderbolt: Increase NVM_MAX_SIZE to support Intel Barlow Ridge controller 2023-06-16 09:53:28 +03:00
path.c thunderbolt: Set path power management packet support bit for USB4 v2 routers 2023-10-20 18:18:01 +03:00
property.c
quirks.c thunderbolt: Apply USB 3.x bandwidth quirk only in software connection manager 2023-09-15 13:04:43 +03:00
retimer.c thunderbolt: Log NVM version of routers and retimers 2023-10-13 08:49:13 +03:00
sb_regs.h
switch.c thunderbolt: Send uevent after asymmetric/symmetric switch 2023-11-17 13:05:57 +02:00
tb.c thunderbolt: Only add device router DP IN to the head of the DP resource list 2023-11-17 13:05:57 +02:00
tb.h thunderbolt: Add support for asymmetric link 2023-10-20 18:18:01 +03:00
tb_msgs.h
tb_regs.h thunderbolt: Add support for asymmetric link 2023-10-20 18:18:01 +03:00
test.c thunderbolt: Add test case for 3 DisplayPort tunnels 2023-06-16 09:53:29 +03:00
tmu.c thunderbolt: Correct TMU mode initialization from hardware 2023-09-15 12:59:02 +03:00
tunnel.c thunderbolt: Introduce tb_port_path_direction_downstream() 2023-10-20 18:18:01 +03:00
tunnel.h thunderbolt: Change bandwidth reservations to comply USB4 v2 2023-10-20 18:18:01 +03:00
usb4.c thunderbolt: Fix minimum allocated USB 3.x and PCIe bandwidth 2023-12-08 09:03:49 +02:00
usb4_port.c
xdomain.c thunderbolt: Restart XDomain discovery handshake after failure 2023-09-15 13:01:18 +03:00