linux-stable/drivers/thunderbolt
Gil Fine 9eae1facfc thunderbolt: Fix wake configurations after device unplug
commit c38fa07dc6 upstream.

Currently we don't configure correctly the wake events after unplug of device
router. What can happen is that the downstream ports of host router will be
configured to wake on: USB4-wake and wake-on-disconnect, but not on
wake-on-connect. This may cause the later plugged device not to wake the
domain and fail in enumeration. Fix this by clearing downstream port's "USB4
Port is Configured" bit, after unplug of a device router.

Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-27 17:07:14 +02:00
..
Kconfig
Makefile
acpi.c
cap.c
ctl.c
ctl.h
debugfs.c thunderbolt: Fix memory leak in margining_port_remove() 2024-01-01 12:39:08 +00:00
dma_port.c
dma_port.h
dma_test.c
domain.c
eeprom.c
icm.c thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge 2023-10-19 23:08:56 +02:00
lc.c
nhi.c thunderbolt: Add Intel Barlow Ridge PCI ID 2023-08-23 17:52:24 +02:00
nhi.h thunderbolt: Limit Intel Barlow Ridge USB3 bandwidth 2023-08-23 17:52:24 +02:00
nhi_ops.c
nhi_regs.h
nvm.c
path.c
property.c
quirks.c thunderbolt: Add debug log for link controller power quirk 2024-04-27 17:07:10 +02:00
retimer.c thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx() 2023-08-23 17:52:24 +02:00
sb_regs.h
switch.c thunderbolt: Fix wake configurations after device unplug 2024-04-27 17:07:14 +02:00
tb.c thunderbolt: Avoid notify PM core about runtime PM resume 2024-04-27 17:07:14 +02:00
tb.h thunderbolt: Avoid notify PM core about runtime PM resume 2024-04-27 17:07:14 +02:00
tb_msgs.h
tb_regs.h
test.c
tmu.c thunderbolt: Fix a backport error for display flickering issue 2023-09-02 09:16:20 +02:00
tunnel.c
tunnel.h
usb4.c thunderbolt: Avoid notify PM core about runtime PM resume 2024-04-27 17:07:14 +02:00
usb4_port.c
xdomain.c thunderbolt: Restart XDomain discovery handshake after failure 2023-10-19 23:08:56 +02:00