[PATCH] powerpc: add `cur_cpu_spec` symbol to vmcoreinfo

Michael Ellerman patch-notifications at ellerman.id.au
Thu Sep 21 19:30:00 AEST 2023


On Mon, 11 Sep 2023 14:44:09 +0530, Aditya Gupta wrote:
> Presently, while reading a vmcore, makedumpfile uses
> `cur_cpu_spec.mmu_features` to decide whether the crashed system had
> RADIX MMU or not.
> 
> Currently, makedumpfile fails to get the `cur_cpu_spec` symbol (unless
> a vmlinux is passed with the `-x` flag to makedumpfile), and hence
> assigns offsets and shifts (such as pgd_offset_l4) incorrecly considering
> MMU to be hash MMU.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc: add `cur_cpu_spec` symbol to vmcoreinfo
      https://git.kernel.org/powerpc/c/7135b921b32966d7602ede396b7286d372aee63f

cheers


More information about the Linuxppc-dev mailing list