Skip to content

Conversation

@57300
Copy link
Contributor

@57300 57300 commented Apr 23, 2025

Upstream PR #: 88937

manifest-pr-skip

@57300 57300 force-pushed the nrf-ironside-call-ncs branch from 777c8af to db649dd Compare April 29, 2025 11:43
57300 added 2 commits April 30, 2025 06:23
IRONside calls are remote procedure calls which comprise the runtime
interface of Nordic IRONside SE. They are realized using a simple IPC
mechanism.

A local domain (client) issues requests to the server by exchanging data
in shared memory, which is divided into evenly sized buffers. The client
selects a buffer, writes a request into it, and sends it to the server.
The server processes that request and writes a response into the same
buffer before returning it to the client.

This patch adds the initial client-side implementation on top of MBOX.
It features cache management and a blocking alloc/dispatch/release API
for synchronous, zero-copy transfers.

A new devicetree binding is added to support this implementation. It is
patterned after the `zephyr,ipc-*` bindings, where each node associates
a pair of mailboxes and a shared memory region.

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit 47df9ec)
Applied as noup because of conflicts with:
246cb42 [nrf fromlist] soc: add ironside boot report

Upstream PR #: 88937

Define `ipc_conf_iron.dtsi` and `memory_map_iron.dtsi`. In the future,
they will be merged with the base `ipc_conf.dtsi` and `memory_map.dtsi`
respectively. For now, they are used to replace a few devicetree nodes
when building for `nrf54h20dk/nrf54h20/*/iron` board targets.

Additional changes are included:

  * The IPC configuration includes new "nordic,ironside-call" nodes.
  * The memory map includes an updated RAM20 layout. Its subregions are
    placed under the `/reserved-memory` node like before.
  * The memory map also includes an updated MRAM layout. Partitions are
    now placed under a plain "fixed-partitions" node. MCUboot-specific
    node labels are applied in `cpuapp.dts`.

Signed-off-by: Grzegorz Swiderski <[email protected]>
@hakonfam hakonfam force-pushed the nrf-ironside-call-ncs branch from 905143d to 180977e Compare April 30, 2025 04:23
@sonarqubecloud
Copy link

@nordicjm nordicjm merged commit ca2af2f into nrfconnect:main Apr 30, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants