linux/drivers/misc/mei
Alexander Usyskin d5f8e166c2 mei: request async autosuspend at the end of enumeration
pm_runtime_autosuspend can take synchronous or asynchronous
paths, Because we are calling pm_runtime_mark_last_busy just before
this most of the cases it takes the asynchronous way. However,
when the FW or driver resets during already running runtime suspend,
the call will result in calling to the driver's rpm callback and results
in a deadlock on device_lock.
The simplest fix is to replace pm_runtime_autosuspend with
asynchronous pm_request_autosuspend.

Cc: <stable@vger.kernel.org> # 4.4+
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-29 20:15:30 +01:00
..
amthif.c mei: enable to set the internal flag for client write 2016-11-10 13:18:02 +01:00
bus-fixup.c Merge 4.9-rc5 into char-misc-next 2016-11-14 16:39:47 +01:00
bus.c mei: bus: split RX and async notification callbacks 2016-11-17 16:37:49 +01:00
client.c mei: request async autosuspend at the end of enumeration 2016-11-29 20:15:30 +01:00
client.h mei: enable to set the internal flag for client write 2016-11-10 13:18:02 +01:00
debugfs.c mei: hbm: send immediate reply flag in enum request 2016-02-07 14:47:20 -08:00
hbm.c mei: stop the stall timer worker if not needed 2016-09-27 12:33:47 +02:00
hbm.h mei: me: d0i3: add d0i3 enter/exit state machine 2015-08-03 17:33:55 -07:00
hw-me-regs.h mei: me: add kaby point device ids 2016-09-12 15:32:29 +02:00
hw-me.c mei: constify buffer in the write functions calls 2016-11-15 10:56:52 +01:00
hw-me.h mei: me: d0i3: enable d0i3 interrupts 2015-08-03 17:33:54 -07:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: constify buffer in the write functions calls 2016-11-15 10:56:52 +01:00
hw-txe.h mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
hw.h mei: hbm: send immediate reply flag in enum request 2016-02-07 14:47:20 -08:00
init.c mei: stop the stall timer worker if not needed 2016-09-27 12:33:47 +02:00
interrupt.c mei: consolidate repeating code in mei_cl_irq_read_msg 2016-11-15 10:56:52 +01:00
Kconfig mei: wd: drop the watchdog code from the core mei driver 2016-02-06 22:11:06 -08:00
main.c mei: enable to set the internal flag for client write 2016-11-10 13:18:02 +01:00
Makefile mei: wd: drop the watchdog code from the core mei driver 2016-02-06 22:11:06 -08:00
mei_dev.h mei: introduce host client uninitialized state 2016-11-17 16:37:49 +01:00
mei-trace.c mei: trace pci configuration space io 2016-02-07 13:00:52 -08:00
mei-trace.h mei: drop superfluous closing bracket from write traces 2016-02-07 14:47:20 -08:00
pci-me.c mei: stop the stall timer worker if not needed 2016-09-27 12:33:47 +02:00
pci-txe.c mei: recover after errors in runtime pm flow 2016-08-30 14:36:39 +02:00