[PATCH v2 0/2] lib: sbi: Heap improvements for SMMTT

Anup Patel anup at brainfault.org
Tue Aug 6 23:48:44 PDT 2024


On Thu, Jul 11, 2024 at 2:39 AM Gregor Haas <gregorhaas1997 at gmail.com> wrote:
>
> 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.

This is useful for managing RAS CPER record memory as well.

>
> See the individual commit messages in this series for more technical details.
>
> Gregor Haas (2):
>   lib: sbi: Support multiple heaps
>   lib: sbi: Implement aligned memory allocators
>
>  include/sbi/sbi_heap.h |  23 ++++++
>  lib/sbi/sbi_heap.c     | 181 +++++++++++++++++++++++++++++------------
>  2 files changed, 151 insertions(+), 53 deletions(-)
>
> --
> 2.45.2
>
>
> --
> opensbi mailing list
> opensbi at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi

Regards,
Anup



More information about the opensbi mailing list