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

Pratyush Yadav pratyush at kernel.org
Tue Jun 30 04:06:40 PDT 2026


On Tue, Jun 30 2026, Wandun Chen wrote:

> From: Wandun Chen <chenwandun at lixiang.com>
>
> Reserved memory regions are excluded from vmcore by default unless
> marked dumpable. Honor the dumpable flag to filter out device firmware
> regions (e.g., GPU, DSP, modem) reserved via device tree, since they
> typically contain data not useful for kernel crash analysis and can
> significantly increase vmcore size.
>
> Use of_reserved_mem_kdump_exclude() to perform the exclusion, and
> pre-size the crash_mem array via of_reserved_mem_kdump_nr_ranges().
>
> Signed-off-by: Wandun Chen <chenwandun at lixiang.com>
> Tested-by: Meijing Zhao <zhaomeijing at lixiang.com>
> Acked-by: Will Deacon <will at kernel.org>

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

[...]

-- 
Regards,
Pratyush Yadav



More information about the linux-arm-kernel mailing list