Re: [PATCH v5] ppc/fadump: collect dump when CPU_STATE_DATA is less than reserved

From
Madhavan Srinivasan <maddy@linux.ibm.com>
Date
2026-10-14 09:15:24
Also in
lkml
Reply to
Shivang Upadhyay, 2026-09-28
On Mon, 28 Sep 2026 15:46:46 +0530, Shivang Upadhyay wrote:
During Fadump in Qemu VM, when maxcpus value is set to more than current
cpus, following failure is observed.

    [    0.045806] [      T1] rtas fadump: Dump taken by platform is
        incomplete (0)

This is because the CPU_STATE_DATA is allocated for maxcpus, while the
data is only filled for current cpus. As per current implementation
of Fadump, dumped_bytes and source_len for a region have to match,
Which is failing for qemu's case, Even tough the dumped bytes are
reported correctly for only the current cpus. After this /proc/vmcore
generatition also fails.

[...]
Applied to powerpc/next.

[1/1] ppc/fadump: collect dump when CPU_STATE_DATA is less than reserved
      https://git.kernel.org/powerpc/c/b3d75e2bc299a759de2fd11649c7ed275b1b2067

cheers
Thread (2 messages) 2 messages, 2 authors, last reply 2026-10-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help