From: Philippe Schenker <[email protected]>
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. Changes in v3: - Implemented Andrew's suggestion to assign size before casting for memory safety. - Added Anshul's Reviewed-by, thanks! Changes in v2: - Made sure there are no build-warnings caused by this series. Philippe Schenker (6): arm: dts: k3-am642-evm: Remove duplicate node remoteproc: k3-r5: cast size to size_t6dd 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 | 26 +++++++++++++++++++++++--- drivers/soc/ti/pruss.c | 2 +- 4 files changed, 26 insertions(+), 8 deletions(-) -- 2.51.2 base-commit: 6b27b6886945a9351fcea8c9acf9418844f46670 branch: am64x-various-fixes__master

