[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260128103118.3630078-1-arnaud.pouliquen@foss.st.com>
Date: Wed, 28 Jan 2026 11:31:16 +0100
From: Arnaud Pouliquen <arnaud.pouliquen@...s.st.com>
To: Bjorn Andersson <andersson@...nel.org>,
Mathieu Poirier
<mathieu.poirier@...aro.org>
CC: <linux-remoteproc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>, Andrew Davis <afd@...com>,
<arnaud.pouliquen@...s.st.com>
Subject: [PATCH v2 0/2] Support remoteproc fixed device index from DT aliases
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
Powered by blists - more mailing lists