[PATCH v1 0/6] remoteproc: k3-r5: Build fixes and security improvements

Philippe Schenker
2025-10-23T09:47:36Z

This series fixes compilation errors when building for R5 cores and
addresses a security issue where authenticated images were not being
used correctly.

Patch 1: Cosmetic removal of duplicate code

Patches 2-3: Fix build errors caused by type mismatches between
function signatures and the types used in R5 builds.

Patches 4-5: fix a bug where ti_secure_image_post_process() relocates
images during authentication, but callers were still using the original
unverified addresses.

Patch 6: Implements is_running operation to allow querying R5F core status.

Note: If preferred, I can split this series.

Philippe Schenker (6):
arm: dts: k3-am642-evm: Remove duplicate node
remoteproc: k3-r5: cast size to size_t
soc: ti: pruss: Fix size ptr type in probe
mach-k3: security: Propagate verified image addr
remoteproc: k3-r5: Use verified image address
remoteproc: k3-r5: Implement is_running operation

arch/arm/dts/k3-am642-evm-u-boot.dtsi | 4 ----
arch/arm/mach-k3/security.c | 2 ++
drivers/remoteproc/ti_k3_r5f_rproc.c | 23 ++++++++++++++++++++---
drivers/soc/ti/pruss.c | 2 +-
4 files changed, 23 insertions(+), 8 deletions(-)

--
2.51.1

base-commit: 813a0df27a8af587bd25a6a4719f68066b370091
branch: am64x-various-fixes__master