remoteproc: k3-r5: Build fixes and security improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 4 repliesIn review
- v26 patches 4 repliesSuperseded
- v16 patches 5 repliesSuperseded
Changes in v3 from the cover letter
- Implemented Andrew's suggestion to assign size before casting for memory safety.
- Added Anshul's Reviewed-by, thanks!
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | arm: dts: k3-am642-evm: Remove duplicate nodearch/ | +0 | 0 replies | |
| 2/6 | remoteproc: k3-r5: cast size to size_t6dddrivers/ | +4 | 0 replies | |
| 3/6 | soc: ti: pruss: Fix size ptr type in probedrivers/ | +1 | 0 replies | |
| 4/6 | mach-k3: security: Propagate verified image addrarch/ | +2 | 0 replies | |
| 5/6 | remoteproc: k3-r5: Use verified image addressdrivers/ | +2 | 0 replies | |
| 6/6 | remoteproc: k3-r5: Implement is_running operationdrivers/ | +17 | 3 replies |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Anshul Dalal | Andrew Davis |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | A-b | |
| 3/6 | ||
| 4/6 | ||
| 5/6 | ||
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/6] remoteproc: k3-r5: Build fixes and security improvements
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(-)
Signature · 4 lines
2.51.2 base-commit: 6b27b6886945a9351fcea8c9acf9418844f46670 branch: am64x-various-fixes__master