Add initial zynqmp R5 remoteproc driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v26 Latest5 patches 13 repliesIn review
- v255 patches 9 repliesSuperseded
- v245 patches 7 repliesSuperseded
Earlier versions · 24
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v23 | 5 patches | 4 replies | Superseded | |
| v22 | 5 patches | 3 replies | Superseded | |
| v21 | 5 patches | 4 replies | Superseded | |
| v20 | 5 patches | 1 reply | Superseded | |
| v19 | 5 patches | 3 replies | Superseded | |
| v18 | 5 patches | 14 replies | Superseded | |
| v17 | 5 patches | 2 replies | Superseded | |
| v16 | 5 patches | 4 replies | Superseded | |
| v15 | 5 patches | 2 replies | Superseded | |
| v14 | 5 patches | 13 replies | Superseded | |
| v13 | 5 patches | 3 replies | Superseded | |
| v12 | 5 patches | 1 reply | Superseded | |
| v11 | 5 patches | 2 replies | Superseded | |
| v9 posting 2/2 | 0 of 5 patches | 3 replies | Superseded | |
| v10 | 5 patches | 1 reply | Superseded | |
| v9 posting 1/2 | 5 patches | 4 replies | Superseded | |
| v8 | 5 patches | 13 replies | Superseded | |
| v7 | 5 patches | 0 replies | Superseded | |
| v6 | 5 patches | 4 replies | Superseded | |
| v5 | 5 patches | 8 replies | Superseded | |
| v4 | 5 patches | 11 replies | Superseded | |
| v3 | 5 patches | 6 replies | Superseded | |
| v2 | 5 patches | 2 replies | Superseded | |
| v1 | 5 patches | 7 replies | Superseded |
Changes in v26 from the cover letter
- add prepare and unprepare to handle Xilinx platform management's request_node and release node using each core's list of srams that is constructed in each core's zynqmp_r5_probe.
- add new field sram to zynqmp_r5_rproc to store each core's srams being used as described in device tree. This helps to reduce unneeded looping of the sram prop in device tree. As now only zynqmp_r5_probe has to parse and validate each core's sram property. The ensuing prepare, unprepare and parse_fw logic are now much simpler.
- similarly add 'size' field to struct sram_addr_data to simplify prepare, unprepare and parse_fw.
Patches in v26 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.include/ | +23 | 0 replies | |
| 2/5 | firmware: xilinx: Add shutdown/wakeup APIsdrivers/ include/ | +58 | 0 replies | |
| 3/5 | firmware: xilinx: Add RPU configuration APIsdrivers/ include/ | +79 | 0 replies | |
| 4/5 | dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindingsDocumentation/ | +223 | 0 replies | |
| 5/5 | remoteproc: Add initial zynqmp R5 remoteproc driverdrivers/ drivers/ drivers/ | +963 | 12 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v26 yet.
Cover letter [PATCH v26 0/5] Add initial zynqmp R5 remoteproc driver
R5 is included in Xilinx Zynq UltraScale MPSoC so by adding this remotproc driver, we can boot the R5 sub-system in two different configurations -
* Split
* Lockstep
The Xilinx R5 Remoteproc Driver boots the R5's via calls to the Xilinx Platform Management Unit that handles the R5 configuration, memory access and R5 lifecycle management. The interface to this manager is done in this driver via zynqmp_pm_* function calls.
v26:
- add prepare and unprepare to handle Xilinx platform management's request_node and release node using each core's list of srams that is constructed in each core's zynqmp_r5_probe.
- add new field sram to zynqmp_r5_rproc to store each core's srams being used as described in device tree. This helps to reduce unneeded looping of the sram prop in device tree. As now only zynqmp_r5_probe has to parse and validate each core's sram property. The ensuing prepare, unprepare and parse_fw logic are now much simpler.
- similarly add 'size' field to struct sram_addr_data to simplify prepare, unprepare and parse_fw.
Previous version:
https://patchwork.kernel.org/project/linux-remoteproc/list/?series=412083
Ben Levinsky (5):
firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU
configuration.
firmware: xilinx: Add shutdown/wakeup APIs
firmware: xilinx: Add RPU configuration APIs
dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc
bindings
remoteproc: Add initial zynqmp R5 remoteproc driver
.../xilinx,zynqmp-r5-remoteproc.yaml | 223 ++++ drivers/firmware/xilinx/zynqmp.c | 96 ++ drivers/remoteproc/Kconfig | 8 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/zynqmp_r5_remoteproc.c | 954 ++++++++++++++++++ include/linux/firmware/xlnx-zynqmp.h | 64 ++ 6 files changed, 1356 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/xilinx,zynqmp-r5-remoteproc.yaml create mode 100644 drivers/remoteproc/zynqmp_r5_remoteproc.c
Signature · 1 line
2.17.1