All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sourabh Jain <sourabhjain@linux.ibm.com>
To: Laurent Dufour <ldufour@linux.ibm.com>,
	linuxppc-dev@ozlabs.org, mpe@ellerman.id.au
Cc: mahesh@linux.vnet.ibm.com, eric.devolder@oracle.com,
	kexec@lists.infradead.org, hbathini@linux.ibm.com,
	bhe@redhat.com
Subject: Re: [RFC v4 PATCH 2/5] powerpc/crash hp: introduce a new config option CRASH_HOTPLUG
Date: Tue, 19 Apr 2022 13:50:27 +0530	[thread overview]
Message-ID: <fbdea21b-5315-b334-da83-16c439d972d5@linux.ibm.com> (raw)
In-Reply-To: <bb14b849-0fbb-072e-bb26-266da0756e17@linux.ibm.com>


On 14/04/22 22:10, Laurent Dufour wrote:
> On 11/04/2022, 10:43:54, Sourabh Jain wrote:
>> The option CRASH_HOTPLUG enables, in kernel update to kexec segments on
>> hotplug events.
>>
>> All the updates needed on the capture kernel load path in the kernel for
>> both kexec_load and kexec_file_load system will be kept under this config.
>>
>> Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
>> Reviewed-by: Eric DeVolder <eric.devolder@oracle.com>
> Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com>

Thanks for the review.

- Sourabh Jain

>
>> ---
>>   arch/powerpc/Kconfig | 11 +++++++++++
>>   1 file changed, 11 insertions(+)
>>
>> diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
>> index b779603978e1..777db33f75b5 100644
>> --- a/arch/powerpc/Kconfig
>> +++ b/arch/powerpc/Kconfig
>> @@ -623,6 +623,17 @@ config FA_DUMP
>>   	  If unsure, say "y". Only special kernels like petitboot may
>>   	  need to say "N" here.
>>   
>> +config CRASH_HOTPLUG
>> +	bool "kernel updates of crash kexec segments"
>> +	depends on CRASH_DUMP && (HOTPLUG_CPU) && KEXEC_FILE
>> +	help
>> +	  An efficient way to keep the capture kernel up-to-date with CPU
>> +	  hotplug events. On CPU hotplug event the kexec segments of capture
>> +	  kernel becomes stale and need to be updated with latest CPU data.
>> +	  In this method the kernel performs minimal update to only relevant
>> +	  kexec segments on CPU hotplug event, instead of triggering full
>> +	  capture kernel reload from userspace using udev rule.
>> +
>>   config PRESERVE_FA_DUMP
>>   	bool "Preserve Firmware-assisted dump"
>>   	depends on PPC64 && PPC_POWERNV && !FA_DUMP

WARNING: multiple messages have this Message-ID (diff)
From: Sourabh Jain <sourabhjain@linux.ibm.com>
To: kexec@lists.infradead.org
Subject: [RFC v4 PATCH 2/5] powerpc/crash hp: introduce a new config option CRASH_HOTPLUG
Date: Tue, 19 Apr 2022 13:50:27 +0530	[thread overview]
Message-ID: <fbdea21b-5315-b334-da83-16c439d972d5@linux.ibm.com> (raw)
In-Reply-To: <bb14b849-0fbb-072e-bb26-266da0756e17@linux.ibm.com>


On 14/04/22 22:10, Laurent Dufour wrote:
> On 11/04/2022, 10:43:54, Sourabh Jain wrote:
>> The option CRASH_HOTPLUG enables, in kernel update to kexec segments on
>> hotplug events.
>>
>> All the updates needed on the capture kernel load path in the kernel for
>> both kexec_load and kexec_file_load system will be kept under this config.
>>
>> Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
>> Reviewed-by: Eric DeVolder <eric.devolder@oracle.com>
> Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com>

Thanks for the review.

- Sourabh Jain

>
>> ---
>>   arch/powerpc/Kconfig | 11 +++++++++++
>>   1 file changed, 11 insertions(+)
>>
>> diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
>> index b779603978e1..777db33f75b5 100644
>> --- a/arch/powerpc/Kconfig
>> +++ b/arch/powerpc/Kconfig
>> @@ -623,6 +623,17 @@ config FA_DUMP
>>   	  If unsure, say "y". Only special kernels like petitboot may
>>   	  need to say "N" here.
>>   
>> +config CRASH_HOTPLUG
>> +	bool "kernel updates of crash kexec segments"
>> +	depends on CRASH_DUMP && (HOTPLUG_CPU) && KEXEC_FILE
>> +	help
>> +	  An efficient way to keep the capture kernel up-to-date with CPU
>> +	  hotplug events. On CPU hotplug event the kexec segments of capture
>> +	  kernel becomes stale and need to be updated with latest CPU data.
>> +	  In this method the kernel performs minimal update to only relevant
>> +	  kexec segments on CPU hotplug event, instead of triggering full
>> +	  capture kernel reload from userspace using udev rule.
>> +
>>   config PRESERVE_FA_DUMP
>>   	bool "Preserve Firmware-assisted dump"
>>   	depends on PPC64 && PPC_POWERNV && !FA_DUMP


  reply	other threads:[~2022-04-19  8:21 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11  8:43 [RFC v4 PATCH 0/5] In kernel handling of CPU hotplug events for crash kernel Sourabh Jain
2022-04-11  8:43 ` Sourabh Jain
2022-04-11  8:43 ` [RFC v4 PATCH 1/5] powerpc/kexec: make update_cpus_node non-static Sourabh Jain
2022-04-11  8:43   ` Sourabh Jain
2022-04-11  8:43 ` [RFC v4 PATCH 2/5] powerpc/crash hp: introduce a new config option CRASH_HOTPLUG Sourabh Jain
2022-04-11  8:43   ` Sourabh Jain
2022-04-14 16:40   ` Laurent Dufour
2022-04-14 16:40     ` Laurent Dufour
2022-04-19  8:20     ` Sourabh Jain [this message]
2022-04-19  8:20       ` Sourabh Jain
2022-04-21 11:34   ` Michael Ellerman
2022-04-21 11:34     ` Michael Ellerman
2022-04-21 15:29     ` Eric DeVolder
2022-04-21 15:29       ` Eric DeVolder
2022-04-22  4:22       ` Michael Ellerman
2022-04-22  4:22         ` Michael Ellerman
2022-04-26  4:10       ` Sourabh Jain
2022-04-26  4:10         ` Sourabh Jain
2022-04-26  3:47     ` Sourabh Jain
2022-04-26  3:47       ` Sourabh Jain
2022-04-11  8:43 ` [RFC v4 PATCH 3/5] powrepc/crash hp: update kimage_arch struct Sourabh Jain
2022-04-11  8:43   ` Sourabh Jain
2022-04-14 16:35   ` Laurent Dufour
2022-04-14 16:35     ` Laurent Dufour
2022-04-19  8:21     ` Sourabh Jain
2022-04-19  8:21       ` Sourabh Jain
2022-04-11  8:43 ` [RFC v4 PATCH 4/5] powerpc/crash hp: add crash hotplug support for kexec_file_load Sourabh Jain
2022-04-11  8:43   ` Sourabh Jain
2022-04-14 16:32   ` Laurent Dufour
2022-04-14 16:32     ` Laurent Dufour
2022-04-19  8:31     ` Sourabh Jain
2022-04-19  8:31       ` Sourabh Jain
2022-04-21 15:33       ` Eric DeVolder
2022-04-21 15:33         ` Eric DeVolder
2022-04-11  8:43 ` [RFC v4 PATCH 5/5] powerpc/crash hp: add crash hotplug support for kexec_load Sourabh Jain
2022-04-11  8:43   ` Sourabh Jain
2022-04-14 16:39   ` Laurent Dufour
2022-04-14 16:39     ` Laurent Dufour

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=fbdea21b-5315-b334-da83-16c439d972d5@linux.ibm.com \
    --to=sourabhjain@linux.ibm.com \
    --cc=bhe@redhat.com \
    --cc=eric.devolder@oracle.com \
    --cc=hbathini@linux.ibm.com \
    --cc=kexec@lists.infradead.org \
    --cc=ldufour@linux.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mahesh@linux.vnet.ibm.com \
    --cc=mpe@ellerman.id.au \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.