Re: [PATCH] powerpc/crash: save cpu register data in crash_smp_send_stop()

2022-06-30 Thread Hari Bathini
Please ignore this thread. Will resend with v2 tag.. On 30/06/22 11:00 am, Hari Bathini wrote: During kdump, two set of NMI IPIs are sent to secondary CPUs, if 'crash_kexec_post_notifiers' option is set. The first set of NMI IPIs to stop the CPUs and the other set to collect register data.

[PATCH] powerpc/crash: save cpu register data in crash_smp_send_stop()

2022-06-29 Thread Hari Bathini
During kdump, two set of NMI IPIs are sent to secondary CPUs, if 'crash_kexec_post_notifiers' option is set. The first set of NMI IPIs to stop the CPUs and the other set to collect register data. Instead, capture register data for secondary CPUs while stopping them itself. Also, fallback to

Re: [PATCH] powerpc/crash: save cpu register data in crash_smp_send_stop()

2022-05-24 Thread Hari Bathini
Hi Nick, Thanks for the review.. On 10/05/22 2:31 pm, Nicholas Piggin wrote: Excerpts from Hari Bathini's message of May 7, 2022 2:39 am: Capture register data for secondary CPUs in crash_smp_send_stop() instead of doing it much later in crash_kexec_prepare_cpus() function with another set of

Re: [PATCH] powerpc/crash: save cpu register data in crash_smp_send_stop()

2022-05-10 Thread Nicholas Piggin
Excerpts from Hari Bathini's message of May 7, 2022 2:39 am: > Capture register data for secondary CPUs in crash_smp_send_stop() > instead of doing it much later in crash_kexec_prepare_cpus() function > with another set of NMI IPIs to secondary CPUs. This change avoids > unnecessarily tricky post

[PATCH] powerpc/crash: save cpu register data in crash_smp_send_stop()

2022-05-06 Thread Hari Bathini
Capture register data for secondary CPUs in crash_smp_send_stop() instead of doing it much later in crash_kexec_prepare_cpus() function with another set of NMI IPIs to secondary CPUs. This change avoids unnecessarily tricky post processing of data to get the right backtrace for these CPUs.