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

Re: [PATCH] SUPPORT.MD: Correct the amount of physical memory supported for Arm


  • To: Julien Grall <julien@xxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Wed, 27 Apr 2022 13:51:03 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • 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=2; 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=D9Htmx+KZWw2gmZcWEuzpZEkvFES4J2c3eFst/alGYA=; b=fZcfg+akAJ7vM4xfld+T3r/S+87K+ZZw6scDIplbpXRDYd30+FBOamlbvECazEKUfx7cp1qm4XSdkUSn+2OgsGym45RB8zx36jR3BAAq5nZ0lm+OF8MbSAg9gVyP1MwYgp8Z63YhVygjD7GosiYn/B8LTV62OaJhGXpmCkL4+9evKw3xKLofEe8uftdpMIE9pSdTwqGoKWLekH/NuW36/+R/fDluekYTIjUK0BBypb6MMvZyihEwOOa0ClYOINw5FCSNGKva0HKCl9UiWQdmsZHA1Zhhl0AjDhH/GfwL8ddbnK9bF1Lxz8xgkVhtj+RB5M3AysC8Qde112q/2G/0Aw==
  • 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=D9Htmx+KZWw2gmZcWEuzpZEkvFES4J2c3eFst/alGYA=; b=YfNN8t+YcPmEI5mlVJj10vobQQ4EGLGiU8yQcAwWIsWVd59rlOgQ0DGe/hWy+RKO2j4fE5u1f/8Hv5T6gCiFpISbn2GXMyThn8RZUQkn6VgG/y6FWlte3UJth+PHfkj8d+9cD4iCwm6eX6f3aPk5G5vs3VXt5SroehfnXPTMfoZRf3nFj/5nwormzBDfwfpe4JSE13Q3HN2ndpX23ImJv9FMxNYIQ4VVV4sdvDlHOfkY+RHbwHIQl/sE3UDki5GmEO9e/t035m4FUueLzI+4dfE/qX21RfFC+IYTwxruxeO6G/f9asGfew1Z1A0IzRFqNjVZ64BK5R417Djr62YmGw==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=BeQzg3o7eIWyaWlEjxzow+/2ZIvElTHn1MxAwyYueq2dw3jwysaa8zocHbq//0sPoTNlhWwWGRKh05BLMiTbvRsNMAmJI5MyKRDV5BYFzHYQ9gfx4MmSOUsGfulrY8vz1zbTmaocLmX9WdWHluL/q22+iBSGSs1sOeXN2dKF1lPdfZthHdijOcpXUo+p5nB6HKTFV6Oc6rPVqXMMp0VbyDNV1d1wl3QIB3fYoD87ZwU1vG1pGDIlXeUqN3ZAd5TYZ28upidPfQM+9BLfcW90VbAdVC4pJd/wUrE5qEjA0PFx8658mDZohSQyLipOjnd+QuGYQI796vrQ8gegIWpDqQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UvcxBIBiBMj7/UUsPDG/wWB4NgdJsOEPPqwfFp3vA93RmiVp+ydo+RRKeqmWBcHYHAjbabN2/P+NP3xWC1yLTNZS3VjF7YYZHTpHodcK/DNZFurG/fF4zhi8bh6jeWVYAn6RvEgsY3MtUZDpz/yrQPvBcGM+s9wkYkB0dCO8cz9y6RtjQ066W8XsaahlaKvAREf9y8VP5MIHsXI6cymdoPiCTRLR4kG4paEBtzkpXryB5QAHxVtTNql9lIRNPmR9z8IVHhJy8YwNH0CLEhK1qqRX7OE9V5gJzI/HBqjDbWBJW2V+Ux1iRXpPDrWcVi5nEVLHDwYTi466C8ByvsfghQ==
  • 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>, Julien Grall <jgrall@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Wed, 27 Apr 2022 13:51:26 +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: AQHYWjoysOpjhra2zUGfwjKV6P+iV60DxzaA
  • Thread-topic: [PATCH] SUPPORT.MD: Correct the amount of physical memory supported for Arm

Hi Julien,

> On 27 Apr 2022, at 14:22, Julien Grall <julien@xxxxxxx> wrote:
> 
> From: Julien Grall <jgrall@xxxxxxxxxx>
> 
> 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).

Sadly I have no hardware either even remotely near this capacity and
I think those limits are right for now so...

> 
> Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>
Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx> #arm part

Cheers
Bertrand

> ---
> 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.
> 
> ### Physical Memory
> 
> -    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
> 
> ### Physical Memory Hotplug
> 
> -- 
> 2.32.0
> 




 


Rackspace

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