alistair23-linux/drivers/misc/mei
Alexander Usyskin e4d8270e60 mei: set connecting state just upon connection request is sent to the fw
Adding power gating introduced new waiting state for client also during
connection attempt, a connection request can be queued for later either due
device is power gated or due to other on going connection.
We setting client connection state before start of full connect procedure so
in both cased the client state will be MEI_FILE_CONNECTING
which create interlock between the two connection attempts, both
detecting that another connection is in progress.

The interlock is resolved by moving client to connecting state
only upon connection request transmission, so the  first
cb in queue can be processed.

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>
2014-05-03 19:21:56 -04:00
..
amthif.c mei: set connecting state just upon connection request is sent to the fw 2014-05-03 19:21:56 -04:00
bus.c mei: set connecting state just upon connection request is sent to the fw 2014-05-03 19:21:56 -04:00
client.c mei: set connecting state just upon connection request is sent to the fw 2014-05-03 19:21:56 -04:00
client.h mei: client.h fix checkpatch errors 2014-03-17 15:57:43 -07:00
debugfs.c mei: export active connections to debugfs 2014-02-07 15:09:35 -08:00
hbm.c mei: me: add runtime pm framework 2014-05-03 19:20:24 -04:00
hbm.h mei: implement power gating isolation hbm layer 2014-05-03 19:20:23 -04:00
hw-me-regs.h mei: me: introduce power gating registers 2014-05-03 19:20:23 -04:00
hw-me.c mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-me.h mei: me: add runtime pm framework 2014-05-03 19:20:24 -04:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.h mei: txe: add runtime pm framework 2014-05-03 19:20:24 -04:00
hw.h mei: me: bump hbm version to 1.1 to support power gating 2014-05-03 19:20:25 -04:00
init.c mei: extract fw status registers 2014-05-03 19:21:22 -04:00
interrupt.c mei: ignore client writing state during cb completion 2014-04-16 12:24:16 -07:00
Kconfig mei: fix compilation error with missing WATCHDOG_CORE 2014-02-14 10:13:46 -08:00
main.c mei: set connecting state just upon connection request is sent to the fw 2014-05-03 19:21:56 -04:00
Makefile mei: txe: add Kbuild for TXE device 2014-02-07 15:08:46 -08:00
mei_dev.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
nfc.c mei: make return values consistent across the driver 2014-02-28 15:15:57 -08:00
pci-me.c mei: me: use runtime PG pm domain for non wakeable devices 2014-05-03 19:20:25 -04:00
pci-txe.c mei: txe: use runtime PG pm domain for non wakeable devices 2014-05-03 19:20:25 -04:00
wd.c mei: set connecting state just upon connection request is sent to the fw 2014-05-03 19:21:56 -04:00