[PATCH v2] kexec_file: skip checksum verification when safe

Pasha Tatashin pasha.tatashin at soleen.com
Tue Jun 2 21:02:38 PDT 2026


On Tue, 02 Jun 2026 14:33:11 +0200, Michal Clapinski wrote:
> Checksum verification is needed
> 1. for crash kernels. In a crash, we can't be sure the kernel is
>    intact.
> 2. if we're worried about relocating the kernel into a region used by
>    some DMA that wasn't properly cancelled.
> 
> If KHO is enabled then relocations will happen to KHO scratch, which
> is free from DMA regions.
> If we used CMA to allocate segments then relocations are not going to
> happen at all.
> Therefore, we can safely disable checksum verification in both of those
> cases.
> 
> [...]

Applied, thanks!

[1/1] kexec_file: skip checksum verification when safe
      commit: 459a08d029bf6f026b25063708a63bdaa8ccc0b1

Best regards,
-- 
Pasha Tatashin <pasha.tatashin at soleen.com>



More information about the kexec mailing list