Re: [PATCH] powerpc/kexec_file: Use inclusive range checks for excluded memory

From
Madhavan Srinivasan <maddy@linux.ibm.com>
Date
2026-09-09 06:19:32
Also in
lkml
Reply to
Thorsten Blum, 2026-08-10
On Mon, 10 Aug 2026 16:58:27 +0200, Thorsten Blum wrote:
arch_check_excluded_range() checks if a kexec segment overlaps an
excluded memory range.

Both ranges use inclusive end addresses, but the overlap check uses
exclusive comparisons. This skips ranges with start == ->ranges[i].end
or end == ->ranges[i].start. Use inclusive comparisons instead.

[...]
Applied to powerpc/fixes.

[1/1] powerpc/kexec_file: Use inclusive range checks for excluded memory
      https://git.kernel.org/powerpc/c/449f60f99f8f3cbe80a9bd2242945e827c5ed003

cheers
Thread (3 messages) 3 messages, 3 authors, last reply 2026-09-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help