mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] remoteproc: virtio: Fixes and cleanups in the vdev<->pdev relationship
@ 2026-11-08 22:32 Francesco Valla
  2026-11-08 22:32 ` [PATCH 1/4] remoteproc: virtio: Decouple vdev from the parent pdev Francesco Valla
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Francesco Valla @ 2026-11-08 22:32 UTC (permalink / raw)
  To: Bjorn Andersson, Mathieu Poirier, Arnaud Pouliquen, Joakim Zhang
  Cc: linux-remoteproc, linux-kernel, Francesco Valla

Hello,

while proceeding on [1] I noticed a possible simplification on the
rproc-virtio registration and tracking path, which led to the discovery
of a couple of bugs. This series is the result of the work that followed
and thus contains both (proposed) fixes for the bugs and the
aforementioned simplification, which consists in less poking the backing
pdev from the vdev side.

Patches 1 and 2 can be collapsed into one, but I preferred to leave them
separate to show the reasoning behind (and to allow cherry-picking, if
that's the case).

If anyone is reviewing [1], or plans to: please consider this series
first. I'm in no rush to have that accepted, and some (critical, in the
case of iommu) details need to be squared out, while this series fixes
what I think to be real bugs. I would have preferred to spot them
before, but...

AI disclosure: an LLM was used to review the work, but all code is my
own, as well as the commit messages (I'll be happy to fix the english,
don't hesitate to correct me also on that).

Thank you!

Regards,
Francesco

[1] https://lore.kernel.org/linux-remoteproc/20261102-remoteproc_virtio_map-v2-0-26b300e01c62@valla.it/

Signed-off-by: Francesco Valla <francesco@valla.it>
---
Francesco Valla (4):
      remoteproc: virtio: Decouple vdev from the parent pdev
      remoteproc: virtio: Rework memory release
      remoteproc: virtio: Drop rvdevs list and associated functions
      remoteproc: virtio: Stop de-referencing pdev from its children

 drivers/remoteproc/remoteproc_core.c     | 34 ++++++++++----------
 drivers/remoteproc/remoteproc_internal.h |  4 +--
 drivers/remoteproc/remoteproc_virtio.c   | 53 +++++++++++++-------------------
 include/linux/remoteproc.h               | 10 ++----
 4 files changed, 43 insertions(+), 58 deletions(-)
---
base-commit: ec1f9ba57b02fe12a6fa5f141206d439ba3d044e
change-id: 20261107-remoteproc_pdev_decouple-9933eb3a5998

Best regards,
--  
Francesco Valla <francesco@valla.it>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-09 14:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-08 22:32 [PATCH 0/4] remoteproc: virtio: Fixes and cleanups in the vdev<->pdev relationship Francesco Valla
2026-11-08 22:32 ` [PATCH 1/4] remoteproc: virtio: Decouple vdev from the parent pdev Francesco Valla
2026-11-08 22:32 ` [PATCH 2/4] remoteproc: virtio: Rework memory release Francesco Valla
2026-11-08 22:32 ` [PATCH 3/4] remoteproc: virtio: Drop rvdevs list and associated functions Francesco Valla
2026-11-08 22:32 ` [PATCH 4/4] remoteproc: virtio: Stop de-referencing pdev from its children Francesco Valla
2026-11-09 14:19 ` [PATCH 0/4] remoteproc: virtio: Fixes and cleanups in the vdev<->pdev relationship Mathieu Poirier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®