OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] platform: improve heap size handle
@ 2024-09-16  7:24 Inochi Amaoto
  2024-09-16  7:25 ` [PATCH 1/2] platform: ensure enough heap size with debug triggers extension Inochi Amaoto
  2024-09-16  7:25 ` [PATCH 2/2] platform: introduce DT-based configurable heap size Inochi Amaoto
  0 siblings, 2 replies; 6+ messages in thread
From: Inochi Amaoto @ 2024-09-16  7:24 UTC (permalink / raw)
  To: opensbi

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.

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.46.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-09-20  7:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-16  7:24 [PATCH 0/2] platform: improve heap size handle Inochi Amaoto
2024-09-16  7:25 ` [PATCH 1/2] platform: ensure enough heap size with debug triggers extension Inochi Amaoto
2024-09-20  5:33   ` Xiang W
2024-09-16  7:25 ` [PATCH 2/2] platform: introduce DT-based configurable heap size Inochi Amaoto
2024-09-20  5:33   ` Xiang W
2024-09-20  7:40     ` Inochi Amaoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox