]> git.baikalelectronics.ru Git - kernel.git/commit
mei: txe: don't clean an unprocessed interrupt cause.
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 18 Oct 2016 22:34:48 +0000 (01:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2016 17:38:39 +0000 (19:38 +0200)
commitf17ff65a8f045e49d664f921bff511e0aa5e5182
treef23ab78455e2267bdaadb30fe9b29dc14ed06e89
parentebe624568d42763b05201af34b053d06d1d1c49c
mei: txe: don't clean an unprocessed interrupt cause.

SEC registers are not accessible when the TXE device is in low power
state, hence the SEC interrupt cannot be processed if device is not
awake.

In some rare cases entrance to low power state (aliveness off) and input
ready bits can be signaled at the same time, resulting in communication
stall as input ready won't be signaled again after waking up. To resolve
this IPC_HHIER_SEC bit in HHISR_REG should not be cleaned if the
interrupt is not processed.

Cc: stable@vger.kernel.org
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>
drivers/misc/mei/hw-txe.c