RE: [PATCH V4 10/10] xen/arm: introduce allocate_static_memory

2021-08-16 Thread Penny Zheng
> -Original Message- > From: Julien Grall > Sent: Tuesday, August 17, 2021 1:55 AM > To: Penny Zheng ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org > Cc: Bertrand Marquis ; Wei Chen > ; nd > Subject: Re: [PATCH V4 10/10] xen/arm: introduc

Re: [PATCH V4 10/10] xen/arm: introduce allocate_static_memory

2021-08-16 Thread Julien Grall
On 16/08/2021 08:51, Penny Zheng wrote: + d, bank, pbase, pbase + psize); + +/* + * It shall be mapped to the fixed guest RAM address rambase[i], + * And until it exhausts the ramsize[i], it will seek to the next + * rambase[i+1]. + */ +

RE: [PATCH V4 10/10] xen/arm: introduce allocate_static_memory

2021-08-16 Thread Penny Zheng
Hi julien > -Original Message- > From: Julien Grall > Sent: Friday, August 13, 2021 9:37 PM > To: Penny Zheng ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org > Cc: Bertrand Marquis ; Wei Chen > ; nd > Subject: Re: [PATCH V4 10/10] xen/arm: introduc

Re: [PATCH V4 10/10] xen/arm: introduce allocate_static_memory

2021-08-13 Thread Julien Grall
Hi Penny, On 28/07/2021 11:27, Penny Zheng wrote: This commit introduces allocate_static_memory to allocate static memory as guest RAM for Domain on Static Allocation. It uses acquire_domstatic_pages to acquire pre-configured static memory for this domain, and uses guest_physmap_add_page to