Re: [PATCH 6.17 000/247] 6.17.9-rc1 review

From: Ronald Warsow

Date: Fri Nov 21 2025 - 09:31:09 EST


Hi

with CONFIG_KEXEC_HANDOVER=n

no regressions here on x86_64 (RKL, Intel 11th Gen. CPU)


but with CONFIG_KEXEC_HANDOVER=y
the compiler runs in an error:

...
from kernel/kexec_handover.c:12:
kernel/kexec_handover.c: In function ‘kho_preserve_phys’:
kernel/kexec_handover.c:732:41: error: ‘nr_pages’ undeclared (first use in this function); did you mean ‘dir_pages’?
732 | nr_pages << PAGE_SHIFT))) {
| ^~~~~~~~
./include/asm-generic/bug.h:123:32: note: in definition of macro ‘WARN_ON’
123 | int __ret_warn_on = !!(condition); \
| ^~~~~~~~~
kernel/kexec_handover.c:732:41: note: each undeclared identifier is reported only once for each function it appears in
732 | nr_pages << PAGE_SHIFT))) {
| ^~~~~~~~
./include/asm-generic/bug.h:123:32: note: in definition of macro ‘WARN_ON’
123 | int __ret_warn_on = !!(condition); \
| ^~~~~~~~~
make[3]: *** [scripts/Makefile.build:287: kernel/kexec_handover.o] Error 1

...
===

I guess one of the four kho:* patches contains the bug

anyway

Thanks

Tested-by: Ronald Warsow <rwarsow@xxxxxx>