Re: [PATCHv3 1/2] kernel/kexec: Change the prototype of kimage_map_segment()

From: Baoquan He

Date: Sun Dec 21 2025 - 21:10:06 EST


On 12/16/25 at 09:48am, Pingfan Liu wrote:
> The kexec segment index will be required to extract the corresponding
> information for that segment in kimage_map_segment(). Additionally,
> kexec_segment already holds the kexec relocation destination address and
> size. Therefore, the prototype of kimage_map_segment() can be changed.
>
> Fixes: 07d24902977e ("kexec: enable CMA based contiguous allocation")
> Signed-off-by: Pingfan Liu <piliu@xxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Baoquan He <bhe@xxxxxxxxxx>
> Cc: Mimi Zohar <zohar@xxxxxxxxxxxxx>
> Cc: Roberto Sassu <roberto.sassu@xxxxxxxxxx>
> Cc: Alexander Graf <graf@xxxxxxxxxx>
> Cc: Steven Chen <chenste@xxxxxxxxxxxxxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Cc: <stable@xxxxxxxxxxxxxxx>
> To: kexec@xxxxxxxxxxxxxxxxxxx
> To: linux-integrity@xxxxxxxxxxxxxxx
> ---
> include/linux/kexec.h | 4 ++--
> kernel/kexec_core.c | 9 ++++++---
> security/integrity/ima/ima_kexec.c | 4 +---
> 3 files changed, 9 insertions(+), 8 deletions(-)

Ack the series:

Acked-by: Baoquan He <bhe@xxxxxxxxxx>