RE: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-02-02 Thread Penny Zheng
;> Sent: Thursday, February 2, 2023 2:57 AM > >> To: Penny Zheng ; > >> xen-devel@lists.xenproject.org; Wei Chen ; > Stefano > >> Stabellini ; Bertrand Marquis > >> ; ayan.kumar.hal...@xilinx.com > >> Cc: Volodymyr Babchuk > >> Subject: Re: [PATCH

Re: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-02-02 Thread Julien Grall
Babchuk Subject: Re: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map Hi Penny, On 01/02/2023 05:39, Penny Zheng wrote: If we are adding MPU regions in sequence as you suggested, while using bitmap at the same time to record used entry. TBH, this is how I designed

RE: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-02-02 Thread Penny Zheng
; Subject: Re: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU > memory region map > > Hi Penny, > > On 01/02/2023 05:39, Penny Zheng wrote: > >>> If we are adding MPU regions in sequence as you suggested, while > >>> using bitmap at the same time t

Re: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-02-01 Thread Julien Grall
Hi Penny, On 01/02/2023 05:39, Penny Zheng wrote: If we are adding MPU regions in sequence as you suggested, while using bitmap at the same time to record used entry. TBH, this is how I designed at the very beginning internally. We found that if we don't do reorg late-boot to keep fixed in

RE: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-01-31 Thread Penny Zheng
023 5:40 PM > >> To: Penny Zheng ; xen- > de...@lists.xenproject.org > >> Cc: Wei Chen ; Stefano Stabellini > >> ; Bertrand Marquis > >> ; Volodymyr Babchuk > >> > >> Subject: Re: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen

Re: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-01-31 Thread Julien Grall
] xen/mpu: build up start-of-day Xen MPU memory region map Hi Penny, On 30/01/2023 05:45, Penny Zheng wrote: There are three types of MPU regions during boot-time: 1. Fixed MPU region Regions like Xen text section, Xen heap section, etc. 2. Boot-only MPU region Regions like Xen init sections, etc

RE: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-01-30 Thread Penny Zheng
Hi Julien > -Original Message- > From: Julien Grall > Sent: Monday, January 30, 2023 5:40 PM > To: Penny Zheng ; xen-devel@lists.xenproject.org > Cc: Wei Chen ; Stefano Stabellini > ; Bertrand Marquis ; > Volodymyr Babchuk > Subject: Re: [PATCH v2 11/40] xen/mp

Re: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-01-30 Thread Julien Grall
Hi Penny, On 30/01/2023 05:45, Penny Zheng wrote: There are three types of MPU regions during boot-time: 1. Fixed MPU region Regions like Xen text section, Xen heap section, etc. 2. Boot-only MPU region Regions like Xen init sections, etc. It will be removed at the end of booting. 3.

RE: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-01-29 Thread Penny Zheng
; xen- > de...@lists.xenproject.org > >> Cc: Wei Chen ; Stefano Stabellini > >> ; Bertrand Marquis > >> ; Volodymyr Babchuk > >> > >> Subject: Re: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU > >> memory region map > >> > >>

Re: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-01-28 Thread Julien Grall
/mpu: build up start-of-day Xen MPU memory region map Hi Penny, Hi Julien Sorry for the late response, just come back from Chinese Spring Festival Holiday~ On 13/01/2023 05:28, Penny Zheng wrote: From: Penny Zheng The start-of-day Xen MPU memory region layout shall be like as follows

RE: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-01-28 Thread Penny Zheng
ubject: Re: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU > memory region map > > > On 13/01/2023 05:28, Penny Zheng wrote: > > CAUTION: This message has originated from an External Source. Please use > proper judgment and caution when opening attachment

RE: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-01-28 Thread Penny Zheng
> -Original Message- > From: Julien Grall > Sent: Thursday, January 19, 2023 11:04 PM > To: Penny Zheng ; xen-devel@lists.xenproject.org > Cc: Wei Chen ; Stefano Stabellini > ; Bertrand Marquis ; > Volodymyr Babchuk > Subject: Re: [PATCH v2 11/40] xen/mpu: build

Re: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-01-19 Thread Julien Grall
Hi Penny, On 13/01/2023 05:28, Penny Zheng wrote: From: Penny Zheng The start-of-day Xen MPU memory region layout shall be like as follows: xen_mpumap[0] : Xen text xen_mpumap[1] : Xen read-only data xen_mpumap[2] : Xen read-only after init data xen_mpumap[3] : Xen read-write data

Re: [PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-01-19 Thread Ayan Kumar Halder
On 13/01/2023 05:28, Penny Zheng wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. From: Penny Zheng The start-of-day Xen MPU memory region layout shall be

[PATCH v2 11/40] xen/mpu: build up start-of-day Xen MPU memory region map

2023-01-12 Thread Penny Zheng
From: Penny Zheng The start-of-day Xen MPU memory region layout shall be like as follows: xen_mpumap[0] : Xen text xen_mpumap[1] : Xen read-only data xen_mpumap[2] : Xen read-only after init data xen_mpumap[3] : Xen read-write data xen_mpumap[4] : Xen BSS .. xen_mpumap[max_xen_mpumap - 2]: