Memory region overlap check in device tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 1 replyIn review
- v33 patches 7 repliesSuperseded
- v23 patches 7 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 8 replies | Superseded |
Changes in v4 from the cover letter
1. Correct printk error message, end should be exclusive.
2. Add comment explaining the unhandled case where '*_end' could be 0 if the module/region is at the end of the physical address space.
3. Add Stefano's reviewed-by tag.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xen/arm: Add memory overlap check for bootinfo.reserved_memxen/ xen/ xen/ | +53 | 0 replies | |
| 2/3 | xen/arm: Extend the memory overlap check to include bootmodulesxen/ | +39 | 0 replies | |
| 3/3 | xen/arm: Extend the memory overlap check to include EfiACPIReclaimMemoryxen/ xen/ | +14 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Stefano Stabellini |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/3] Memory region overlap check in device tree
As we are having more and more types of memory region defined in the device tree, it is necessary to add the overlap check of these memory regions in Xen, because such check will help user to identify the misconfiguration in the device tree at the early stage of boot time.
The first patch introduces the basic memory overlap check mechanism, and does the memory check for memory regions in bootinfo.reserved_mem. Following patches extend the overlap check to include bootmodules and EfiACPIReclaimMemory.
v3 -> v4:
1. Correct printk error message, end should be exclusive.
2. Add comment explaining the unhandled case where '*_end' could be 0 if the module/region is at the end of the physical address space.
3. Add Stefano's reviewed-by tag.
v2 -> v3:
1. Use "[start, end]" format in printk error message.
2. Change the return type of helper functions to bool.
3. Use 'start' and 'size' in helper functions to describe a region.
v1 -> v2:
- Split original overlap_check() to meminfo_overlap_check() and bootmodules_overlap_check().
- Rework commit message.
Henry Wang (3):
xen/arm: Add memory overlap check for bootinfo.reserved_mem xen/arm: Extend the memory overlap check to include bootmodules xen/arm: Extend the memory overlap check to include
EfiACPIReclaimMemory
xen/arch/arm/bootfdt.c | 13 +++-- xen/arch/arm/efi/efi-boot.h | 10 +++- xen/arch/arm/include/asm/setup.h | 2 + xen/arch/arm/setup.c | 90 ++++++++++++++++++++++++++++++++ 4 files changed, 106 insertions(+), 9 deletions(-)
Signature · 1 line
2.25.1