Commit 57c2f8e3 authored by Alex Elder's avatar Alex Elder
Browse files

FROMGIT: net: ipa: disable interrupt and NAPI after channel stop



Disable both the I/O completion interrupt and NAPI polling on a
channel *after* we successfully stop it rather than before.  This
ensures a completion occurring just before the channel is stopped
gets processed.

Enable NAPI polling and the interrupt *before* starting a channel
rather than after, to be symmetric.  A stopped channel won't
generate any completion interrupts anyway.

Enable NAPI before the interrupt and disable it afterward.

Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Acked-by: default avatarWillem de Bruijn <willemb@google.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
(cherry picked from commit 4fef691c
 https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git

 master)

BUG=b:177097776
TEST=Modem functional, No IPA hang in suspend stress test

Signed-off-by: default avatarSujit Kautkar <sujitka@chromium.org>
Change-Id: I68b3923432e17143c908d36ce79913a1b8b890fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2674468


Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
Reviewed-by: default avatarEvan Green <evgreen@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2685031
parent 143d0dcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment