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

