public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/2] lmb: remove overlapping region with next range
@ 2023-09-26 11:24 Udit Kumar
  2023-09-26 11:24 ` [PATCH v2 1/2] " Udit Kumar
  2023-09-26 11:24 ` [PATCH v2 2/2] test: lmb: Add test for coalescing and overlap range Udit Kumar
  0 siblings, 2 replies; 6+ messages in thread
From: Udit Kumar @ 2023-09-26 11:24 UTC (permalink / raw)
  To: nm, vigneshr, patrick.delaunay, sjoerd, sjg, trini
  Cc: u-boot, xypron.glpk, michal.simek, dsankouski, kettenis,
	sumit.garg, sam.shih, mark.kettenis, sjg, Udit Kumar

In case, newly address range to be added is coalescing with some region
but also overlapping with next region.
In such, case overlapped region was getting created.
This patch series, detect such overlap and coalescing such region as one

Change logs:
test logs
https://gist.github.com/uditkumarti/7be37a662fabfcfefb74d1a67ccde2bd

Changes in v2:
Patch 1/2: Corrected typo
Patch 2/2 : Added test case as suggested by Simon
Link to v1:
https://lore.kernel.org/all/20230924111832.3741245-1-u-kumar1@ti.com/#t

Udit Kumar (2):
  lmb: remove overlapping region with next range
  test: lmb: Added test case for coaleacse with first and overlap with
    Second

 lib/lmb.c      | 37 +++++++++++++++++++++++++++++++++----
 test/lib/lmb.c | 13 ++++++++++++-
 2 files changed, 45 insertions(+), 5 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-10-10 13:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-26 11:24 [PATCH v2 0/2] lmb: remove overlapping region with next range Udit Kumar
2023-09-26 11:24 ` [PATCH v2 1/2] " Udit Kumar
2023-10-10 12:58   ` Tom Rini
2023-09-26 11:24 ` [PATCH v2 2/2] test: lmb: Add test for coalescing and overlap range Udit Kumar
2023-09-26 14:16   ` Simon Glass
2023-10-10 12:58   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox