linux-stable/drivers/thunderbolt
Mika Westerberg 5dda1e7d7c thunderbolt: Prevent root port runtime suspend during NVM upgrade
[ Upstream commit 1830b6eeda ]

During NVM upgrade process the host router is hot-removed for a short
while. During this time it is possible that the root port is moved into
D3cold which would be fine if the root port could trigger PME on itself.
However, many systems actually do not implement it so what happens is
that the root port goes into D3cold and never wakes up unless userspace
does PCI config space access, such as running 'lscpi'.

For this reason we explicitly prevent the root port from runtime
suspending during NVM upgrade.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-12-17 09:24:36 +01:00
..
cap.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ctl.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-04 09:26:51 +09:00
ctl.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-04 09:26:51 +09:00
dma_port.c thunderbolt: Add support for Intel Titan Ridge 2018-03-09 12:54:11 +03:00
dma_port.h thunderbolt: Add support for DMA configuration based mailbox 2017-06-09 11:42:43 +02:00
domain.c thunderbolt: Add support for runtime PM 2018-07-25 10:55:29 +02:00
eeprom.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
icm.c thunderbolt: Do not handle ICM events after domain is stopped 2018-10-02 10:51:16 -07:00
Kconfig thunderbolt: Add support for host and device NVM firmware upgrade 2017-06-09 11:42:43 +02:00
Makefile thunderbolt: Add support for XDomain discovery protocol 2017-10-02 11:24:41 -07:00
nhi.c thunderbolt: Initialize after IOMMUs 2018-10-02 10:51:16 -07:00
nhi.h thunderbolt: Add support for Intel Titan Ridge 2018-03-09 12:54:11 +03:00
nhi_regs.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-04 09:26:51 +09:00
path.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
property.c thunderbolt: Add support for XDomain properties 2017-10-02 11:24:40 -07:00
switch.c thunderbolt: Prevent root port runtime suspend during NVM upgrade 2018-12-17 09:24:36 +01:00
tb.c Char/Misc patches for 4.15-rc1 2017-11-16 09:10:59 -08:00
tb.h thunderbolt: Add support for runtime PM 2018-07-25 10:55:29 +02:00
tb_msgs.h thunderbolt: Add support for runtime PM 2018-07-25 10:55:29 +02:00
tb_regs.h thunderbolt: Fix small typo in variable name 2018-07-25 10:15:24 +02:00
tunnel_pci.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tunnel_pci.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xdomain.c thunderbolt: Add support for runtime PM 2018-07-25 10:55:29 +02:00