mbox series

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

Message ID 20240710210924.817753-1-gregorhaas1997@gmail.com
Headers show
Series lib: sbi: Heap improvements for SMMTT | expand

Message

Gregor Haas July 10, 2024, 9:09 p.m. UTC
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.

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

Comments

Anup Patel Aug. 7, 2024, 6:48 a.m. UTC | #1
On Thu, Jul 11, 2024 at 2:39 AM Gregor Haas <gregorhaas1997@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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi

Regards,
Anup