From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::442; helo=mail-wr1-x442.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4D7692194D387 for ; Tue, 22 Jan 2019 13:10:14 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id z5so29008659wrt.11 for ; Tue, 22 Jan 2019 13:10:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=deNRLWklK5Pc/ZlOiobl/K/y5I0lHJZlbsRx44pT8OM=; b=gQ6LBD7au8HNuRDTVL3051NVyIsL22pMedRvloWVDkY4Co+JvpiuVgPpvKv5ChqAxC NXHNnG9NlNdKJPeWs61/fi9aZ4Hst6UHMp7ocL4ErVyPdWVQ/desZY1aVQdqlm8EKK1G sv/NHTtDrXs2HFUoyiAMBJJH1S+b/GmraMiMQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=deNRLWklK5Pc/ZlOiobl/K/y5I0lHJZlbsRx44pT8OM=; b=qQ2ON8z7ZTuo8vZoe8s6/OeibFLuTdQ4Je+aFts3PDA8yAgZ1NaJSt7lsYYFfWNy0u Vm4k1vdHqbC21pvzFxCVm1PF6hib71dLMnmnADDzGHIkDufio5PA6SVWzYBSHDu0iixa tDpsM26qOD+x1tMSG2uY+KYqeds6UArCg74Fs0OpndSyJPOvKzZXKLseuPB/i+0AYHKu 7ONmUb1G36yoZta3/mQTYQKVYMOedCxSuYuUIsU2YzcVS9nEcod87lhEXP9RvXB908/C zI0ylQHTMNxQbz84s8/k4yxze4G7gZSVuYlqHtUvsWMHtSJGjg78QeOOl1OZp1ZP2ZZz 0w+Q== X-Gm-Message-State: AJcUukd1qiNQIE3yT8WamKyIJg1i8Bv81OoWfDxCuIK/sBUE45VG0i8C oAyuPysZOoEULReab0pQxYmsVA== X-Google-Smtp-Source: ALg8bN5/qLvu9F1NRp5Evhyq5ACK/dDySsDZBFkn9Ms3jqKxw6hQmPCSPzr3iTvbOlOGVvq4TnxbNg== X-Received: by 2002:adf:8122:: with SMTP id 31mr35227939wrm.48.1548191412588; Tue, 22 Jan 2019 13:10:12 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id f2sm86818478wru.14.2019.01.22.13.09.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Jan 2019 13:10:03 -0800 (PST) Date: Tue, 22 Jan 2019 21:09:37 +0000 From: Leif Lindholm To: Marcin Wojtas Cc: edk2-devel-01 , Ard Biesheuvel , nadavh@marvell.com, "jsd@semihalf.com" , Grzegorz Jaszczyk , Kostya Porotchkin Message-ID: <20190122210937.rf44pvv6gaudlme7@bivouac.eciton.net> References: <1548120742-11928-1-git-send-email-mw@semihalf.com> <1548120742-11928-2-git-send-email-mw@semihalf.com> <20190122172643.i6newphbfjiertsb@bivouac.eciton.net> <20190122190649.x2bh7gd5szxmfxy5@bivouac.eciton.net> <20190122202627.ccu3koeskydsvjus@bivouac.eciton.net> MIME-Version: 1.0 In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [platforms: PATCH v2 1/4] Marvell/Armada7k8k: Shift PEI stack base X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2019 21:10:14 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jan 22, 2019 at 09:56:14PM +0100, Marcin Wojtas wrote: > > > > I think I gave my suggestion for the resolution of this problem (with > > > > moving StackBase to 0x05400000 as the alternative) in my previous > > > > reply. > > > > > > > > > > Yes, and I answered, presenting the alternative memory map with > > > additional 64kB "cut out" on top of 20MB "hole" of memory, which I'm > > > not fancy, given available space inside the 20MB chunk. > > > > Please go back and reread my first and my second email. > > Then please point out where I have, other than as an alternative > > solution, suggested growing the cutout size. > > > > Then perhaps we can rewind this conversation and try again? > > Ok. So would it be sufficient to replace > gMarvellTokenSpaceGuid.PcdSecureRegionBase with two sets of separate > PCDs for ARM-TF runtime services and OPTEE leaving the PEI stack base > @0x43f0000? That would be lovely, thank you :) (Although your reference to wanting to keep the PEI stack area out of the hands of the operating system might mean that you want three? I'll leave that to your discretion.) Best Regards, Leif