SUPPORT.MD: Correct the amount of physical memory supported for Arm
PATCH 1/1 SUPPORT.MD: Correct the amount of physical memory supported for Arm
From: Julien Grall <[email protected]>
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).
--- SUPPORT.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
SUPPORT.md +4 -3
@@ -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
Signature · 1 line
2.32.0
SUPPORT.md For the Cortex A57 r0p0 - r1p1, see Errata 832075. · line 54
Quoted 11 lines · Julien Grall
SUPPORT.md +2
-3@@ -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.
Nit: "supported" also in the 2nd instance, as it was before. I think retaining the comma would also be beneficial.
SUPPORT.md For the Cortex A57 r0p0 - r1p1, see Errata 832075. · line 56
Quoted 2 lines
SUPPORT.md +2
-0+ Status, Arm32: Supported up to 12 GiB + Status, Arm64: Supported up to 2 TiB
This really will need to be ack-ed by an Arm person, so I don't see value in me providing an ack.
Jan
Hi Jan,
Quoted 7 lines · Jan Beulich
Quoted 6 lines · Julien Grall
SUPPORT.md +0
-0@@ -50,9 +50,10 @@ For the Cortex A57 r0p0 - r1p1, see Errata 832075. ### Physical Memory
Quoted 8 lines
SUPPORT.md For the Cortex A57 r0p0 - r1p1, see Errata 832075. · line 54
Quoted 5 lines
SUPPORT.md +2
-3- 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.Nit: "supported" also in the 2nd instance, as it was before. I think retaining the comma would also be beneficial.
Agree for both. Sorry, I rewrote the sentence rather than copying/pasting.
Quoted 6 lines
SUPPORT.md For the Cortex A57 r0p0 - r1p1, see Errata 832075. · line 56
Quoted 3 lines
SUPPORT.md +2
-0+ Status, Arm32: Supported up to 12 GiB + Status, Arm64: Supported up to 2 TiBThis really will need to be ack-ed by an Arm person, so I don't see value in me providing an ack.
Bertrand and Stefanos should be CCed. I will wait input from them before resending a new version.
Cheers,
Signature · 1 line
Julien Grall
Hi Julien,
Quoted 10 lines · Julien Grall
From: Julien Grall <[email protected]>
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.
Quoted 8 lines
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_infohas 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...
Quoted 2 lines
Signed-off-by Julien Grall <[email protected]>
Cheers
Bertrand
Quoted 25 lines
---
SUPPORT.md | 7 ++++---1 file changed, 4 insertions(+), 3 deletions(-)SUPPORT.md +4
-3@@ -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 HotplugSignature · 1 line
2.32.0
Quoted 1 line · Bertrand Marquis
Hi Julien,
Hi Bertrand,
Quoted 19 lines
Quoted 10 lines · Julien Grall
From: Julien Grall <[email protected]>
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.
Quoted 8 lines
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_infohas 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).
Quoted 6 lines
Sadly I have no hardware either even remotely near this capacity and I think those limits are right for now so...
Quoted 2 lines
Signed-off-by Julien Grall <[email protected]>Reviewed-by Bertrand Marquis <[email protected]> #arm part
Thanks! The changes requested by Jan are easy to fix. So instead of resubmitting, I have done the modifications and committed the patch directly.
Cheers,
Signature · 1 line
Julien Grall