RE: [PATCH 6/9] xen/arm: introduce alloc_staticmem_pages and alloc_domstatic_pages

2021-07-08 Thread Penny Zheng
;> Cc: Bertrand Marquis ; Wei Chen > >> ; xen-devel@lists.xenproject.org; > >> sstabell...@kernel.org; Julien Grall > >> Subject: Re: [PATCH 6/9] xen/arm: introduce alloc_staticmem_pages and > >> alloc_domstatic_pages > >> > >> On 06.07.2021 07:58

Re: [PATCH 6/9] xen/arm: introduce alloc_staticmem_pages and alloc_domstatic_pages

2021-07-08 Thread Jan Beulich
kernel.org; Julien Grall >> Subject: Re: [PATCH 6/9] xen/arm: introduce alloc_staticmem_pages and >> alloc_domstatic_pages >> >> On 06.07.2021 07:58, Penny Zheng wrote: >>>> From: Jan Beulich >>>> Sent: Thursday, June 10, 2021 6:23 PM >>>

RE: [PATCH 6/9] xen/arm: introduce alloc_staticmem_pages and alloc_domstatic_pages

2021-07-08 Thread Penny Zheng
Hi Jan > -Original Message- > From: Jan Beulich > Sent: Tuesday, July 6, 2021 2:54 PM > To: Penny Zheng > Cc: Bertrand Marquis ; Wei Chen > ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org; Julien Grall > Subject: Re: [PATCH 6/9] xen/arm: introduce a

Re: [PATCH 6/9] xen/arm: introduce alloc_staticmem_pages and alloc_domstatic_pages

2021-07-06 Thread Julien Grall
Hi, On 06/07/2021 10:59, Jan Beulich wrote: On 06.07.2021 11:39, Julien Grall wrote: Hi Jan & Penny, On 06/07/2021 07:53, Jan Beulich wrote: On 06.07.2021 07:58, Penny Zheng wrote: From: Jan Beulich Sent: Thursday, June 10, 2021 6:23 PM On 07.06.2021 04:43, Penny Zheng wrote: --- a/xen/co

Re: [PATCH 6/9] xen/arm: introduce alloc_staticmem_pages and alloc_domstatic_pages

2021-07-06 Thread Jan Beulich
On 06.07.2021 11:39, Julien Grall wrote: > Hi Jan & Penny, > > On 06/07/2021 07:53, Jan Beulich wrote: >> On 06.07.2021 07:58, Penny Zheng wrote: From: Jan Beulich Sent: Thursday, June 10, 2021 6:23 PM On 07.06.2021 04:43, Penny Zheng wrote: > --- a/xen/common/page_alloc.c

Re: [PATCH 6/9] xen/arm: introduce alloc_staticmem_pages and alloc_domstatic_pages

2021-07-06 Thread Julien Grall
Hi Jan & Penny, On 06/07/2021 07:53, Jan Beulich wrote: On 06.07.2021 07:58, Penny Zheng wrote: From: Jan Beulich Sent: Thursday, June 10, 2021 6:23 PM On 07.06.2021 04:43, Penny Zheng wrote: --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -1065,6 +1065,75 @@ static struct pag

Re: [PATCH 6/9] xen/arm: introduce alloc_staticmem_pages and alloc_domstatic_pages

2021-07-05 Thread Jan Beulich
On 06.07.2021 07:58, Penny Zheng wrote: >> From: Jan Beulich >> Sent: Thursday, June 10, 2021 6:23 PM >> >> On 07.06.2021 04:43, Penny Zheng wrote: >>> --- a/xen/common/page_alloc.c >>> +++ b/xen/common/page_alloc.c >>> @@ -1065,6 +1065,75 @@ static struct page_info *alloc_heap_pages( >>> ret

RE: [PATCH 6/9] xen/arm: introduce alloc_staticmem_pages and alloc_domstatic_pages

2021-07-05 Thread Penny Zheng
Hi > -Original Message- > From: Jan Beulich > Sent: Thursday, June 10, 2021 6:23 PM > To: Penny Zheng > Cc: Bertrand Marquis ; Wei Chen > ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org; jul...@xen.org > Subject: Re: [PATCH 6/9] xen/arm: introduce a

Re: [PATCH 6/9] xen/arm: introduce alloc_staticmem_pages and alloc_domstatic_pages

2021-06-10 Thread Jan Beulich
On 07.06.2021 04:43, Penny Zheng wrote: > alloc_staticmem_pages aims to allocate nr_mfns contiguous pages of > static memory. And it is the equivalent of alloc_heap_pages for static > memory. Here only covers allocating at specified starting address. > > For each page, it shall check if the page i