Skip to content

Static shared memory followup v2 - pt1

Luca Fancellu xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 10 repliesIn review
  2. v213 patches 25 repliesSuperseded
  3. v111 patches 20 repliesSuperseded

Changes in v3 from the cover letter

- Removed merging of the /memory interval

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12xen/arm: remove stale addr_cells/size_cells in assign_shared_memoryxen/arch/arm/static-shmem.c+0 -20 replies
2/12xen/arm: avoid repetitive checking in process_shm_nodexen/arch/arm/static-shmem.c+16 -230 replies
3/12xen/arm: Pass struct kernel_info parameter to make_{resv,shm}_memory_nodexen/arch/arm/dom0less-build.c xen/arch/arm/domain_build.c xen/arch/arm/include/asm/static-shmem.h +1 more+15 -160 replies
4/12xen/arm: Introduce a generic way to access memory bank structuresxen/arch/arm/acpi/domain_build.c xen/arch/arm/arm32/mmu/mm.c xen/arch/arm/arm64/mmu/mm.c +12 more+249 -1630 replies
5/12xen/arm: Conditional compilation of kernel_info.shm_mem memberxen/arch/arm/include/asm/kernel.h+9 -10 replies
6/12xen/arm: Avoid code duplication in find_unallocated_memoryxen/arch/arm/domain_build.c+23 -301 reply
7/12xen/arm: Avoid code duplication in check_reserved_regions_overlapxen/arch/arm/setup.c+13 -110 replies
8/12xen/arm: Introduce helper for static memory pagesxen/arch/arm/include/asm/static-memory.h xen/arch/arm/static-memory.c+14 -110 replies
9/12xen/arm: Reduce struct membank size on static shared memoryxen/arch/arm/arm32/mmu/mm.c xen/arch/arm/arm64/mmu/mm.c xen/arch/arm/bootfdt.c +6 more+165 -240 replies
10/12xen/arm: remove shm holes from extended regionsxen/arch/arm/domain_build.c xen/arch/arm/include/asm/domain_build.h xen/arch/arm/include/asm/static-shmem.h +1 more+127 -31 reply
11/12xen/arm: fix duplicate /reserved-memory node in Dom0xen/arch/arm/domain_build.c xen/arch/arm/include/asm/static-shmem.h xen/arch/arm/static-shmem.c+33 -70 replies
12/12xen/arm: List static shared memory regions as /memory nodesxen/arch/arm/dom0less-build.c xen/arch/arm/domain_build.c xen/arch/arm/include/asm/domain_build.h +2 more+63 -138 replies
12/12xen/arm: List static shared memory regions as /memory nodesxen/arch/arm/dom0less-build.c xen/arch/arm/domain_build.c xen/arch/arm/include/asm/domain_build.h +2 more+63 -130 replies

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by.

PatchMichal Orzel
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b R-b
12/12R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/12] Static shared memory followup v2 - pt1

This serie is a partial rework of this other serie:
https://patchwork.kernel.org/project/xen-devel/cover/[email protected]/

The original serie is addressing an issue of the static shared memory feature that impacts the memory footprint of other component when the feature is enabled, another issue impacts the device tree generation for the guests when the feature is enabled and used and the last one is a missing feature that is the option to have a static shared memory region that is not from the host address space.

This serie is handling some comment on the original serie and it is splitting the rework in two part, this first part is addressing the memory footprint issue and the device tree generation, there will be a following serie addressing the last missing feature soon.

From v2:
- Removed merging of the /memory interval

From v1:
- Add new patches, moved the patch related to the static memory helper.

Luca Fancellu (8):
xen/arm: Pass struct kernel_info parameter to
make_{resv,shm}_memory_node
xen/arm: Introduce a generic way to access memory bank structures xen/arm: Conditional compilation of kernel_info.shm_mem member xen/arm: Avoid code duplication in find_unallocated_memory xen/arm: Avoid code duplication in check_reserved_regions_overlap xen/arm: Introduce helper for static memory pages xen/arm: Reduce struct membank size on static shared memory xen/arm: List static shared memory regions as /memory nodes

Penny Zheng (4):
xen/arm: remove stale addr_cells/size_cells in assign_shared_memory xen/arm: avoid repetitive checking in process_shm_node xen/arm: remove shm holes from extended regions
xen/arm: fix duplicate /reserved-memory node in Dom0

 xen/arch/arm/acpi/domain_build.c         |   6 +-
 xen/arch/arm/arm32/mmu/mm.c              |  68 ++++--
 xen/arch/arm/arm64/mmu/mm.c              |   4 +-
 xen/arch/arm/bootfdt.c                   |  40 ++--
 xen/arch/arm/dom0less-build.c            |  19 +-
 xen/arch/arm/domain_build.c              | 213 ++++++++++--------
 xen/arch/arm/efi/efi-boot.h              |   8 +-
 xen/arch/arm/efi/efi-dom0.c              |  13 +-
 xen/arch/arm/include/asm/domain_build.h  |   6 +-
 xen/arch/arm/include/asm/kernel.h        |  18 +-
 xen/arch/arm/include/asm/setup.h         |  81 ++++++-
 xen/arch/arm/include/asm/static-memory.h |  13 ++
 xen/arch/arm/include/asm/static-shmem.h  |  59 ++++-
 xen/arch/arm/kernel.c                    |  12 +-
 xen/arch/arm/setup.c                     |  97 ++++++---
 xen/arch/arm/static-memory.c             |  35 ++-
 xen/arch/arm/static-shmem.c              | 263 ++++++++++++++++++-----
 17 files changed, 689 insertions(+), 266 deletions(-)
Signature · 1 line
2.34.1