net: ipa: non-setup bug fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: ipa: only clear hardware state if setup has completeddrivers/ | +3 | 3 replies | |
| 2/2 | net: ipa: skip suspend/resume activities if not set updrivers/ | +6 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Matthias Kaehlcke |
|---|---|
| 1/2 | T-b |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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