RE: [PATCH v2 07/40] xen/arm64: add .text.idmap for Xen identity map sections

2023-01-18 Thread Wei Chen
Hi Julien, > -Original Message- > >>> > >>> In this patch we introduce .text.idmap to head_mmu.S, and > >>> add this section after .text.header. to ensure code of > >>> head_mmu.S after the code of header.S. > >>> > >>> After this, we will still include some code that does not > >>>

Re: [PATCH v2 07/40] xen/arm64: add .text.idmap for Xen identity map sections

2023-01-18 Thread Julien Grall
On 18/01/2023 02:18, Wei Chen wrote: Hi Julien, Hi Wei, -Original Message- From: Julien Grall Sent: 2023年1月18日 7:46 To: Penny Zheng ; xen-devel@lists.xenproject.org Cc: Wei Chen ; Stefano Stabellini ; Bertrand Marquis ; Volodymyr Babchuk Subject: Re: [PATCH v2 07/40] xen/arm64: add

RE: [PATCH v2 07/40] xen/arm64: add .text.idmap for Xen identity map sections

2023-01-17 Thread Wei Chen
Hi Julien, > -Original Message- > From: Julien Grall > Sent: 2023年1月18日 7:46 > To: Penny Zheng ; xen-devel@lists.xenproject.org > Cc: Wei Chen ; Stefano Stabellini > ; Bertrand Marquis ; > Volodymyr Babchuk > Subject: Re: [PATCH v2 07/40] xen/arm64: add .tex

Re: [PATCH v2 07/40] xen/arm64: add .text.idmap for Xen identity map sections

2023-01-17 Thread Julien Grall
Hi, On 13/01/2023 05:28, Penny Zheng wrote: From: Wei Chen Only the first 4KB of Xen image will be mapped as identity (PA == VA). At the moment, Xen guarantees this by having everything that needs to be used in the identity mapping in head.S before _end_boot and checking at link time if this

[PATCH v2 07/40] xen/arm64: add .text.idmap for Xen identity map sections

2023-01-12 Thread Penny Zheng
From: Wei Chen Only the first 4KB of Xen image will be mapped as identity (PA == VA). At the moment, Xen guarantees this by having everything that needs to be used in the identity mapping in head.S before _end_boot and checking at link time if this fits in 4KB. In previous patch, we have moved