linux/drivers/thunderbolt
Rajmohan Mani 6651c91de0 thunderbolt: Optimize NHI LC mailbox command processing
Currently the Ice Lake and Tiger Lake NHI (host controller) LC (link
controller) mailbox command processing checks for the completion of
command every 100 msecs. These controllers are found to complete this in
the order of 1 ms or so. Since this delay is in suspend path, surplus
delay is effectively affecting runtime PM suspend flows.

Optimize this so that we do the wait for 1 ms after reading the mailbox
register. This should make Ice Lake and Tiger Lake runtime suspend take
less time to complete.

Reported-by: Dana Alkattan <dana.alkattan@intel.com>
Signed-off-by: Rajmohan Mani <rajmohan.mani@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2020-09-03 12:06:40 +03:00
..
cap.c thunderbolt: Make tb_switch_find_cap() available to other files 2019-12-18 15:40:36 +01:00
ctl.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ctl.h thunderbolt: Populate PG field in hot plug acknowledgment packet 2019-12-18 15:34:25 +01: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: Use kobj_to_dev() instead of container_of() 2020-09-01 12:06:08 +03:00
eeprom.c thunderbolt: Add support for authenticate on disconnect 2020-07-01 13:51:49 +03:00
icm.c thunderbolt: Add support for Intel Tiger Lake 2020-04-23 09:57:59 +03:00
Kconfig thunderbolt: Add KUnit tests for path walking 2020-06-22 19:58:20 +03:00
lc.c thunderbolt: Add support for authenticate on disconnect 2020-07-01 13:51:49 +03:00
Makefile thunderbolt: Add support for authenticate on disconnect 2020-07-01 13:51:49 +03:00
nhi.c thunderbolt: Get rid of E2E workaround 2020-06-22 19:58:06 +03:00
nhi.h thunderbolt: Add support for Intel Tiger Lake 2020-04-23 09:57:59 +03:00
nhi_ops.c thunderbolt: Optimize NHI LC mailbox command processing 2020-09-03 12:06:40 +03:00
nhi_regs.h thunderbolt: Add support for Intel Ice Lake 2019-08-26 12:15:06 +03:00
nvm.c thunderbolt: Add support for separating the flush to SPI and authenticate 2020-07-01 13:51:49 +03:00
path.c thunderbolt: Add USB3 bandwidth management 2020-06-22 19:58:20 +03:00
property.c thunderbolt: property: Fix a missing check of kzalloc 2019-03-28 11:30:47 +03:00
quirks.c thunderbolt: Fix old style declaration warning 2020-07-02 14:50:11 +03:00
retimer.c thunderbolt: Add support for on-board retimers 2020-06-22 19:58:32 +03:00
sb_regs.h thunderbolt: Add support for on-board retimers 2020-06-22 19:58:32 +03:00
switch.c thunderbolt: Use kobj_to_dev() instead of container_of() 2020-09-01 12:06:08 +03:00
tb.c thunderbolt: Add support for on-board retimers 2020-06-22 19:58:32 +03:00
tb.h thunderbolt: Add support for authenticate on disconnect 2020-07-01 13:51:49 +03:00
tb_msgs.h thunderbolt: Populate PG field in hot plug acknowledgment packet 2019-12-18 15:34:25 +01:00
tb_regs.h thunderbolt: Add support for authenticate on disconnect 2020-07-01 13:51:49 +03:00
test.c thunderbolt: merge fix for kunix_resource changes 2020-08-09 11:06:10 -07:00
tmu.c thunderbolt: Add support for Time Management Unit 2019-12-18 15:41:15 +01:00
tunnel.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
tunnel.h thunderbolt: Add USB3 bandwidth management 2020-06-22 19:58:20 +03:00
usb4.c thunderbolt: Ensure left shift of 512 does not overflow a 32 bit int 2020-07-01 13:46:47 +03:00
xdomain.c thunderbolt: Build initial XDomain property block upon first connect 2020-06-22 19:58:05 +03:00