public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Support remoteproc fixed device index from DT aliases
@ 2026-01-28 10:31 Arnaud Pouliquen
  2026-01-28 10:31 ` [PATCH v2 1/2] remoteproc: core: support " Arnaud Pouliquen
  2026-01-28 10:31 ` [PATCH v2 2/2] remoteproc: keystone: use RPROC_ALIAS definition Arnaud Pouliquen
  0 siblings, 2 replies; 5+ messages in thread
From: Arnaud Pouliquen @ 2026-01-28 10:31 UTC (permalink / raw)
  To: Bjorn Andersson, Mathieu Poirier
  Cc: linux-remoteproc, linux-kernel, linux-stm32, Andrew Davis,
	arnaud.pouliquen

On systems with multiple remote processors, the remoteproc device
enumeration is not stable as it depends on the probe ordering.
As a result, the /sys/class/remoteproc/remoteproc<x> entries do not
always refer to the same remote processor instance, which complicates
userspace applications.

This series:

- Introduces support for "rproc" device tree aliases to fix remoteproc device
  names and their corresponding /sys/class/remoteproc/remoteproc<x> entries.
- Updates the keystone_remoteproc driver, which also uses DT aliases, to adopt
  a common RPROC_ALIAS definition. Although it already uses the "rproc" alias
  to construct the firmware name, the change proposed in this series should be
  compatible.

Please refer to the patch commit messages for details on the implementation.

Arnaud Pouliquen (2):
  remoteproc: core: support fixed device index from DT aliases
  remoteproc: keystone: use RPROC_ALIAS definition

 drivers/remoteproc/keystone_remoteproc.c |  2 +-
 drivers/remoteproc/remoteproc_core.c     | 40 ++++++++++++++++++++++--
 include/linux/remoteproc.h               |  3 ++
 3 files changed, 42 insertions(+), 3 deletions(-)


base-commit: 63804fed149a6750ffd28610c5c1c98cce6bd377
-- 
2.43.0


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

end of thread, other threads:[~2026-02-04  8:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-28 10:31 [PATCH v2 0/2] Support remoteproc fixed device index from DT aliases Arnaud Pouliquen
2026-01-28 10:31 ` [PATCH v2 1/2] remoteproc: core: support " Arnaud Pouliquen
2026-02-04  0:57   ` Peng Fan
2026-02-04  8:21     ` Arnaud POULIQUEN
2026-01-28 10:31 ` [PATCH v2 2/2] remoteproc: keystone: use RPROC_ALIAS definition Arnaud Pouliquen

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