[PATCH v9 6/8] of: reserved_mem: add dumpable flag to opt-in vmcore

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Oct 22 01:33:14 PDT 2026


> From: Wandun Chen <chenwandun at lixiang.com>
> 
> Add a 'dumpable' flag to struct reserved_mem to decide whether a
> reserved area should be included in the kdump vmcore. Non-dumpable
> regions are later marked MEMBLOCK_NODUMP; the filtering itself happens
> in memblock, keeping the arch kdump code independent of the DT API.
> 
> Most reserved regions are owned by devices and do not contain data
> useful for kernel crash analysis, so dumpable default to false.
> Reusable CMA regions are different: their pages are handed back to the
> buddy allocator and may contain key data for crash analysis, so set
> dumpable to true in rmem_cma_setup().
> 
> Suggested-by: Rob Herring <robh at kernel.org>
> Signed-off-by: Wandun Chen <chenwandun at lixiang.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261021083011.2170525-1-chenwandun1@gmail.com?part=6




More information about the kexec mailing list