Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sourabh Jain <sourabhjain@linux.ibm.com>
To: Hari Bathini <hbathini@linux.ibm.com>, kexec@lists.infradead.org
Cc: Aditya Gupta <adityag@linux.ibm.com>, Baoquan He <bhe@redhat.com>,
	Coiby Xu <coxu@redhat.com>,
	Mahesh Salgaonkar <mahesh@linux.ibm.com>,
	Simon Horman <horms@kernel.org>
Subject: Re: [PATCH v2 2/3] powerpc/kexec_load: add hotplug support
Date: Wed, 26 Jun 2024 16:37:15 +0530	[thread overview]
Message-ID: <708691c8-7856-4ba8-b339-3aee7d3180a5@linux.ibm.com> (raw)
In-Reply-To: <e7b302a8-65ff-4fe6-9fee-d086e82f136d@linux.ibm.com>



On 26/06/24 15:37, Hari Bathini wrote:
>
>
> On 14/06/24 12:37 am, Sourabh Jain wrote:
>> Kernel commits b741092d5976 ("powerpc/crash: add crash CPU hotplug
>> support") and 849599b702ef ("powerpc/crash: add crash memory hotplug
>> support") added crash CPU/Memory hotplug support on PowerPC. This patch
>> extends that support for the kexec_load syscall.
>>
>> During CPU/Memory hotplug events on PowerPC, two kexec segments,
>> elfcorehdr, and FDT, get updated by the kernel. To ensure the kernel
>> can safely update these two kexec segments for the kdump image loaded
>> using the kexec_load system call, the following changes are made:
>>
>> 1. Extra size is allocated for both elfcorehdr and FDT to accommodate
>>     additional resources in the future. For the elfcorehdr, the size 
>> hint
>>     is taken from /sys/kernel/crash_elfcorehdr_size sysfs, while for 
>> FDT,
>>     extra size is allocated to hold possible CPU nodes.
>>
>> 2. Both elfcorehdr and FDT are skipped from SHA calculation.
>>
>> Cc: Aditya Gupta <adityag@linux.ibm.com>
>> Cc: Baoquan He <bhe@redhat.com>
>> Cc: Coiby Xu <coxu@redhat.com>
>> Cc: Hari Bathini <hbathini@linux.ibm.com>
>> Cc: Mahesh Salgaonkar <mahesh@linux.ibm.com>
>> Cc: Simon Horman <horms@kernel.org>
>
> LGTM.
>
> Acked-by: Hari Bathini <hbathini@linux.ibm.com>


Thanks Hari !

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  reply	other threads:[~2024-06-26 11:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13 19:07 [PATCH v2 1/3] kexec_load: Use new kexec flag for hotplug support Sourabh Jain
2024-06-13 19:07 ` [PATCH v2 2/3] powerpc/kexec_load: add " Sourabh Jain
2024-06-26 10:07   ` Hari Bathini
2024-06-26 11:07     ` Sourabh Jain [this message]
2024-06-13 19:07 ` [PATCH v2 3/3] doc/hotplug: update man and --help Sourabh Jain
2024-06-26 10:21   ` Hari Bathini
2024-06-26 11:08     ` Sourabh Jain
2024-06-25  8:21 ` [PATCH v2 1/3] kexec_load: Use new kexec flag for hotplug support Sourabh Jain
2024-06-26  3:50   ` Baoquan He
2024-06-26  4:07     ` Sourabh Jain
2024-06-26  5:19     ` Sourabh Jain
2024-06-26  6:54       ` Baoquan He

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=708691c8-7856-4ba8-b339-3aee7d3180a5@linux.ibm.com \
    --to=sourabhjain@linux.ibm.com \
    --cc=adityag@linux.ibm.com \
    --cc=bhe@redhat.com \
    --cc=coxu@redhat.com \
    --cc=hbathini@linux.ibm.com \
    --cc=horms@kernel.org \
    --cc=kexec@lists.infradead.org \
    --cc=mahesh@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox