Re: [PATCH v3 12/18] xen/arm64: Rework the memory layout

2022-12-13 Thread Julien Grall
Hi Stefano, On 13/12/2022 01:22, Stefano Stabellini wrote: On Mon, 12 Dec 2022, 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

Re: [PATCH v3 12/18] xen/arm64: Rework the memory layout

2022-12-12 Thread Stefano Stabellini
On Mon, 12 Dec 2022, 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 page-tables shou

[PATCH v3 12/18] xen/arm64: Rework the memory layout

2022-12-12 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