alistair23-linux/drivers/misc/mei
Alexander Usyskin 3dc196eae1 mei: me: wait for power gating exit confirmation
Fix the hbm power gating state machine so it will wait till it receives
confirmation interrupt for the PG_ISOLATION_EXIT message.

In process of the suspend flow the devices first have to exit from the
power gating state (runtime pm resume).
If we do not handle the confirmation interrupt after sending
PG_ISOLATION_EXIT message, we may receive it already after the suspend
flow has changed the device state and interrupt will be interpreted as a
spurious event, consequently link reset will be invoked which will
prevent the device from completing the suspend flow

kernel: [6603] mei_reset:136: mei_me 0000:00:16.0: powering down: end of reset
kernel: [476] mei_me_irq_thread_handler:643: mei_me 0000:00:16.0: function called after ISR to handle the interrupt processing.
kernel: mei_me 0000:00:16.0: FW not ready: resetting

Cc: <stable@vger.kernel.org> #3.18+
Cc: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=86241
Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770397
Tested-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
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-06-13 19:48:02 -07:00
..
amthif.c mei: drop iamthif_mtu from device structure 2015-05-24 11:13:48 -07:00
bus.c mei: fix up uuid matching 2015-05-31 12:14:00 +09:00
client.c mei: me: wait for power gating exit confirmation 2015-06-13 19:48:02 -07:00
client.h mei: support for fixed address clients 2015-05-24 11:13:48 -07:00
debugfs.c mei: export hbm features to debugfs under devstate 2015-05-24 11:20:20 -07:00
hbm.c mei: support for fixed address clients 2015-05-24 11:13:48 -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: wait for power gating exit confirmation 2015-06-13 19:48:02 -07:00
hw-me.h mei: me: change power gating function name conventions 2015-03-01 19:36:59 -08:00
hw-txe-regs.h
hw-txe.c mei: me: wait for power gating exit confirmation 2015-06-13 19:48:02 -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 mei: add also write waiting list to runtime pm blockers 2015-05-24 11:15:54 -07:00
interrupt.c mei: support for fixed address clients 2015-05-24 11:13:48 -07:00
Kconfig
main.c mei: debug prints with client info in read 2015-05-24 11:13:49 -07:00
Makefile mei: me: add io register tracing 2015-03-01 19:36:59 -08: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
mei_dev.h mei: me: wait for power gating exit confirmation 2015-06-13 19:48:02 -07:00
nfc.c NFC: mei_phy: move all nfc logic from mei driver to nfc 2015-05-24 11:15:54 -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: txe: fix incorrect indentation 2015-05-24 11:13:49 -07:00
wd.c mei: add a reference from the host client to the me client 2015-05-24 11:13:10 -07:00