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

Aditya Gupta adityag at linux.ibm.com
Fri Sep 22 18:24:32 AEST 2023


On Thu, Sep 21, 2023 at 07:30:00PM +1000, Michael Ellerman wrote:
> 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

Thanks for the update


More information about the Linuxppc-dev mailing list