Skip to content

platform: improve heap size handle

Inochi Amaoto opensbi 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

1. change the heap size formula, now it requires less ram
2. change the description in the document

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform: ensure enough heap size with debug triggers extensioninclude/sbi/sbi_platform.h+1 -11 reply
2/2platform: introduce DT-based configurable heap sizedocs/opensbi_config.md platform/generic/platform.c+29 -31 reply

Reviews trailers per patch

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

PatchXiang WAnup Patel
1/2R-b R-b
2/2R-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 0/2] platform: improve heap size handle

This patch is split into two parts:

1. the first part is used to adjust the default heap size and make it more driven by the CPU as most allocation is percpu. I think this could reduce the further enlarge for the default heap size.

2. the second part is introduce a DT-based "heap-size", so the platform can set the suitable heap-size. This is serve as a more generic solution for some platform.

Changed from v2:
1. change the heap size formula, now it requires less ram
2. change the description in the document

Changed from v1:
1. add forgot BIT_ALIGN when processing DT-based "heap-size".

Inochi Amaoto (2):
platform: ensure enough heap size with debug triggers extension
platform: introduce DT-based configurable heap size

 docs/opensbi_config.md      |  4 ++++
 include/sbi/sbi_platform.h  |  2 +-
 platform/generic/platform.c | 28 +++++++++++++++++++++++++---
 3 files changed, 30 insertions(+), 4 deletions(-)

--
2.47.0