Skip to content

remoteproc: avoid notification when suspended

Alex Elder linux-remoteproc lkml 1 version Applied

Status from this message: This patch was applied to andersson/remoteproc.git (refs/heads/for-next):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 9 repliesApplied 1/1

Patches in v1 All 1 applied

#Subject and filesSizeRepliesApplied
1/1remoteproc: use freezable workqueue for crash notificationsdrivers/remoteproc/remoteproc_core.c+2 -29 repliesApplied

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchBjorn AnderssonMathieu PoirierSiddharth Gupta
1/1R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/1] remoteproc: avoid notification when suspended

I added a cover page for this single patch to provide a little more explanation about testing.

I have verified that, when this patch is applied, the IPA driver receives the desired crash notification after the modem has crashed. It recovers properly, and functions correctly following the crash.

However I have not tested the specific scenario it is intended to fix; that is, I have not verified that the crash notification is delayed if the crash occurs while the IPA driver is suspended. If I had a reliable way to do this I would have done so, but I do not. I can only argue that it *should* work, based on the way the freezable system workqueue is designed.

My biggest concern about this change is that I don't understand other remoteproc users well enough to know what impact this change would have on them. So I am relying on review (and testing if possible!) to evaluate that.

And finally, while this is a very simple (one line) change, if there are other suggestions I'd like to hear them.

-Alex

Alex Elder (1):
remoteproc: use freezable workqueue for crash notifications

 drivers/remoteproc/remoteproc_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.27.0