Re: [PATCH] ppc/fadump: collect dump if the collected size is lesser than reserved

From: Shivang Upadhyay

Date: Wed Jul 29 2026 - 04:56:12 EST


On Wed, 2026-07-29 at 13:43 +0530, Sourabh Jain wrote:
> > > But the firmware not copying the entire Real Mode memory is also
> > > a
> > > problem for
> > > the kernel, isn't it?
> > >
> > I think it should be fine. Firmware will report it status flags,
> > right?
>
> I don't know. Does PAPR says anything about the error code
> corresponds
> to when memory to not copied completely?

As much as i could search, I didn't see this case metioned there. I
think if, fw is failing to copy full content it should report one of
the below errors.

- copy from [x...x+size] to [y...y+size].
- x + x_i is not valid
- leads to invalid source address.
- y + y+i is not valid
- leads to invalid dest address.


But anyways, As the source/proper description is not available, we
can't prove much here. Would it be appropriate, if I just make this
case for CPU_DATA area?

~Shivang.