Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | From 97b4f3cd0216c30c39f6ece4f68d8faf3901fded Mon Sep 17 00:00:00 2001 |
| 2 | From: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com> |
| 3 | Date: Wed, 17 Nov 2021 15:31:09 +0000 |
| 4 | Subject: [PATCH] Update mm-comm-buffer region in dts file |
| 5 | |
| 6 | Upstream-Status: Pending [Not submitted to upstream yet] |
| 7 | Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com> |
| 8 | |
| 9 | |
| 10 | --- |
| 11 | .../opteesp/default_smm-gateway.dts.in | 35 ++++++++++--------- |
| 12 | 1 file changed, 18 insertions(+), 17 deletions(-) |
| 13 | |
| 14 | diff --git a/deployments/smm-gateway/opteesp/default_smm-gateway.dts.in b/deployments/smm-gateway/opteesp/default_smm-gateway.dts.in |
| 15 | index 0ad7878b..183c38a7 100644 |
| 16 | --- a/deployments/smm-gateway/opteesp/default_smm-gateway.dts.in |
| 17 | +++ b/deployments/smm-gateway/opteesp/default_smm-gateway.dts.in |
| 18 | @@ -7,23 +7,24 @@ |
| 19 | @DTS_TAG@ |
| 20 | |
| 21 | @DTS_NODE@ { |
| 22 | - compatible = "arm,ffa-manifest-1.0"; |
| 23 | - ffa-version = <0x00010000>; /* 31:16 - Major, 15:0 - Minor */ |
| 24 | - uuid = <@EXPORT_SP_UUID_DT@>; |
| 25 | - description = "SMM Gateway"; |
| 26 | - execution-ctx-count = <1>; |
| 27 | - exception-level = <1>; /* S-EL0 */ |
| 28 | - execution-state = <0>; /* AArch64 */ |
| 29 | - xlat-granule = <0>; /* 4KiB */ |
| 30 | - messaging-method = <0>; /* Direct messaging only */ |
| 31 | - |
| 32 | - memory-regions { |
| 33 | - compatible = "arm,ffa-manifest-memory-regions"; |
| 34 | - |
| 35 | - mm-comm-buffer { |
| 36 | - base-address = <@MM_COMM_BUFFER_ADDRESS@>; |
| 37 | - pages-count = <@MM_COMM_BUFFER_PAGE_COUNT@>; |
| 38 | - attributes = <0xb>; /* ns access-read-write */ |
| 39 | + smm-gateway{ |
| 40 | + compatible = "arm,ffa-manifest-1.0"; |
| 41 | + ffa-version = <0x00010000>; /* 31:16 - Major, 15:0 - Minor */ |
| 42 | + uuid = <@EXPORT_SP_UUID_DT@>; |
| 43 | + description = "SMM Gateway"; |
| 44 | + execution-ctx-count = <1>; |
| 45 | + exception-level = <1>; /* S-EL0 */ |
| 46 | + execution-state = <0>; /* AArch64 */ |
| 47 | + xlat-granule = <0>; /* 4KiB */ |
| 48 | + messaging-method = <0>; /* Direct messaging only */ |
| 49 | + device-regions { |
| 50 | + compatible = "arm,ffa-manifest-device-regions"; |
| 51 | + mm-comm-buffer { |
| 52 | + /* Armv8 A Foundation Platform values */ |
| 53 | + base-address = <0x00000000 0x02000000>; |
| 54 | + pages-count = <1>; |
| 55 | + attributes = <0x3>; /* read-write */ |
| 56 | + }; |
| 57 | }; |
| 58 | }; |
| 59 | }; |