[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-4.19] docs/arm: Document where Xen should be loaded in memory


  • To: Julien Grall <julien@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Tue, 24 Oct 2023 12:23:58 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=xen.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7Te4XdlPGmzqRV6rt14vg9a7TeWsgj/GXSstr7YqHew=; b=kAlJUvKO02rqKdfGlA3+lSd9HGslQ1xHtqRd6/ZzOLSB9GLnSepST1WOieFXR1by643DM59NtCDYNRqhZyAW/QvhnH5tQ2BB3+KRBuPY8Wb0/jkWPcxNXMK6ujyRixnYMWu11oKM8cw1f1EU3eDzEfm5SSjWDGO51619YusJbvjBUhG4BgStPJMSJ/9694Fpca16FPbZHyw2mS2iDb9Y/aBeFmzFwsoXKWHBGWsVbIbhx+tYTqytLQYLLsu1/JvuHUgX9r0sTFZDE04R6v9N9B02dLt9AA9l09YtywtEebTkgXrD0mlEJnHvfnEeKsQggc6ZyxcvjBJNE1IcoMMzSQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IGy+InvvzzfRZoG1e5hUEMTYlYpIm7KHghBvvAX+lseLwUKueEkTM5lkDrsPTWjHvuH0dyGq8PP1yW8bb8o0wTG5bBEFNKKajZOisv4z52EJuLahyus+pw+ZTJqbdUYBQLtPu1eb3tajLG1tS3Q7VbEsl9z7W6os70VWCHsmsFPem86lnZ/Q+oMbla0YU3AW/JQH31hPKt953OyzAYPac0OZ6QgOknvrbD9ZHkvprrSRci35JJo6U93E4NEHJaffYv7lY0nzqzYfK9/ae2GL5wJ6WOE9c+cQ3OoMIWmMr+jMLPG39aTFokBFr4oC7taqJkO5atLVcoKT135itPa8jA==
  • Cc: <Henry.Wang@xxxxxxx>, Julien Grall <jgrall@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Tue, 24 Oct 2023 10:24:19 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Julien,

On 24/10/2023 12:09, Julien Grall wrote:
> 
> 
> From: Julien Grall <jgrall@xxxxxxxxxx>
> 
> In commit 9d267c049d92 ("xen/arm64: Rework the memory layout"),
> we decided to require Xen to be loaded below 5 TiB to simplify
s/5/2

> the logic to enable the MMU. The limit was decided based on
> how known platform boot plus some slack.
> 
> We had a recent report that this is not sufficient on the AVA
> platform with a old firmware [1]. But the restriction is not
> going to change in Xen 4.18. So document the limit clearly
> in docs/misc/arm/booting.txt
> 
> Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>
> 
> ----
one less '-'

> 
> I couldn't find a nice way to document it in SUPPORT.md. So I decided
> to only document the restrict in docs/misc/arm/booting.txt for now.
> 
> I also couldn't find any way from GRUB/UEFI (I didn't look much) to
> specify the loading address.
> ---
>  docs/misc/arm/booting.txt | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/docs/misc/arm/booting.txt b/docs/misc/arm/booting.txt
> index 02f7bb65ec6d..c6bdeafe5e5b 100644
> --- a/docs/misc/arm/booting.txt
> +++ b/docs/misc/arm/booting.txt
> @@ -21,6 +21,10 @@ The exceptions to this on 32-bit ARM are as follows:
>   zImage protocol should still be used and not the stricter "raw
>   (non-zImage)" protocol described in arm/Booting.
> 
> +The exceptions to this on 64-bit ARM are as follows:
> +
> + Xen binary should be loaded in memory below 2 TiB.
> +
>  There are no exception on 64-bit ARM.
This sentence needs to be dropped then.

With that:
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>

~Michal



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.