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

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


  • To: Julien Grall <julien@xxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Tue, 24 Oct 2023 13:30:37 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; 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=eDl914DL1e4CHa25jGefuH4veiQO40Qko4gLth/JneY=; b=UnYctvWEiRsCPzXNxPO/oGaoWuLWOnWqdNFbEUAg25Sp8csf9XSpVyUNRz46CVHCd/+XRC9xJ56Z3muT1dHZBA3fFrve6Qa6uBjyUbRPNOp9Nl+8bPBr3vWgTLfFZYxdGZKvDBmtJmEXJBqbTx7Fg/NQPxYpduOAA4z0JveBoU2Y7egXpVPy0d8X0LFA5UiPsq/DSYBSJ8s0BbvH8cUQ9O09L6J2eYspiaszdIhX4YHWeImqhKC1maGvDZv6QSaVds/ZBOB5/kCKyNfgIBVwKGmUMeFDPIBFjIJHkUempOkEZToE5s6q5VB2irGBDN7Z0Cx+UdGb3/jEc2BosSeRgQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b9K0jkV0ScoocI9x5J9ApnygpzBNNg2JevdzXZUleeZxk4RgGTzyvqAp7r0yNLG11oA2wHYDwPLdK0PT8lhSuuLWyTN7KY00CGX+EFFeEQl6gQCxKOFPDMqeNx+e0CQkUGYsfLmK06OyzOJVUgEXUj7yO6ADiIxzQsH926AT1/JLRbQddDpaE0RBwzSsVhis4R/FN2SPGyxHx5FtUSnKubmYZtLzNAU30gNeWZ+kMBUqjOQz2DNUeIiAdN6oVrnStzr2SIHAIOcbh+TGmtnQYAq7cRtEMaRXiSwSaf4MCprcKiL2kbe8NTt7RXzHVGEs1ua8/+12krUew+/Nfj6Orw==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>, "michal.orzel@xxxxxxx" <michal.orzel@xxxxxxx>, Julien Grall <jgrall@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Tue, 24 Oct 2023 13:31:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHaBmTvGf2mFF5QhEixkbFwkxFRMrBY77QA
  • Thread-topic: [PATCH for-4.19 v2] docs/arm: Document where Xen should be loaded in memory

Hi Julien,

> On 24 Oct 2023, at 12:28, Julien Grall <julien@xxxxxxx> wrote:
> 
> From: Julien Grall <jgrall@xxxxxxxxxx>
> 
> In commit 9d267c049d92 ("xen/arm64: Rework the memory layout"),
> we decided to require Xen to be loaded below 2 TiB to simplify
> 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.
> 
> [1] https://lore.kernel.org/20231013122658.1270506-3-leo.yan@xxxxxxxxxx
> 
> Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>
> Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>

Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>

Cheers
Bertrand

> 
> ---
> 
>    Changes in v2:
>        - The limit is 2 TiB no 5
>        - Remove unnecessary sentence in the docs
>        - Add missing link
>        - Add Michal's reviewed-by
> 
> 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, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/docs/misc/arm/booting.txt b/docs/misc/arm/booting.txt
> index 02f7bb65ec6d..547f58a7d981 100644
> --- a/docs/misc/arm/booting.txt
> +++ b/docs/misc/arm/booting.txt
> @@ -21,7 +21,9 @@ 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.
> 
> -There are no exception on 64-bit ARM.
> +The exceptions to this on 64-bit ARM are as follows:
> +
> + Xen binary should be loaded in memory below 2 TiB.
> 
> Booting Guests
> --------------
> -- 
> 2.40.1
> 




 


Rackspace

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