mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Francesco Valla <francesco@valla.it>
To: Bjorn Andersson <andersson@kernel.org>,
	 Mathieu Poirier <mathieu.poirier@linaro.org>,
	 Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>,
	 Joakim Zhang <joakim.zhang@cixtech.com>
Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Francesco Valla <francesco@valla.it>
Subject: [PATCH v2 0/4] remoteproc: virtio: Fixes and cleanups in the vdev<->pdev relationship
Date: Sat, 14 Nov 2026 09:06:32 +0100	[thread overview]
Message-ID: <20261114-remoteproc_pdev_decouple-v2-0-95235dd056aa@valla.it> (raw)

V2 is simply a rebase on rproc-next, with conflicts solved.

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).

Thank you!

Regards,
Francesco

Signed-off-by: Francesco Valla <francesco@valla.it>
---
Changes in v2:
- Rebased on rproc-next, solving conflicts.
- Link to v1: https://patch.msgid.link/20261108-remoteproc_pdev_decouple-v1-0-3dc2fad4951d@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   | 49 ++++++++++++++------------------
 include/linux/remoteproc.h               | 10 ++-----
 4 files changed, 43 insertions(+), 54 deletions(-)
---
base-commit: 3035b6708f61259c93a368238e206dcec313e584
change-id: 20261107-remoteproc_pdev_decouple-9933eb3a5998

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


             reply	other threads:[~2026-11-14  8:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-14  8:06 Francesco Valla [this message]
2026-11-14  8:06 ` [PATCH v2 1/4] remoteproc: virtio: Decouple vdev from the parent pdev Francesco Valla
2026-11-14  8:06 ` [PATCH v2 2/4] remoteproc: virtio: Rework memory release Francesco Valla
2026-11-14  8:06 ` [PATCH v2 3/4] remoteproc: virtio: Drop rvdevs list and associated functions Francesco Valla
2026-11-14  8:06 ` [PATCH v2 4/4] remoteproc: virtio: Stop de-referencing pdev from its children Francesco Valla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261114-remoteproc_pdev_decouple-v2-0-95235dd056aa@valla.it \
    --to=francesco@valla.it \
    --cc=andersson@kernel.org \
    --cc=arnaud.pouliquen@foss.st.com \
    --cc=joakim.zhang@cixtech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=mathieu.poirier@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®