thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers
authorGil Fine <gil.fine@linux.intel.com>
Tue, 31 Jan 2023 11:04:52 +0000 (13:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Apr 2023 10:10:33 +0000 (12:10 +0200)
commiteddee1c229c21ad1686547d50ebd0c835a20cd30
treeeb9e83bb505eb1cc72e71f6f4269e87fa8b26a83
parent3b29299e5f604550faf3eff811d6cd60b4c6cae6
thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers

[ Upstream commit f0a57dd33b3eadf540912cd130db727ea824d174 ]

Current Intel USB4 host routers have hardware limitation that the USB3
bandwidth cannot go higher than 16376 Mb/s. Work this around by adding a
new quirk that limits the bandwidth for the affected host routers.

Cc: stable@vger.kernel.org
Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/thunderbolt/quirks.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/usb4.c