• H
    powerpc/kdump: Adding symbols in vmcoreinfo to facilitate dump filtering · 8ff81271
    Hari Bathini 提交于
    When CONFIG_SPARSEMEM_VMEMMAP option is used in kernel, makedumpfile fails
    to filter vmcore dump as it fails to do vmemmap translations. So far
    dump filtering on ppc64 never had to deal with vmemmap addresses seperately
    as vmemmap regions where mapped in zone normal. But with the inclusion of
    CONFIG_SPARSEMEM_VMEMMAP config option in kernel, this vmemmap address
    translation support becomes necessary for dump filtering. For vmemmap adress
    translation, few kernel symbols are needed by dump filtering tool. This patch
    adds those symbols to vmcoreinfo, which a dump filtering tool can use for
    filtering the kernel dump. Tested this changes successfully with makedumpfile
    tool that supports vmemmap to physical address translation outside zone normal.
    
    [ Removed unneeded #ifdef as suggested by Michael Ellerman --BenH ]
    Signed-off-by: NHari Bathini <hbathini@linux.vnet.ibm.com>
    Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
    8ff81271
pgalloc-64.h 6.5 KB