From nobody Wed May 29 10:59:13 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=1651065795; cv=none; d=zohomail.com; s=zohoarc; b=jFhwcxZk/NTLJ1qfuicrdf8mgxmy0VWztBgl/V9gfqo6ZqeK1BROhpQVs1rkFIKQ2IcBE4gm6IsqLeW3VAp3dwiwUlGuX2JlTU17BoJvXSjoWdNMJYl826I6cPFnlcCrS8vAqO/Egwvd6jrQ9aungTbyBJURaG4K3x3sm4FrneM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1651065795; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=R4xkNqTwt0kcG0EheB+qkncHGbovRkUehNDbKlxc9f4=; b=Kuf+toq7NHeMiBLycYhkn8agnSGJrfagNtBczqQeDzQPB7/a19HGKWmJkuW2XZR/wQLp1BiQrCJADXtIPwHB9fCDINNXZVc+tsJAsOfoaQjGlnWHnqOqdAP+eDzpcTQKuK+Pga7c9P0nHjtprVtsoLL+tQBkxH0zcbXXok6nW0w= 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 1651065795781936.2185488807874; Wed, 27 Apr 2022 06:23:15 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.315039.533361 (Exim 4.92) (envelope-from ) id 1njhd6-0004SS-7Z; Wed, 27 Apr 2022 13:22:52 +0000 Received: by outflank-mailman (output) from mailman id 315039.533361; Wed, 27 Apr 2022 13:22:52 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1njhd6-0004SL-4e; Wed, 27 Apr 2022 13:22:52 +0000 Received: by outflank-mailman (input) for mailman id 315039; Wed, 27 Apr 2022 13:22:51 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1njhd4-0004SC-Us for xen-devel@lists.xenproject.org; Wed, 27 Apr 2022 13:22:50 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1njhd4-0006Pg-2N; Wed, 27 Apr 2022 13:22:50 +0000 Received: from 54-240-197-224.amazon.com ([54.240.197.224] 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 1njhd3-000602-PT; Wed, 27 Apr 2022 13:22:49 +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=R4xkNqTwt0kcG0EheB+qkncHGbovRkUehNDbKlxc9f4=; b=QvBSMV u6pzFR7c2wnI1OwTdRH44wU+NECi20YqydUqceXzGWtzRQrj7M0GZ86LBBkh76L2RiIW/Eq5BPZnE PGdz/SrJ13T6EPTRqir+Sb//ZcTDqLhm24tdoFtRs68V2UZiDAZCOp+8aaP2bTzQEE5lLaPHlfhu4 ZUN2AHNe7wY=; From: Julien Grall To: xen-devel@lists.xenproject.org Cc: bertrand.marquis@arm.com, Julien Grall , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [PATCH] SUPPORT.MD: Correct the amount of physical memory supported for Arm Date: Wed, 27 Apr 2022 14:22:46 +0100 Message-Id: <20220427132246.52715-1-julien@xen.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xen.org) X-ZM-MESSAGEID: 1651065796335100005 Content-Type: text/plain; charset="utf-8" From: Julien Grall As part of XSA-385, SUPPORT.MD gained a statement regarding the amount of physical memory supported. However, booting Xen on a Arm platform with that amount of memory would result to a breakage because the frametable area is too small. The wiki [1] (as of April 2022) claims we were able to support up to 5 TiB on Arm64 and 16 GiB. However, this is not the case because the struct page_info has always been bigger than expected (56 bytes for 64-bit and 32-bytes for 32-bit). I don't have any HW with such amount of memory. So rather than modifying the code, take the opportunity to use the limit that should work on Arm (2 TiB for 64-bit and 12 GiB for 32-bit). Signed-off-by: Julien Grall Reviewed-by: Bertrand Marquis #arm part --- SUPPORT.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SUPPORT.md b/SUPPORT.md index 088dda9561c1..1e3c69a07615 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -50,9 +50,10 @@ For the Cortex A57 r0p0 - r1p1, see Errata 832075. =20 ### Physical Memory =20 - Status: Supported up to 8 TiB - -Hosts with more memory are supported, but not security supported. + Status, x86: Supported up to 8 TiB. Hosts with more memory are + supported but not security support. + Status, Arm32: Supported up to 12 GiB + Status, Arm64: Supported up to 2 TiB =20 ### Physical Memory Hotplug =20 --=20 2.32.0