Re: [PATCH v4 11/14] xen/arm64: Rework the memory layout

2023-01-16 Thread Michal Orzel
Hi Julien, On 16/01/2023 10:29, Julien Grall wrote: > > > On 16/01/2023 08:46, Michal Orzel wrote: >> Hi Julien, > > Hi Michal, > >> On 13/01/2023 11:11, Julien Grall wrote: >>> >>> >>> From: Julien Grall >>> >>> Xen is currently not fully compliant with the Arm Arm because it will >>> switch

Re: [PATCH v4 11/14] xen/arm64: Rework the memory layout

2023-01-16 Thread Julien Grall
On 16/01/2023 08:46, Michal Orzel wrote: Hi Julien, Hi Michal, On 13/01/2023 11:11, Julien Grall wrote: From: Julien Grall Xen is currently not fully compliant with the Arm Arm because it will switch the TTBR with the MMU on. In order to be compliant, we need to disable the MMU befor

Re: [PATCH v4 11/14] xen/arm64: Rework the memory layout

2023-01-16 Thread Michal Orzel
Hi Julien, On 13/01/2023 11:11, Julien Grall wrote: > > > From: Julien Grall > > Xen is currently not fully compliant with the Arm 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 th

Re: [PATCH v4 11/14] xen/arm64: Rework the memory layout

2023-01-13 Thread Luca Fancellu
> On 13 Jan 2023, at 10:11, Julien Grall wrote: > > From: Julien Grall > > Xen is currently not fully compliant with the Arm 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 pag

[PATCH v4 11/14] xen/arm64: Rework the memory layout

2023-01-13 Thread Julien Grall
From: Julien Grall Xen is currently not fully compliant with the Arm 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 th