[PATCH v4 10/10] loongarch: kdump: exclude non-dumpable reserved memory regions from vmcore

Pratyush Yadav pratyush at kernel.org
Tue Jun 30 04:13:22 PDT 2026


On Tue, Jun 30 2026, Wandun Chen wrote:

> From: Wandun Chen <chenwandun at lixiang.com>
>
> Apply the same non-dumpable reserved memory filtering to LoongArch
> kdump as was done for arm64. Use of_reserved_mem_kdump_exclude() to
> drop flagged regions from the elfcorehdr PT_LOAD segments, and
> of_reserved_mem_kdump_nr_ranges() to pre-size the crash_mem array.
>
> Signed-off-by: Wandun Chen <chenwandun at lixiang.com>

Acked-by: Pratyush Yadav <pratyush at kernel.org>

[...]

-- 
Regards,
Pratyush Yadav



More information about the linux-arm-kernel mailing list