From mboxrd@z Thu Jan 1 00:00:00 1970 From: Inochi Amaoto Date: Mon, 16 Sep 2024 15:24:04 +0800 Subject: [PATCH 0/2] platform: improve heap size handle Message-ID: <20240916072405.628158-1-inochiama@gmail.com> List-Id: To: opensbi@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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