Skip to content

Commit

Permalink
tc2: Reserve memory for RSS's SDS region
Browse files Browse the repository at this point in the history
RSS needs to share data with AP during early boot over
shared memory to support DPE. Reserve a memory region
right after the SCMI secure payload areas from unused
memory.

Signed-off-by: David Vincze <[email protected]>
Change-Id: I3a2de66dc03f831cab90a81f56fae4a0a6067523
  • Loading branch information
davidvincze authored and nicola-mazzucato-arm committed Feb 13, 2024
1 parent f3c3de6 commit 00d6739
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion product/totalcompute/tc2/include/scp_mmap.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Arm SCP/MCP Software
* Copyright (c) 2022-2023, Arm Limited and Contributors. All rights reserved.
* Copyright (c) 2022-2024, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
Expand Down Expand Up @@ -101,6 +101,10 @@
#define SCP_SCMI_PAYLOAD_S_P2A_BASE \
(SCP_SCMI_PAYLOAD_S_A2P_BASE + SCP_SCMI_PAYLOAD_SIZE)

/* SDS Memory Region of RSE - Reserved */
#define RSE_SDS_MEM_BASE (SCP_SCMI_PAYLOAD_S_P2A_BASE + SCP_SCMI_PAYLOAD_SIZE)
#define RSE_SDS_MEM_SIZE (64)

/* SCMI Non-Secure Payload Areas */

#define SCP_SCMI_PAYLOAD0_NS_A2P_BASE (SCP_AP_SHARED_NONSECURE_BASE)
Expand Down

0 comments on commit 00d6739

Please sign in to comment.