From nobody Fri May 17 06:07:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1698143389; cv=none; d=zohomail.com; s=zohoarc; b=OHZFP3QY+Zlfi5+yUezKV1AWav2WabW+9v6nFwbXkypcBhieju1O/8IxlkzsYUHTcH5aNV6lK40RBM02NJQl4KLOC/nm16lIIUQe8ts03U9JUdxnIIJpH8YOcDD5z/osOYK0n0w8dmM4QOC5UV2Pl5V1ozXIoCuEjf3e5pR5OgU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1698143389; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=gneOgzLq+s3UL/r3Mm1AyhyGZ7LO+aSw7p45nv4K6ro=; b=gxZR1gtGtL/lyLZm1hQTH5vofS5Fby2w7MYvqdgr2peDFWK9VXeI9gaqCQWSVus3bTi5tS/RwhUifIvmPrxSJwQrvz1D1IFfUnSIWU54fh/njEWPR7a//9Mi/2TNytUyrqrKRGfQz1jFkVX2idvCwNFv7vd+CpcDMFveZ2ehG5s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1698143389080629.2088242880187; Tue, 24 Oct 2023 03:29:49 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.621818.968654 (Exim 4.92) (envelope-from ) id 1qvEel-0004eA-4a; Tue, 24 Oct 2023 10:29:03 +0000 Received: by outflank-mailman (output) from mailman id 621818.968654; Tue, 24 Oct 2023 10:29:03 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qvEel-0004e3-1i; Tue, 24 Oct 2023 10:29:03 +0000 Received: by outflank-mailman (input) for mailman id 621818; Tue, 24 Oct 2023 10:29:01 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qvEej-0004dt-Qh for xen-devel@lists.xenproject.org; Tue, 24 Oct 2023 10:29:01 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qvEej-00053s-EE; Tue, 24 Oct 2023 10:29:01 +0000 Received: from 54-240-197-232.amazon.com ([54.240.197.232] helo=dev-dsk-jgrall-1b-035652ec.eu-west-1.amazon.com) by xenbits.xenproject.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qvEej-0006c7-5r; Tue, 24 Oct 2023 10:29:01 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date: Subject:Cc:To:From; bh=gneOgzLq+s3UL/r3Mm1AyhyGZ7LO+aSw7p45nv4K6ro=; b=FsyIK4 6bJIVE/Xv5ZHsPzGtvtWIGCgpMXaffoIDKU8Pu3jMuIN8nBsnL0/EKbbxrwOrsR2z3VQ5gq16/xP1 UpL+heEMYDQuFCk1sYdqHCC4cXwz73a0gOino5pwKfiMbM790HfO1NTqDGRLqBZ2+yjO9hS9VogEs C9DPqjaf970=; From: Julien Grall To: xen-devel@lists.xenproject.org Cc: Henry.Wang@arm.com, michal.orzel@amd.com, Julien Grall , Stefano Stabellini , Julien Grall , Bertrand Marquis , Volodymyr Babchuk Subject: [PATCH for-4.19 v2] docs/arm: Document where Xen should be loaded in memory Date: Tue, 24 Oct 2023 11:28:58 +0100 Message-Id: <20231024102858.29067-1-julien@xen.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xen.org) X-ZM-MESSAGEID: 1698143390917100001 Content-Type: text/plain; charset="utf-8" From: Julien Grall 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@linaro.org Signed-off-by: Julien Grall Reviewed-by: Michal Orzel Reviewed-by: Bertrand Marquis --- 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. =20 -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. =20 Booting Guests -------------- --=20 2.40.1