linux/drivers/thunderbolt
Mika Westerberg 559c1e1e01 thunderbolt: Run tb_xdp_handle_request() in system workqueue
We run all XDomain requests during discovery in tb->wq and since it only
runs one work at the time it means that sending back reply to the other
domain may be delayed too much depending whether there is an active
XDomain discovery request running.

To make sure we can send reply to the other domain as soon as possible
run tb_xdp_handle_request() in system workqueue instead. Since the
device can be hot-removed in the middle we need to make sure the domain
structure is still around when the function is run so increase reference
count before we schedule the reply work.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2019-04-18 11:18:53 +03:00
..
cap.c thunderbolt: Add dummy read after port capability list walk on Light Ridge 2019-04-18 11:18:51 +03:00
ctl.c thunderbolt: Add Intel as copyright holder 2018-10-02 15:52:08 -07:00
ctl.h thunderbolt: Add Intel as copyright holder 2018-10-02 15:52:08 -07:00
dma_port.c thunderbolt: Convert rest of the driver files to use SPDX identifier 2018-10-02 15:52:08 -07:00
dma_port.h thunderbolt: Convert rest of the driver files to use SPDX identifier 2018-10-02 15:52:08 -07:00
domain.c thunderbolt: Export IOMMU based DMA protection support to userspace 2018-12-05 12:01:56 +03:00
eeprom.c thunderbolt: Add Intel as copyright holder 2018-10-02 15:52:08 -07:00
icm.c thunderbolt: Assign remote for both ports in case of dual link 2019-04-18 11:18:52 +03:00
Kconfig thunderbolt: Add support for host and device NVM firmware upgrade 2017-06-09 11:42:43 +02:00
lc.c thunderbolt: Set sleep bit when suspending switch 2019-04-18 11:18:52 +03:00
Makefile thunderbolt: Rename tunnel_pci to tunnel 2019-04-18 11:18:52 +03:00
nhi.c thunderbolt: Add functions for allocating and releasing HopIDs 2019-04-18 11:18:52 +03:00
nhi.h thunderbolt: Add Intel as copyright holder 2018-10-02 15:52:08 -07:00
nhi_regs.h thunderbolt: Add Intel as copyright holder 2018-10-02 15:52:08 -07:00
path.c thunderbolt: Do not tear down tunnels when driver is unloaded 2019-04-18 11:18:53 +03:00
property.c thunderbolt: property: Fix a missing check of kzalloc 2019-03-28 11:30:47 +03:00
switch.c thunderbolt: Add support for Display Port tunnels 2019-04-18 11:18:53 +03:00
tb.c thunderbolt: Do not tear down tunnels when driver is unloaded 2019-04-18 11:18:53 +03:00
tb.h thunderbolt: Run tb_xdp_handle_request() in system workqueue 2019-04-18 11:18:53 +03:00
tb_msgs.h thunderbolt: Convert rest of the driver files to use SPDX identifier 2018-10-02 15:52:08 -07:00
tb_regs.h thunderbolt: Add support for Display Port tunnels 2019-04-18 11:18:53 +03:00
tunnel.c thunderbolt: Do not tear down tunnels when driver is unloaded 2019-04-18 11:18:53 +03:00
tunnel.h thunderbolt: Add support for Display Port tunnels 2019-04-18 11:18:53 +03:00
xdomain.c thunderbolt: Run tb_xdp_handle_request() in system workqueue 2019-04-18 11:18:53 +03:00