linux/drivers/thunderbolt
Mika Westerberg e05e9cca77 thunderbolt: Mask ring interrupt on Intel hardware as well
commit 9f9666e653 upstream.

When resuming from system sleep states the driver issues following
warning on Intel hardware:

  thunderbolt 0000:07:00.0: interrupt for TX ring 0 is already enabled

The reason for this is that the commit in question did not mask the ring
interrupt on Intel hardware leaving the interrupt active. Fix this by
masking it also in Intel hardware.

Reported-by: beld zhang <beldzhang@gmail.com>
Tested-by: beld zhang <beldzhang@gmail.com>
Closes: https://lore.kernel.org/linux-usb/ZHKW5NeabmfhgLbY@debian.me/
Fixes: c4af8e3fec ("thunderbolt: Clear registers properly when auto clear isn't in use")
Cc: stable@vger.kernel.org
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-21 15:59:15 +02:00
..
acpi.c
cap.c
ctl.c
ctl.h
debugfs.c
dma_port.c
dma_port.h
dma_test.c thunderbolt: dma_test: Use correct value for absent rings when creating paths 2023-06-21 15:59:15 +02:00
domain.c
eeprom.c
icm.c
Kconfig
lc.c
Makefile
nhi_ops.c
nhi_regs.h thunderbolt: Clear registers properly when auto clear isn't in use 2023-05-24 17:36:54 +01:00
nhi.c thunderbolt: Mask ring interrupt on Intel hardware as well 2023-06-21 15:59:15 +02:00
nhi.h
nvm.c
path.c thunderbolt: Tear down existing tunnels when resuming from hibernate 2022-11-16 09:58:12 +01:00
property.c
quirks.c
retimer.c thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:47:52 +02:00
sb_regs.h thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:47:52 +02:00
switch.c thunderbolt: Call tb_check_quirks() after initializing adapters 2023-03-30 12:47:51 +02:00
tb_msgs.h
tb_regs.h thunderbolt: Explicitly enable lane adapter hotplug events at startup 2022-10-26 12:34:32 +02:00
tb.c thunderbolt: Add DP OUT resource when DP tunnel is discovered 2022-11-16 09:58:13 +01:00
tb.h thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:47:52 +02:00
test.c
tmu.c
tunnel.c thunderbolt: Use correct function to calculate maximum USB3 link rate 2023-01-24 07:22:46 +01:00
tunnel.h thunderbolt: Tear down existing tunnels when resuming from hibernate 2022-11-16 09:58:12 +01:00
usb4_port.c
usb4.c thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:47:52 +02:00
xdomain.c