From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: [PATCH v2 0/2] Rework the way to compute dom0 DTB base address Date: Thu, 30 May 2013 15:05:17 +0100 Message-ID: <1369922720-10015-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: patches@linaro.org, ian.campbell@citrix.com, Julien Grall , Stefano.Stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Hello The first version of this series contained a single patch. I have added a patch to use the address right after the kernel, if a DTB is already appended. It could happen if the same kernel is used for both bare metal and XEN without a bootloader. I use this configuration on the versatile express, so I appended the DTB to my kernel and enable CONFIG_APPENDED_DTB. Linux will prefer to use the appended one rather than the one pointed by r2. For the other changes see in each patch. Cheers, Julien Grall (2): xen/arm: Rework the way to compute dom0 DTB base address xen/arm: If the DOM0 zImage as a DTB appended replace it xen/arch/arm/domain_build.c | 51 ++++++++++++++++++++++++++++++++++++++----- xen/arch/arm/kernel.c | 28 ++++++++++++------------ xen/arch/arm/kernel.h | 7 ++++++ 3 files changed, 66 insertions(+), 20 deletions(-) -- 1.7.10.4