[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v5 0/4] Introduce static heap
The static heap, or statically configured heap, refers to parts of RAM reserved in the beginning for heap. Like the static memory allocation, such static heap regions are reserved by configuration in the device tree using physical address ranges. This feature is useful to run Xen on Arm MPU systems, where only a finite number of memory protection regions are available. The limited number of protection regions places requirement on planning the use of MPU protection regions and one or more MPU protection regions needs to be reserved only for heap. The first patch enhances the error handling in processing the dts chosen node. The second patch introduces the static heap and the device tree parsing code. The third patch renames xenheap_* to directmap_* for better readablity. The fourth patch adds the implementation of the static heap pages handling in boot and heap allocator for Arm. Changes from v4 to v5: - Use #address-cells and #size-cells for static heap, do not introduce new address/size cells. Update the dt-binding accordingly. - Correct a typo in code comments. - Drop Stefano's acked-by in patch #2 as it is not valid. - Mention the function and code comment rename in commit mesg in patch #3. Henry Wang (4): xen/arm: bootfdt: Make process_chosen_node() return int docs, xen/arm: Introduce static heap memory xen/arm: mm: Rename xenheap_* variable to directmap_* xen/arm: Handle static heap pages in boot and heap allocator SUPPORT.md | 7 ++ docs/misc/arm/device-tree/booting.txt | 52 +++++++++ xen/arch/arm/bootfdt.c | 53 ++++++--- xen/arch/arm/domain_build.c | 8 +- xen/arch/arm/include/asm/config.h | 2 +- xen/arch/arm/include/asm/mm.h | 31 ++--- xen/arch/arm/include/asm/setup.h | 23 +++- xen/arch/arm/mm.c | 50 +++++---- xen/arch/arm/setup.c | 156 ++++++++++++++++++++------ 9 files changed, 293 insertions(+), 89 deletions(-) -- 2.17.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |