[PATCH v7 4/8] crash: add phdr for possible CPUs in elfcorehdr
Sourabh Jain
sourabhjain at linux.ibm.com
Mon Jan 23 16:27:40 AEDT 2023
On 20/01/23 17:09, Laurent Dufour wrote:
> On 19/01/2023 19:29:52, Laurent Dufour wrote:
>> On 15/01/2023 16:02:02, Sourabh Jain wrote:
>>> 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 <sourabhjain at linux.ibm.com>
>>> ---
>>> 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/
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
More information about the Linuxppc-dev
mailing list