linux/drivers/misc/mei
Alexander Usyskin 09f89b0ecf mei: me: wait for power gating exit confirmation
[ Upstream commit 3dc196eae1 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2015-07-03 23:02:29 -04:00
..
amthif.c mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
bus.c mei: remove include to pci header from mei module files 2014-09-29 11:56:02 -04:00
client.c mei: me: wait for power gating exit confirmation 2015-07-03 23:02:29 -04:00
client.h mei: get rid of most of the pci dependencies in mei 2014-09-29 11:56:01 -04:00
debugfs.c mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
hbm.c mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
hbm.h mei: move mei_hbm_hdr function from hbm.h the hbm.c 2014-09-29 11:56:01 -04:00
hw-me-regs.h mei: add WPT second mei interface 2014-07-09 14:19:34 -07:00
hw-me.c mei: me: wait for power gating exit confirmation 2015-07-03 23:02:29 -04:00
hw-me.h mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: me: wait for power gating exit confirmation 2015-07-03 23:02:29 -04: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: make device disabled on stop unconditionally 2015-03-14 15:37:21 -04:00
interrupt.c mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
Kconfig mei: fix compilation error with missing WATCHDOG_CORE 2014-02-14 10:13:46 -08:00
main.c mei: fix KDoc documentation formatting 2014-09-29 11:56:02 -04:00
Makefile mei: txe: add Kbuild for TXE device 2014-02-07 15:08:46 -08:00
mei_dev.h mei: me: wait for power gating exit confirmation 2015-07-03 23:02:29 -04:00
nfc.c mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
pci-me.c Char/Misc driver patches for 3.18-rc1 2014-10-08 06:55:41 -04:00
pci-txe.c Char/Misc driver patches for 3.18-rc1 2014-10-08 06:55:41 -04:00
wd.c mei: fix KDoc documentation formatting 2014-09-29 11:56:02 -04:00