Re: [PATCH v2] arm64: kdump: Avoid to power off nonpanic CPUs

2017-11-30 Thread Mathieu Poirier
On 29 November 2017 at 09:02, James Morse wrote: > Hi Mathieu, > > On 21/11/17 19:06, Mathieu Poirier wrote: >> On 21 November 2017 at 09:47, James Morse wrote: >>> On 18/11/17 09:12, Leo Yan wrote: The upper patch has no issue if enabled crash dump

Re: [PATCH v2] arm64: kdump: Avoid to power off nonpanic CPUs

2017-11-30 Thread Mathieu Poirier
On 29 November 2017 at 09:02, James Morse wrote: > Hi Mathieu, > > On 21/11/17 19:06, Mathieu Poirier wrote: >> On 21 November 2017 at 09:47, James Morse wrote: >>> On 18/11/17 09:12, Leo Yan wrote: The upper patch has no issue if enabled crash dump only; but if enabled crash dump and

Re: [PATCH v2] arm64: kdump: Avoid to power off nonpanic CPUs

2017-11-29 Thread James Morse
Hi Mathieu, On 21/11/17 19:06, Mathieu Poirier wrote: > On 21 November 2017 at 09:47, James Morse wrote: >> On 18/11/17 09:12, Leo Yan wrote: >>> The upper patch has no issue if enabled crash dump only; but if enabled >>> crash dump and Coresight debug module for panic

Re: [PATCH v2] arm64: kdump: Avoid to power off nonpanic CPUs

2017-11-29 Thread James Morse
Hi Mathieu, On 21/11/17 19:06, Mathieu Poirier wrote: > On 21 November 2017 at 09:47, James Morse wrote: >> On 18/11/17 09:12, Leo Yan wrote: >>> The upper patch has no issue if enabled crash dump only; but if enabled >>> crash dump and Coresight debug module for panic dumping at the meantime,

Re: [PATCH v2] arm64: kdump: Avoid to power off nonpanic CPUs

2017-11-21 Thread Mathieu Poirier
Hey James, On 21 November 2017 at 09:47, James Morse wrote: > Hi Leo Yan, > > On 18/11/17 09:12, Leo Yan wrote: >> commit a88ce63b642c ("arm64: kexec: have own crash_smp_send_stop() for >> crash dump for nonpanic cores") introduces ARM64 architecture function > > (This

Re: [PATCH v2] arm64: kdump: Avoid to power off nonpanic CPUs

2017-11-21 Thread Mathieu Poirier
Hey James, On 21 November 2017 at 09:47, James Morse wrote: > Hi Leo Yan, > > On 18/11/17 09:12, Leo Yan wrote: >> commit a88ce63b642c ("arm64: kexec: have own crash_smp_send_stop() for >> crash dump for nonpanic cores") introduces ARM64 architecture function > > (This commit fixed a bug where

Re: [PATCH v2] arm64: kdump: Avoid to power off nonpanic CPUs

2017-11-21 Thread James Morse
Hi Leo Yan, On 18/11/17 09:12, Leo Yan wrote: > commit a88ce63b642c ("arm64: kexec: have own crash_smp_send_stop() for > crash dump for nonpanic cores") introduces ARM64 architecture function (This commit fixed a bug where the core-code version was used, this didn't save the CPU registers, which

Re: [PATCH v2] arm64: kdump: Avoid to power off nonpanic CPUs

2017-11-21 Thread James Morse
Hi Leo Yan, On 18/11/17 09:12, Leo Yan wrote: > commit a88ce63b642c ("arm64: kexec: have own crash_smp_send_stop() for > crash dump for nonpanic cores") introduces ARM64 architecture function (This commit fixed a bug where the core-code version was used, this didn't save the CPU registers, which

[PATCH v2] arm64: kdump: Avoid to power off nonpanic CPUs

2017-11-18 Thread Leo Yan
commit a88ce63b642c ("arm64: kexec: have own crash_smp_send_stop() for crash dump for nonpanic cores") introduces ARM64 architecture function crash_smp_send_stop() to replace the weak function, this results in the nonpanic CPUs to be hot-plugged out and CPUs are placed into low power state on

[PATCH v2] arm64: kdump: Avoid to power off nonpanic CPUs

2017-11-18 Thread Leo Yan
commit a88ce63b642c ("arm64: kexec: have own crash_smp_send_stop() for crash dump for nonpanic cores") introduces ARM64 architecture function crash_smp_send_stop() to replace the weak function, this results in the nonpanic CPUs to be hot-plugged out and CPUs are placed into low power state on