Re: [PATCH v7 6/9] xen/arm: introduce CDF_staticmem

2022-06-22 Thread Jan Beulich
On 20.06.2022 04:44, Penny Zheng wrote: > --- a/xen/include/xen/domain.h > +++ b/xen/include/xen/domain.h > @@ -35,6 +35,18 @@ void arch_get_domain_info(const struct domain *d, > /* Should domain memory be directly mapped? */ > #define CDF_directmap(1U << 1) > #endif > +/* Is domain

[PATCH v7 6/9] xen/arm: introduce CDF_staticmem

2022-06-19 Thread Penny Zheng
In order to have an easy and quick way to find out whether this domain memory is statically configured, this commit introduces a new flag CDF_staticmem and a new helper is_domain_using_staticmem() to tell. Signed-off-by: Penny Zheng --- v7 changes: - IS_ENABLED(CONFIG_STATIC_MEMORY) would not be