linux/drivers/misc/mei
Alexander Usyskin a03d77f6ed mei: fix flow control for single buffer clients
For ME clients that use single receiving buffer
the driver tracks credentials on mei_me_clients structure
for all connections. The driver needs to book keep the shared
resource correctly and track the connections, particularly
the credit has to be cleaned when there is no active connection
to a particular me client. This solves issue when subsequent
connection will not get an ill impression that it can write.

We add active connection counter the particular ME client and
when the counter reach zero, we clear the credits.

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>
2015-05-24 11:13:48 -07:00
..
amthif.c mei: add a reference from the host client to the me client 2015-05-24 11:13:10 -07:00
bus.c mei: add a reference from the host client to the me client 2015-05-24 11:13:10 -07:00
client.c mei: fix flow control for single buffer clients 2015-05-24 11:13:48 -07:00
client.h mei: add a reference from the host client to the me client 2015-05-24 11:13:10 -07:00
debugfs.c mei: add a reference from the host client to the me client 2015-05-24 11:13:10 -07:00
hbm.c mei: add a reference from the host client to the me client 2015-05-24 11:13:10 -07:00
hbm.h mei: fix hbm MEI_HBM_STARTED ambiguity 2014-11-07 09:59:08 -08:00
hw-me-regs.h mei: read and print all six FW status registers 2014-11-26 19:06:41 -08:00
hw-me.c mei: me: change power gating function name conventions 2015-03-01 19:36:59 -08:00
hw-me.h mei: me: change power gating function name conventions 2015-03-01 19:36:59 -08:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: txe: reduce suspend/resume time 2015-05-24 11:13:10 -07:00
hw-txe.h mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
hw.h mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
init.c Merge 4.0-rc3 into char-misc-next 2015-03-09 08:44:23 +01:00
interrupt.c mei: add a reference from the host client to the me client 2015-05-24 11:13:10 -07:00
Kconfig mei: fix compilation error with missing WATCHDOG_CORE 2014-02-14 10:13:46 -08:00
main.c mei: add a reference from the host client to the me client 2015-05-24 11:13:10 -07:00
Makefile mei: me: add io register tracing 2015-03-01 19:36:59 -08:00
mei_dev.h mei: fix flow control for single buffer clients 2015-05-24 11:13:48 -07:00
mei-trace.c mei: me: add io register tracing 2015-03-01 19:36:59 -08:00
mei-trace.h mei: trace: remove unused TRACE_SYSTEM_STRING 2015-04-13 15:27:19 +02:00
nfc.c mei: add a reference from the host client to the me client 2015-05-24 11:13:10 -07:00
pci-me.c Char/Misc driver patches for 4.1-rc1 2015-04-21 09:42:58 -07:00
pci-txe.c mei: fix function names and format in KDoc 2015-03-01 19:36:59 -08:00
wd.c mei: add a reference from the host client to the me client 2015-05-24 11:13:10 -07:00