Thread (14 messages) 14 messages, 5 authors, 2023-09-22

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

From: Aditya Gupta <hidden>
Date: 2023-09-22 08:38:24

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:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help