Skip to content

net: ipa: non-setup bug fixes

Alex Elder lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: ipa: only clear hardware state if setup has completeddrivers/net/ipa/ipa_modem.c+3 -03 replies
2/2net: ipa: skip suspend/resume activities if not set updrivers/net/ipa/ipa_endpoint.c+6 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchMatthias Kaehlcke
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/2] net: ipa: non-setup bug fixes

This series fixes two bugs that occur if the IPA driver has not completed its setup phase of initialization when an event occurs.

One event is the crash of the modem. If the modem crashes, ipa_modem_crashed() is called, and it performs various activities intended to put the IPA hardware into a good state before the modem reboots. But if the IPA setup has not completed, resources used for this cleanup will not be properly initialized. So we must skip doing this activity if we have not completed setup.

Similarly, if a system suspend is initiated but IPA setup has not completed, the processing done in ipa_endpoint_suspend() should be avoided. And a subsequent system resume should also avoid resuming endpoints that have not been initialized by IPA setup.

-Alex

Alex Elder (2):
net: ipa: only clear hardware state if setup has completed
net: ipa: skip suspend/resume activities if not set up

 drivers/net/ipa/ipa_endpoint.c | 6 ++++++
 drivers/net/ipa/ipa_modem.c    | 3 +++
 2 files changed, 9 insertions(+)
Signature · 1 line
2.20.1