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

Shivang Upadhyay <[email protected]>
Newsgroups gmane.linux.ports.ppc.embedded,gmane.linux.kernel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.