[PATCH v2 1/2] lmb: remove overlapping region with next range

Tom Rini trini at konsulko.com
Tue Oct 10 14:58:28 CEST 2023


On Tue, Sep 26, 2023 at 04:54:42PM +0530, Udit Kumar wrote:

> In case of new memory range to be added is coalesced
> with any already added non last lmb region.
> 
> And there is possibility that, then region in which new memory
> range added is not adjacent to next region. But have some
> sections are overlapping.
> 
> So along with adjacency check with next lmb region,
> check for overlap should be done.
> 
> In case overlap  is found, adjust and merge these two lmb
> region into one.
> 
> Reported-by: Suman Anna <s-anna at ti.com>
> Signed-off-by: Udit Kumar <u-kumar1 at ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231010/f3fe183f/attachment.sig>


More information about the U-Boot mailing list