linux-stable/drivers/misc/mei
Alexander Usyskin b7a020bff3 mei: discard messages from not connected client during power down.
This fixes regression introduced by
commit 8d52af6795 ("mei: speed up the power down flow")

In power down or suspend flow a message can still be received
from the FW because the clients fake disconnection.
In normal case we interpret messages w/o destination as corrupted
and link reset is performed in order to clean the channel,
but during power down link reset is already in progress resulting
in endless loop. To resolve the issue under power down flow we
discard messages silently.

Cc: <stable@vger.kernel.org> 4.16+
Fixes: 8d52af6795 ("mei: speed up the power down flow")
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199541
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>
2018-07-03 13:13:07 +02:00
..
bus-fixup.c mei: bus: elminate variable length arrays 2017-04-08 17:38:25 +02:00
bus.c mei: limit the number of queued writes 2018-03-14 19:33:13 +01:00
client.c mei: limit the number of queued writes 2018-03-14 19:33:13 +01:00
client.h mei: drop amthif internal client 2017-04-08 17:38:25 +02:00
debugfs.c mei: limit the number of queued writes 2018-03-14 19:33:13 +01:00
hbm.c mei: hbm: remove variable length arrays 2017-04-08 17:38:25 +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 cannon point device ids for 4th device 2018-02-20 08:58:42 +01:00
hw-me.c mei: fix incorrect logical operator in if statement 2018-01-02 17:09:29 +01:00
hw-me.h mei: me: use an index instead of a pointer for private data 2017-07-17 15:07:39 +02:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: fix an && vs || typo 2018-01-09 17:52:58 +01:00
hw-txe.h mei: simplify error handling via devres function. 2017-01-31 11:08:18 +01:00
hw.h mei: hw: fix a spelling mistake 2017-05-25 18:24:03 +02:00
init.c mei: limit the number of queued writes 2018-03-14 19:33:13 +01:00
interrupt.c mei: discard messages from not connected client during power down. 2018-07-03 13:13:07 +02:00
Kconfig mei: wd: drop the watchdog code from the core mei driver 2016-02-06 22:11:06 -08:00
main.c mei: remove dev_err message on an unsupported ioctl 2018-03-14 19:33:13 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mei-trace.c tracing, mei: Remove unused trace event mei_pci_cfg_write 2017-10-20 15:17:44 +02:00
mei-trace.h tracing, mei: Remove unused trace event mei_pci_cfg_write 2017-10-20 15:17:44 +02:00
mei_dev.h mei: limit the number of queued writes 2018-03-14 19:33:13 +01:00
pci-me.c mei: me: add cannon point device ids for 4th device 2018-02-20 08:58:42 +01:00
pci-txe.c Merge branch 'pm-core' 2017-11-13 01:41:26 +01:00