Thread (10 messages) flat view 10 messages, 2 authors, 9d ago

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

From: Shivang Upadhyay <hidden>
Date: 2026-07-29 08:30:10
Also in: lkml

On Wed, 2026-07-29 at 13:43 +0530, Sourabh Jain wrote:
quoted
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help