linux-stable/drivers/thunderbolt
Mika Westerberg 5532962c9e 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 16:00:56 +02:00
..
acpi.c
cap.c
ctl.c
ctl.h
debugfs.c thunderbolt: Fix memory leak in margining 2023-03-30 12:49:14 +02:00
dma_port.c
dma_port.h
dma_test.c thunderbolt: dma_test: Use correct value for absent rings when creating paths 2023-06-21 16:00:56 +02:00
domain.c
eeprom.c
icm.c
Kconfig
lc.c
Makefile
nhi.c thunderbolt: Mask ring interrupt on Intel hardware as well 2023-06-21 16:00:56 +02:00
nhi.h
nhi_ops.c
nhi_regs.h thunderbolt: Clear registers properly when auto clear isn't in use 2023-05-24 17:32:51 +01:00
nvm.c
path.c
property.c
quirks.c thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers 2023-04-06 12:10:33 +02:00
retimer.c thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:49:15 +02:00
sb_regs.h thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:49:15 +02:00
switch.c thunderbolt: Call tb_check_quirks() after initializing adapters 2023-03-30 12:49:14 +02:00
tb.c thunderbolt: Do not touch CL state configuration during discovery 2023-06-21 16:00:56 +02:00
tb.h thunderbolt: Use correct type in tb_port_is_clx_enabled() prototype 2023-05-11 23:03:41 +09:00
tb_msgs.h
tb_regs.h
test.c
tmu.c
tunnel.c
tunnel.h
usb4.c thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers 2023-04-06 12:10:33 +02:00
usb4_port.c
xdomain.c