[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v2 0/7] Early Boot Allocation on Power
Hello all, This series enables the Xen boot time allocator on Power by parsing the available memory regions from the firmware-provided device tree. As suggested during review of v1, this is now accomplished by moving Arm's bootfdt.c into xen/common, along with a few modifications to adapt it to Power -- namely to tolerate a device tree with no memory reserve map entries and to tolerate an FDT that overlaps with the a reserved memory region. Additionally, the final patch of the series updates the radix mmu code to use the newly-enabled boot allocator for the Partition and Process tables, instead of statically allocating them like was previously done. Among other things, switching to run-time allocation allows us to allocate a full-sized Process Table instead of the minimal one that was previously used to keep the Xen binary size small. Thanks, Shawn Shawn Anastasio (7): xen/asm-generic: Introduce generic static-shmem.h xen/asm-generic: Introduce generic setup.h xen/common: Move Arm's bootfdt to common xen/device-tree: Fix bootfdt.c to tolerate 0 reserved regions xen/ppc: Enable bootfdt and boot allocator xen/ppc: mm-radix: Replace debug printing code with printk xen/ppc: mm-radix: Allocate Partition and Process Tables at runtime xen/arch/arm/Makefile | 1 - xen/arch/ppc/include/asm/Makefile | 1 + xen/arch/ppc/include/asm/setup.h | 117 +++++++ xen/arch/ppc/mm-radix.c | 199 ++++++------ xen/arch/ppc/setup.c | 289 +++++++++++++++++- xen/common/Makefile | 1 + xen/common/device-tree/Makefile | 1 + .../arm => common/device-tree}/bootfdt.c | 45 ++- xen/include/asm-generic/setup.h | 148 +++++++++ xen/include/asm-generic/static-shmem.h | 12 + 10 files changed, 698 insertions(+), 116 deletions(-) create mode 100644 xen/common/device-tree/Makefile rename xen/{arch/arm => common/device-tree}/bootfdt.c (93%) create mode 100644 xen/include/asm-generic/setup.h create mode 100644 xen/include/asm-generic/static-shmem.h -- 2.30.2
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |