Hi,

On Sun, 10 Nov 2024 at 23:56, Janne Grunau via B4 Relay
<[email protected]> wrote:
>
> From: Janne Grunau <[email protected]>
>
> These functions can be used with struct lmb pointers and will be used to
> manage IOVA space in the apple_dart iommu driver. This restores part of
> the pointer base struct lmb API from before commit ed17a33fed29 ("lmb:
> make LMB memory map persistent and global").
> io_lmb_add() and io_lmb_free() can trivially reuse exisiting lmb
> functions. io_lmb_setup() is separate for unique error log messages.
> io_lmb_alloc() is a simplified copy of _lmb_alloc_base() since the
> later has unused features and internal use of the global LMB memory map.
>
> Signed-off-by: Janne Grunau <[email protected]>
> ---
>  include/lmb.h | 51 +++++++++++++++++++++++++++++++++++++
>  lib/lmb.c     | 80 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 131 insertions(+)

This lmb wrong-direction is really getting out of control, IMO. I hope
we can resolve this before too long.

Regards,
Simon

Reply via email to