linux_old1/drivers/misc/mei
Tomas Winkler 544f946014 mei: do not run reset flow from the interrupt thread
This fixes a potential deadlock in case of a firmware
initiated reset

mei_reset has a dialog with the interrupt thread hence
it has to be run from an another work item

Most of the mei_resets were called from mei_hbm_dispatch
which is called in interrupt thread context so this
function underwent major revamp. The error code is
propagated to the interrupt thread and if needed
the reset is scheduled from there.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-01-08 15:25:15 -08:00
..
Kconfig mei: move mei-me to separate module 2013-03-29 08:32:21 -07:00
Makefile mei: nfc: Initial nfc implementation 2013-04-10 18:56:53 -07:00
amthif.c mei: enable marking internal commands 2013-12-18 16:39:54 -08:00
bus.c mei: bus: propagate error code returned by mei_me_cl_by_id 2013-10-29 16:20:43 -07:00
client.c mei: enable marking internal commands 2013-12-18 16:39:54 -08:00
client.h Merge 3.12-rc3 into char-misc-next 2013-09-29 18:27:03 -07:00
debugfs.c mei: convert to use simple_open() 2013-04-11 12:39:01 -07:00
hbm.c mei: do not run reset flow from the interrupt thread 2014-01-08 15:25:15 -08:00
hbm.h mei: do not run reset flow from the interrupt thread 2014-01-08 15:25:15 -08:00
hw-me-regs.h mei: add 9 series PCH mei device ids 2013-12-05 09:48:23 -08:00
hw-me.c mei: do not run reset flow from the interrupt thread 2014-01-08 15:25:15 -08:00
hw-me.h mei: revamp mei_data2slots 2013-03-15 11:10:48 -07:00
hw.h mei: enable marking internal commands 2013-12-18 16:39:54 -08:00
init.c mei: do not run reset flow from the interrupt thread 2014-01-08 15:25:15 -08:00
interrupt.c mei: do not run reset flow from the interrupt thread 2014-01-08 15:25:15 -08:00
main.c mei: revamp open handler counts 2013-10-03 16:01:16 -07:00
mei_dev.h mei: do not run reset flow from the interrupt thread 2014-01-08 15:25:15 -08:00
nfc.c mei: remove flash_work_queue 2013-11-27 11:11:28 -08:00
pci-me.c mei: me: set dma mask using DMA mapping API 2013-12-18 16:39:54 -08:00
wd.c mei: enable marking internal commands 2013-12-18 16:39:54 -08:00