Add IPC support on MCU R5F cluster in Split Mode
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 1 replyIn review
- v24 patches 2 repliesSuperseded
- v16 patches 15 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | arm: mach-k3: {am6/j7}*_hardware.h: Expose MCU R5 proc and device idsarch/ arch/ arch/ +6 more | +33 | 0 replies | |
| 2/4 | arch: mach-k3: common: Add support to shutdown MCU R5 Core 1arch/ arch/ arch/ +2 more | +92 | 0 replies | |
| 3/4 | remoteproc: k3-r5: Acquire processor control before reset opsdrivers/ | +6 | 0 replies | |
| 4/4 | board: ti: j7*: Add firmware for MCU R5 core1board/ board/ board/ +1 more | +5 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Neha Malcom Francis |
|---|---|
| 1/4 | R-b |
| 2/4 | |
| 3/4 | R-b |
| 4/4 | 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/4] Add IPC support on MCU R5F cluster in Split Mode
This series adds remoteproc support on MCU R5F in Split mode.
During boot, ROM can bring up the boot R5F cores in either lockstep or split mode based on X509 certificate flags. If booted in lockstep mode, the MCU R5F cores will run first the R5 SPL, and then once A72 comes up, will run the Device Manager (DM) firmware. But if booted in split mode, core 0 will run DM firmware and second core sits in WFI. Shut it down so that other firmwares can later be loaded on them.
The shutdown of MCU R5 Core 1 is invoked at A72 SPL init, as by that time Device Manager (DM) is up and running on R5 Core 0. The shutdown of MCU R5 Core 1 is handled by Device Manager itself.
The devicetree patch [PATCH 6/6] need not be merged here, as it will be sent to the Linux Upstream list.
v3: Changelog:
1. Added check to see if core is powered-on and in WFI, before powering it off in [PATCH v3 2/4] (Hari)
2. Made message logging better by putting error codes in case of failures in [PATCH v3 2/4].
3. Carried R/B tags from Neha since v1.
Link to v2:
https://lore.kernel.org/all/[email protected]/
v2: Changelog:
1. Dropped patches 5 and 6 from v1. v2 only aims to add the infrastructure to boot R5 in split mode. [Tom/Nishanth]
2. Used "__maybe_unused" macro for shutdown_mcu_r5_core1() in [PATCH v2 2/4] (Neha).
Link to v1:
https://lore.kernel.org/all/[email protected]/
Testing done:
1. Build test on all existing TI K3 platforms.
2. Tested U-Boot and Linux load of MCU R5F core in split mode on all applicable boards (AM68-SK, AM69-SK, J7200-EVM, J721E-EVM, J721S2-EVM, J784S4-evm, J742S2-EVM)
Test logs:
https://gist.github.com/3V3RYONE/ee8e3cb9aa5f4c5c00b059b9c14bfa98
Thanks,
Beleswar
Beleswar Padhi (4):
arm: mach-k3: {am6/j7}*_hardware.h: Expose MCU R5 proc and device ids
arch: mach-k3: common: Add support to shutdown MCU R5 Core 1
remoteproc: k3-r5: Acquire processor control before reset ops
board: ti: j7*: Add firmware for MCU R5 core1
arch/arm/mach-k3/common.c | 69 +++++++++++++++++++ arch/arm/mach-k3/common.h | 1 + arch/arm/mach-k3/include/mach/am62_hardware.h | 4 +- .../arm/mach-k3/include/mach/am62a_hardware.h | 4 +- .../arm/mach-k3/include/mach/am62p_hardware.h | 4 +- arch/arm/mach-k3/include/mach/am64_hardware.h | 9 +-- arch/arm/mach-k3/include/mach/am6_hardware.h | 9 +-- .../arm/mach-k3/include/mach/j721e_hardware.h | 9 +-- .../mach-k3/include/mach/j721s2_hardware.h | 9 +-- .../arm/mach-k3/include/mach/j722s_hardware.h | 4 +- .../mach-k3/include/mach/j784s4_hardware.h | 9 +-- arch/arm/mach-k3/j721e/j721e_init.c | 9 ++- arch/arm/mach-k3/j721s2/j721s2_init.c | 7 ++ arch/arm/mach-k3/j784s4/j784s4_init.c | 7 ++ board/ti/j7200/j7200.env | 2 +- board/ti/j721e/j721e.env | 2 +- board/ti/j721s2/j721s2.env | 2 +- board/ti/j784s4/j784s4.env | 4 +- drivers/remoteproc/ti_k3_r5f_rproc.c | 6 ++ 19 files changed, 136 insertions(+), 34 deletions(-)
Signature · 1 line
2.34.1