# 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 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/10/17739960
- Thread: https://ratatoskr.run/linuxppc-dev/2026/09/17652434/t.md

```text
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

```
