Re: [PATCH] ppc/fadump: collect dump if the collected size is lesser than reserved
Shivang Upadhyay <[email protected]> Wed, 29 Jul 2026 13:59:49 +0530
| Newsgroups | org.ozlabs.lists.linuxppc-dev,org.kernel.vger.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.