Thread (14 messages) 14 messages, 2 authors, 2023-01-23

Re: [PATCH v7 4/8] crash: add phdr for possible CPUs in elfcorehdr

From: Sourabh Jain <hidden>
Date: 2023-01-23 05:28:45

On 20/01/23 17:09, Laurent Dufour wrote:
On 19/01/2023 19:29:52, Laurent Dufour wrote:
quoted
On 15/01/2023 16:02:02, Sourabh Jain wrote:
quoted
On architectures like PowerPC the crash notes are available for all
possible CPUs. So let's populate the elfcorehdr for all possible
CPUs having crash notes to avoid updating elfcorehdr during in-kernel
crash update on CPU hotplug events.

The similar technique is used in kexec-tool for kexec_load case.

Signed-off-by: Sourabh Jain <redacted>
---
  kernel/crash_core.c | 9 ++++++---
  1 file changed, 6 insertions(+), 3 deletions(-)
This patch is not applying on ppc/next (53ab112a9508).

As far as I could see, crash_prepare_elf64_headers() is defined in the file
kernel/kexec_file.c and that's not recent, see babac4a84a88 (kexec_file,
x86: move re-factored code to generic side, 2018-04-13)

Am I missing something?
My mistake, sounds that your series is based on top of the Eric's one (not yet upstream):

https://lore.kernel.org/lkml/20230118213544.2128-1-eric.devolder@oracle.com/ (local)
Yes this patch series is dependent on the above patch series. In the 
next version I will
share a git repo link that will have this patch series applied along 
with dependent
patch series for easy try.

- Sourabh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help