mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
thunderbolt: Disable CLx on Titan Ridge-based devices with old firmware
Thunderbolt 3 devices based on Titan Ridge routers with NVM firmware version < 0x65 have been observed to become unstable when CL states are enabled. This can lead to link disconnect events and the device failing to enumerate. Enable CLx on Titan Ridge only when the running NVM firmware version is >= 0x65. Signed-off-by: Rene Sapiens <rene.sapiens@linux.intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
This commit is contained in:
parent
4573add760
commit
59b03d12b1
|
|
@ -23,6 +23,9 @@ static void quirk_dp_credit_allocation(struct tb_switch *sw)
|
|||
|
||||
static void quirk_clx_disable(struct tb_switch *sw)
|
||||
{
|
||||
if (tb_switch_is_titan_ridge(sw) && sw->nvm && sw->nvm->major >= 0x65)
|
||||
return;
|
||||
|
||||
sw->quirks |= QUIRK_NO_CLX;
|
||||
tb_sw_dbg(sw, "disabling CL states\n");
|
||||
}
|
||||
|
|
@ -61,6 +64,10 @@ static const struct tb_quirk tb_quirks[] = {
|
|||
/* Dell WD19TB supports self-authentication on unplug */
|
||||
{ 0x0000, 0x0000, 0x00d4, 0xb070, quirk_force_power_link },
|
||||
{ 0x0000, 0x0000, 0x00d4, 0xb071, quirk_force_power_link },
|
||||
|
||||
/* Intel Titan Ridge CLx is unstable on early firmware versions */
|
||||
{ 0x8086, PCI_DEVICE_ID_INTEL_TITAN_RIDGE_DD_BRIDGE, 0x0000, 0x0000,
|
||||
quirk_clx_disable },
|
||||
/*
|
||||
* Intel Goshen Ridge NVM 27 and before report wrong number of
|
||||
* DP buffers.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user