blob: 2c21e6f10971e48059a281151f11711e0a432d0b [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001From 1fe74d7d5008aed61feb34a8d5d8b5f9144a58b2 Mon Sep 17 00:00:00 2001
2From: Anton Antonov <Anton.Antonov@arm.com>
3Date: Wed, 31 Aug 2022 16:33:13 +0100
4Subject: [PATCH] Update MM communication buffer address for qemuarm64 machine
5
6Upstream-Status: Inappropriate [qemuarm64 specific change]
7Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
8---
9 components/rpc/mm_communicate/caller/linux/carveout.c | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/components/rpc/mm_communicate/caller/linux/carveout.c b/components/rpc/mm_communicate/caller/linux/carveout.c
13index e3cdf16f..62845d30 100644
14--- a/components/rpc/mm_communicate/caller/linux/carveout.c
15+++ b/components/rpc/mm_communicate/caller/linux/carveout.c
16@@ -12,8 +12,8 @@
17 #include "carveout.h"
18
19 /* Need to be aligned with carve-out used by StMM or smm-gateway. */
20-static const off_t carveout_pa = 0x0000000881000000;
21-static const size_t carveout_len = 0x8000;
22+static const off_t carveout_pa = 0x42000000;
23+static const size_t carveout_len = 0x1000;
24
25 int carveout_claim(uint8_t **buf, size_t *buf_size)
26 {
27--
282.25.1
29