Thread (42 messages) 42 messages, 5 authors, 22d ago

Re: [PATCH v6 08/10] of: reserved_mem: mark /reserved-memory entries with MEMBLOCK_NODUMP

flat view

From: "Rob Herring (Arm)" <robh@kernel.org>
Date: 2026-09-17 21:56:58
Also in: kexec, linux-devicetree, linux-iommu, linux-mm, linux-riscv, lkml, loongarch

On Wed, 02 Sep 2026 15:31:14 +0800, Wandun Chen wrote:
From: Wandun Chen <redacted>

Mark non-dumpable reserved-memory regions with MEMBLOCK_NODUMP so
kdump can omit them from the vmcore.

The marking is guarded by CONFIG_CRASH_DUMP so non-kdump kernels do not
pay the cost of splitting memblock.memory entries at NODUMP boundaries.

Signed-off-by: Wandun Chen <redacted>
Tested-by: Meijing Zhao <redacted>
---
 drivers/of/fdt.c             |  1 +
 drivers/of/of_private.h      |  1 +
 drivers/of/of_reserved_mem.c | 15 +++++++++++++++
 3 files changed, 17 insertions(+)
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help