Skip to content

lib: sbi: Heap improvements for SMMTT

Gregor Haas opensbi 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v33 patches 0 repliesSuperseded
  3. v22 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches0 repliesSuperseded

Changes in v4 from the cover letter

- Rename sbi_memalign{_from} -> sbi_aligned_alloc{_from}
- Miscellaneous code format changes

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib: sbi: Support multiple heapsinclude/sbi/sbi_heap.h lib/sbi/sbi_heap.c+119 -600 replies
2/3lib: sbi: Allocate from beginning of heap blockslib/sbi/sbi_heap.c+2 -10 replies
3/3lib: sbi: Implement aligned memory allocatorsinclude/sbi/sbi_heap.h lib/sbi/sbi_heap.c+78 -61 reply

Reviews trailers per patch

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

PatchAnup Patel
1/3R-b
2/3R-b
3/3R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/3] lib: sbi: Heap improvements for SMMTT

This patch series includes two changes to the SBI heap implementation, primarily to enable future work on the SMMTT implementation. First, it enables allocations from multiple independent heaps on separate memory regions. Then, it adds a simple implementation for sbi_memalign for use in allocating aligned memory.

See the individual commit messages in this series for more technical details.

v4:
- Rename sbi_memalign{_from} -> sbi_aligned_alloc{_from}
- Miscellaneous code format changes

v3:
- Add missing Signed-off-by lines
- Rename struct heap_control -> struct sbi_heap_control
- Make various functions static inline in sbi_heap.h
- Fix previously incorrect sbi_memalign() implementation

Gregor Haas (3):
lib: sbi: Support multiple heaps
lib: sbi: Allocate from beginning of heap blocks
lib: sbi: Implement aligned memory allocators

 include/sbi/sbi_heap.h |  66 +++++++++++--
 lib/sbi/sbi_heap.c     | 204 +++++++++++++++++++++++++++++------------
 2 files changed, 204 insertions(+), 66 deletions(-)
Signature · 1 line
2.45.2