Re: [PATCH early-RFC 2/5] xen/arm64: Rework the memory layout

2022-05-21 Thread Julien Grall
On 25/03/2022 14:36, Julien Grall wrote: be loaded at (512GB + 2MB). This requires a slight tweak of the boot code as XEN_VIRT_START cannot be used as an immediate. Signed-off-by: Julien Grall ---     TODO:     - I vaguely recall that one of the early platform we supported add  

Re: [PATCH early-RFC 2/5] xen/arm64: Rework the memory layout

2022-03-25 Thread Julien Grall
Hi, On 25/03/2022 14:05, Bertrand Marquis wrote: On 25 Mar 2022, at 14:35, Julien Grall wrote: On 25/03/2022 13:17, Bertrand Marquis wrote: Hi Julien, Hi, On 9 Mar 2022, at 12:20, Julien Grall wrote: From: Julien Grall Xen is currently not fully compliant with the Arm because it

Re: [PATCH early-RFC 2/5] xen/arm64: Rework the memory layout

2022-03-25 Thread Bertrand Marquis
Hi Julien, > On 25 Mar 2022, at 14:35, Julien Grall wrote: > > > > On 25/03/2022 13:17, Bertrand Marquis wrote: >> Hi Julien, > > Hi, > >>> On 9 Mar 2022, at 12:20, Julien Grall wrote: >>> >>> From: Julien Grall >>> >>> Xen is currently not fully compliant with the Arm because it will

Re: [PATCH early-RFC 2/5] xen/arm64: Rework the memory layout

2022-03-25 Thread Julien Grall
On 25/03/2022 13:17, Bertrand Marquis wrote: Hi Julien, Hi, On 9 Mar 2022, at 12:20, Julien Grall wrote: From: Julien Grall Xen is currently not fully compliant with the Arm because it will I think you wanted to say “arm arm” her. Yes. I will update it. switch the TTBR with the

Re: [PATCH early-RFC 2/5] xen/arm64: Rework the memory layout

2022-03-25 Thread Bertrand Marquis
Hi Julien, > On 9 Mar 2022, at 12:20, Julien Grall wrote: > > From: Julien Grall > > Xen is currently not fully compliant with the Arm because it will I think you wanted to say “arm arm” her. > switch the TTBR with the MMU on. > > In order to be compliant, we need to disable the MMU before

Re: [PATCH early-RFC 2/5] xen/arm64: Rework the memory layout

2022-03-17 Thread Julien Grall
Hi, On 09/03/2022 11:20, Julien Grall wrote: From: Julien Grall Xen is currently not fully compliant with the Arm because it will switch the TTBR with the MMU on. In order to be compliant, we need to disable the MMU before switching the TTBR. The implication is the page-tables should contain

[PATCH early-RFC 2/5] xen/arm64: Rework the memory layout

2022-03-09 Thread Julien Grall
From: Julien Grall Xen is currently not fully compliant with the Arm because it will switch the TTBR with the MMU on. In order to be compliant, we need to disable the MMU before switching the TTBR. The implication is the page-tables should contain an identity mapping of the code switching the