From 26739bc1573860181125589eafe36a80482ad73d Mon Sep 17 00:00:00 2001
From: Etienne Carriere <etienne.carriere@st.com>
Date: Thu, 30 Mar 2017 17:25:33 +0200
Subject: [PATCH] qemu: fix linux kernel config regarding SDP support

The first 1Mbyte of the secure RAM is reserved to the ARM-TF on
the qemu ARMv8 setup. To support both QEMU ARMv7 and QEMU ARMv8
with the same kernel configuration that includes a static definition
of the SDP test memory pool, move the SDP pool to the end of the
QEMU secure RAM. SDP pool size is increased to 4MByte.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
---
 kconfigs/qemu.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kconfigs/qemu.conf b/kconfigs/qemu.conf
index e5659a0..e212cb9 100644
--- a/kconfigs/qemu.conf
+++ b/kconfigs/qemu.conf
@@ -4,8 +4,8 @@ CONFIG_STAGING=y
 CONFIG_ION=y
 CONFIG_ION_DUMMY=y
 CONFIG_ION_DUMMY_UNMAPPED_HEAP=y
-CONFIG_ION_DUMMY_UNMAPPED_BASE=0x0e000000
-CONFIG_ION_DUMMY_UNMAPPED_SIZE=0x00300000
+CONFIG_ION_DUMMY_UNMAPPED_BASE=0x0ec00000
+CONFIG_ION_DUMMY_UNMAPPED_SIZE=0x00400000
 CONFIG_ANDROID=y
 CONFIG_ANDROID_TIMED_OUTPUT=n
 CONFIG_ANDROID_LOW_MEMORY_KILLER=n
-- 
GitLab