Skip to contentSkip to conversation

arm-bsp/u-boot: corstone1000: Reserve memory for RSS comm pointer access protocol

PATCH Applied [email protected] 2 participants 3 messages Feb 4, 2025 – Feb 12, 2025

lore
Share & tools
lore
#0 lore raw

cover arm-bsp/u-boot: corstone1000: Reserve memory for RSS comm pointer access protocol

From: Philip Puk <[email protected]>

This memory was used by OpenAMP to establish communication between the Secure Enclave and Trusted Services. After transitioning from OpenAMP to RSE_COMMS, this shared memory is now configured for the pointer access protocol in RSE_COMMS.

Since this memory may be still used by a user-space application in linux as U-Boot is passing an EFI memory map starting from 0x80000000, this memory range should be reserved as the pointer access protocol may be enabled on corstone1000 in the future.

Philip Puk (1):
arm-bsp/u-boot: corstone1000: Reserve memory for RSS comm pointer
access protocol

 .../u-boot/u-boot-corstone1000.inc            |  1 +
 .../0052-reserve-memory-for-se-comm.patch     | 46 +++++++++++++++++++
 2 files changed, 47 insertions(+)
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0052-reserve-memory-for-se-comm.patch
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 arm-bsp/u-boot: corstone1000: Reserve memory for RSS comm pointer access protocol

From: Philip Puk <[email protected]>

This memory was used by OpenAMP to establish communication between the Secure Enclave and Trusted Services. After transitioning from OpenAMP to RSE_COMMS, this shared memory is now configured for the pointer access protocol in RSE_COMMS.

Since this memory may be still used by a user-space application in linux as U-Boot is passing an EFI memory map starting from 0x80000000, this memory range should be reserved as the pointer access protocol may be enabled on corstone1000 in the future.

---
 .../u-boot/u-boot-corstone1000.inc            |  1 +
 .../0052-reserve-memory-for-se-comm.patch     | 46 +++++++++++++++++++
 2 files changed, 47 insertions(+)
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0052-reserve-memory-for-se-comm.patch
meta-arm-bsp/recipes-bsp/u-boot/u-boot-corstone1000.inc +1 -0
index 2470db02..bb9da10d 100644
@@ -68,6 +68,7 @@ SRC_URI:append = " \
     file://0050-fwu-Use-metadata-v2.patch	  \
     ${@bb.utils.contains('MACHINE_FEATURES', 'corstone1000-extsys', \
                          '', 'file://0051-corstone1000-purge-remoteproc-dts-node.patch' , d)} \
+    file://0052-reserve-memory-for-se-comm.patch \
     "
 
 do_configure:append() {
meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0052-reserve-memory-for-se-comm.patch new file +46 -0

46 lines not on this page · raw message

Signature · 1 line
2.25.1
Applied
#2 lore raw
In reply to [email protected]
Quoted 8 lines · On Tue, 04 Feb 2025 15:05:26 +0000, [email protected] wrote:

From: Philip Puk <[email protected]>

This memory was used by OpenAMP to establish communication between the Secure Enclave and Trusted Services. After transitioning from OpenAMP to RSE_COMMS, this shared memory is now configured for the pointer access protocol in RSE_COMMS.

[...]

Applied, thanks!

[1/1] arm-bsp/u-boot: corstone1000: Reserve memory for RSS comm pointer access protocol

      commit: d65627585548985491a79f01de6f37e325efab96

Best regards,

Signature · 1 line
Jon Mason <[email protected]>