docs/arm: Document where Xen should be loaded in memory
PATCH 1/1 docs/arm: Document where Xen should be loaded in memory
From: Julien Grall <[email protected]>
In commit 9d267c049d92 ("xen/arm64: Rework the memory layout"), we decided to require Xen to be loaded below 5 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
----
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, 4 insertions(+)
docs/misc/arm/booting.txt +4 -0
@@ -21,6 +21,10 @@ 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. +The exceptions to this on 64-bit ARM are as follows: + + Xen binary should be loaded in memory below 2 TiB. + There are no exception on 64-bit ARM. Booting Guests
Signature · 1 line
2.40.1
Quoted 11 lines · Julien Grall
From: Julien Grall <[email protected]>
In commit
9d267c049d92("xen/arm64: Rework the memory layout"), we decided to require Xen to be loaded below 5 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
I forgot to add a link to
Cheers,
Signature · 1 line
Julien Grall
Hi Julien,
Quoted 6 lines · Julien Grall
From: Julien Grall <[email protected]>
In commit
9d267c049d92("xen/arm64: Rework the memory layout"), we decided to require Xen to be loaded below 5 TiB to simplify
s/5/2
Quoted 11 lines
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.txtSigned-off-by Julien Grall <[email protected]>----
one less '-'
Quoted 15 lines
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.txtfor 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, 4 insertions(+)docs/misc/arm/booting.txt +0
-0
docs/misc/arm/booting.txt The exceptions to this on 32-bit ARM are as follows: · line 28
Quoted 8 lines
docs/misc/arm/booting.txt +4
-0@@ -21,6 +21,10 @@ 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. +The exceptions to this on 64-bit ARM are as follows: + + Xen binary should be loaded in memory below 2 TiB. + There are no exception on 64-bit ARM.
This sentence needs to be dropped then.
With that:
~Michal
Quoted 1 line · Michal Orzel
Hi Julien,
Hi,
Quoted 8 lines · Julien Grall
Quoted 6 lines
From: Julien Grall <[email protected]>
In commit
9d267c049d92("xen/arm64: Rework the memory layout"), we decided to require Xen to be loaded below 5 TiB to simplifys/5/2
Ah yes. I keep having 2 TiB.
Quoted 8 lines
Quoted 8 lines
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
Quoted 4 lines
Quoted 3 lines
Signed-off-by Julien Grall <[email protected]>----
one less '-'
Yes. I forgot to call 'sed -i 's/^----/---/' *.patch' before sending (I use ---- to prevent my pacthqueue management tool to strip anything after ---).
Quoted 19 lines
Quoted 19 lines
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.txtfor 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, 4 insertions(+)docs/misc/arm/booting.txt +0
-0@@ -21,6 +21,10 @@ 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.
Quoted 6 lines
docs/misc/arm/booting.txt The exceptions to this on 32-bit ARM are as follows: · line 28
Quoted 5 lines
docs/misc/arm/booting.txt +4
-0+The exceptions to this on 64-bit ARM are as follows: + + Xen binary should be loaded in memory below 2 TiB. + There are no exception on 64-bit ARM.This sentence needs to be dropped then.
Whoops yes.
Quoted 3 lines
With that:
Reviewed-by Michal Orzel <[email protected]>
Thanks!
Cheers,
Signature · 1 line
Julien Grall