]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ipa: use tag process on modem crash
authorAlex Elder <elder@linaro.org>
Thu, 7 May 2020 19:14:04 +0000 (14:14 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 May 2020 21:00:29 +0000 (14:00 -0700)
commit2c4bb8093c3bfebc8113c683a5de83c64d43514c
tree4f26d2a11f42749d6a8d49709f45cd71b24ec4a2
parentc781e1d4f3e23d5fc138dad2fd98ca0e0dd9c592
net: ipa: use tag process on modem crash

One part of recovering from a modem crash is performing a "tag
sequence" of several IPA immediate commands, to clear the hardware
pipeline.  The sequence ends with a data transfer request on the
command endpoint (which is not otherwise done).  Unfortunately,
attempting to do the data transfer led to a hang, so that request
plus two other commands were commented out.

The previous commit fixes the bug that was causing that hang.  And
with that bug fixed we can properly issue the tag sequence when the
modem crashes, to return the hardware to a known state.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_cmd.c