Re: [PATCH v5 4/7] xen/arm: static memory initialization

2021-09-02 Thread Stefano Stabellini
On Tue, 24 Aug 2021, Penny Zheng wrote: > This patch introduces static memory initialization, during system boot up. > > The new function init_staticmem_pages is responsible for static memory > initialization. > > Helper free_staticmem_pages is the equivalent of free_heap_pages, to free > nr_mfns

Re: [PATCH v5 4/7] xen/arm: static memory initialization

2021-08-24 Thread Jan Beulich
On 24.08.2021 11:50, Penny Zheng wrote: > --- a/xen/arch/arm/setup.c > +++ b/xen/arch/arm/setup.c > @@ -609,6 +609,29 @@ static void __init init_pdx(void) > } > } > > +#ifdef CONFIG_STATIC_MEMORY > +/* Static memory initialization */ > +static void __init init_staticmem_pages(void) > +{ > +

[PATCH v5 4/7] xen/arm: static memory initialization

2021-08-24 Thread Penny Zheng
This patch introduces static memory initialization, during system boot up. The new function init_staticmem_pages is responsible for static memory initialization. Helper free_staticmem_pages is the equivalent of free_heap_pages, to free nr_mfns pages of static memory. This commit also introduces