Static allocation refers to system or sub-system(domains) for which memory
areas are pre-defined by configuration using physical address ranges.
Those pre-defined memory, -- Static Momery, as parts of RAM reserved in the
beginning, shall never go to heap allocator or boot allocator for any use.
This Patch Serie only talks about Domain on Static Allocation.
Domain on Static Allocation is supported through device tree property
`xen,static-mem` specifying reserved RAM banks as this domain's guest RAM.
By default, they shall be mapped to the fixed guest RAM address
`GUEST_RAM0_BASE`, `GUEST_RAM1_BASE`.
Looking into related [design link](
https://lists.xenproject.org/archives/html/xen-devel/2021-05/msg00882.html)
for more details.
The whole design is about Static Allocation and 1:1 direct-map, and this
Patch Serie only covers parts of it, which are Domain on Static Allocation.
Other features will be delievered through different patch series.
Penny Zheng (10):
xen/arm: introduce domain on Static Allocation
xen/arm: handle static memory in dt_unreserved_regions
xen/arm: introduce PGC_reserved
xen/arm: static memory initialization
xen/arm: introduce alloc_staticmem_pages
xen: replace order with nr_pfns in assign_pages for better
compatibility
xen/arm: intruduce alloc_domstatic_pages
xen/arm: introduce reserved_page_list
xen/arm: parse `xen,static-mem` info during domain construction
xen/arm: introduce allocate_static_memory
docs/misc/arm/device-tree/booting.txt | 33 ++++
xen/arch/arm/bootfdt.c | 52 +++++++
xen/arch/arm/domain_build.c | 211 +++++++++++++++++++++++++-
xen/arch/arm/setup.c | 41 ++++-
xen/arch/x86/pv/dom0_build.c | 2 +-
xen/common/domain.c | 1 +
xen/common/grant_table.c | 2 +-
xen/common/memory.c | 4 +-
xen/common/page_alloc.c | 210 +++++++++++++++++++++++--
xen/include/asm-arm/domain.h | 3 +
xen/include/asm-arm/mm.h | 16 +-
xen/include/asm-arm/setup.h | 2 +
xen/include/xen/mm.h | 9 +-
xen/include/xen/sched.h | 5 +
14 files changed, 564 insertions(+), 27 deletions(-)
--
2.25.1