Thread (5 messages) 5 messages, 3 authors, 28d ago

Re: [PATCH] powerpc/kexec_file: Use inclusive range checks in add_usable_mem()

flat view

From: Madhavan Srinivasan <maddy@linux.ibm.com>
Date: 2026-09-09 06:19:48
Also in: lkml

On Sun, 09 Aug 2026 18:24:01 +0200, Thorsten Blum wrote:
add_usable_mem() adds usable memory ranges for the kdump kernel.

The ranges are inclusive, but the partial overlap check uses exclusive
comparisons. This skips ranges with base == loc_end or end == loc_base.
Use inclusive comparisons instead.


[...]
Applied to powerpc/fixes.

[1/1] powerpc/kexec_file: Use inclusive range checks in add_usable_mem()
      https://git.kernel.org/powerpc/c/c6755be4838d6ccd641effbcdc3d917b82631ff9

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help