Skip to content

Requesting more memory from firmware

Daniel Axtens grub-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19grub-shell: Boot PowerPC using PMU instead of CUDA for power managementtests/util/grub-shell.in+2 -12 replies
2/19grub-shell: pseries: don't pass fw_opt to qemutests/util/grub-shell.in+5 -12 replies
3/19mm: document grub internal memory management structuresinclude/grub/mm_private.h+21 -02 replies
4/19mm: assert that we preserve header vs region alignmentinclude/grub/mm_private.h+8 -03 replies
5/19mm: when adding a region, merge with region after as well as beforegrub-core/kern/mm.c include/grub/mm_private.h+51 -191 reply
6/19configure: properly pass through MM_DEBUGconfig.h.in configure.ac+7 -21 reply
7/19Add memtool module with memory allocation stress-testgrub-core/Makefile.core.def grub-core/commands/memtools.c grub-core/kern/mm.c +1 more+168 -23 replies
8/19mm: Drop unused unloading of modules on OOMgrub-core/kern/dl.c grub-core/kern/mm.c include/grub/dl.h+0 -291 reply
9/19mm: Allow dynamically requesting additional memory regionsgrub-core/kern/mm.c include/grub/mm.h+29 -01 reply
10/19efi: mm: Always request a fixed number of pages on initgrub-core/kern/efi/mm.c+3 -321 reply
11/19efi: mm: Extract function to add memory regionsgrub-core/kern/efi/mm.c+16 -74 replies
12/19efi: mm: Pass up errors from `add_memory_regions ()`grub-core/kern/efi/mm.c+13 -73 replies
13/19efi: mm: Implement runtime addition of pagesgrub-core/kern/efi/mm.c+11 -41 reply
14/19ieee1275: request memory with ibm, client-architecture-supportgrub-core/kern/ieee1275/cmain.c grub-core/kern/ieee1275/init.c include/grub/ieee1275/ieee1275.h+149 -00 replies
15/19ieee1275: drop len -= 1 quirk in heap_initgrub-core/kern/ieee1275/init.c+0 -10 replies
16/19ieee1275: support runtime memory claimingdocs/grub-dev.texi grub-core/kern/ieee1275/init.c+165 -210 replies
17/19print more debug info in mmgrub-core/kern/mm.c+8 -03 replies
18/19ieee1275 debugging infogrub-core/kern/ieee1275/init.c+10 -10 replies
19/19RFC: Ignore REGION_CONSECUTIVEgrub-core/kern/ieee1275/init.c+10 -271 reply

Reviews trailers per patch

1 of 19 patches has a Reviewed-by or Acked-by.

PatchGlenn WashburnDaniel Kiper
1/19R-b
2/19T-b
3/19
4/19
5/19
6/19
7/19
8/19
9/19
10/19
11/19
12/19
13/19
14/19
15/19
16/19
17/19
18/19
19/19

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

Read the v1 thread

Cover letter [PATCH 00/19] Requesting more memory from firmware

Hi,

This extends Patrick's work on adding the ability to dynamically request more memory from firmware.

It now supports powerpc-ieee1275 - I can allocate pretty large chunks of memory and still successfully boot under both SLOF and Power8 PFW.

Structure of the series:

- Patches 1 & 2: little patches to fix tests. Probably mergeable as-is.

- Patch 3: Document some mm structures. Hopefully mergable as-is.

- Patch 4: internal mm consistency check.

- Patch 5: enhance the algorithm for merging a new region into an existing region.

- Patch 6: pass MM_DEBUG from configure into config.h

- Patch 7: a tool to test large memory allocations

- Patches 8-13: Patrick's series with some minor tweaks

- Patches 14-16: ieee1275 support

- Patches 17-18: debug print patches

- Patch 19: an RFC suggesting a possible improvement to Patrick's series.

Kind regards,
Daniel

Daniel Axtens (12):
grub-shell: pseries: don't pass fw_opt to qemu
mm: document grub internal memory management structures
mm: assert that we preserve header vs region alignment
mm: when adding a region, merge with region after as well as before
configure: properly pass through MM_DEBUG
Add memtool module with memory allocation stress-test
ieee1275: request memory with ibm,client-architecture-support
ieee1275: drop len -= 1 quirk in heap_init
ieee1275: support runtime memory claiming
[not for merge] print more debug info in mm
[not for merge] ieee1275 debugging info
RFC: Ignore REGION_CONSECUTIVE

Glenn Washburn (1):
grub-shell: Boot PowerPC using PMU instead of CUDA for power
management

Patrick Steinhardt (6):
mm: Drop unused unloading of modules on OOM
mm: Allow dynamically requesting additional memory regions
efi: mm: Always request a fixed number of pages on init
efi: mm: Extract function to add memory regions
efi: mm: Pass up errors from add_memory_regions ()
efi: mm: Implement runtime addition of pages