Re: [PATCH v4 07/10] of: reserved_mem: add kdump helpers to exclude non-dumpable regions
Pratyush Yadav <[email protected]>
| Newsgroups | org.infradead.lists.kexec,dev.linux.lists.iommu,dev.linux.lists.loongarch,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-riscv,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jun 30 2026, Wandun Chen wrote: > From: Wandun Chen <[email protected]> > > Add two helpers to exclude non-dumpable regions for arch-specific > code. > > - of_reserved_mem_kdump_nr_ranges() returns the count of regions > that are not dumpable. Each excluded region may split an existing > crash_mem range into two, so callers use this to calculate > crash_mem allocation size. > > - of_reserved_mem_kdump_exclude() walks reserved_mem[] and calls > crash_exclude_mem_range() for every non-dumpable region. > > Signed-off-by: Wandun Chen <[email protected]> > Tested-by: Meijing Zhao <[email protected]> Acked-by: Pratyush Yadav <[email protected]> [...] -- Regards, Pratyush Yadav