Re: [PATCH] ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available

2015-06-02 Thread Russell King - ARM Linux
On Wed, Jun 03, 2015 at 08:40:51AM +0900, Hiraku Toyooka wrote: > Hello, Russell, > > On 2015/06/02 17:38, Russell King - ARM Linux wrote: > > I wasn't thinking of SPIs and PPIs, but SGIs - the IPI interrupts coming > > from the boot CPU. > > All tasks in a CPU going offline are migrated to

Re: [PATCH] ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available

2015-06-02 Thread Hiraku Toyooka
Hello, Russell, On 2015/06/02 17:38, Russell King - ARM Linux wrote: > I wasn't thinking of SPIs and PPIs, but SGIs - the IPI interrupts coming > from the boot CPU. All tasks in a CPU going offline are migrated to other CPUs(finally CPU0) and the rq is marked with offline before the CPU

Re: [PATCH] ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available

2015-06-02 Thread Russell King - ARM Linux
On Tue, Jun 02, 2015 at 02:32:19PM +0900, hiraku.toyooka...@hitachi.com wrote: > Before kexec soft reboot, secondary CPU's IRQs except for per-cpu twd are > migrated from a CPU going offline to CPU0 by migrate_irqs(). The twd is > stopped by twd_timer_cpu_notify(). As a result, secondary CPU has

Re: [PATCH] ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available

2015-06-02 Thread Russell King - ARM Linux
On Tue, Jun 02, 2015 at 02:32:19PM +0900, hiraku.toyooka...@hitachi.com wrote: Before kexec soft reboot, secondary CPU's IRQs except for per-cpu twd are migrated from a CPU going offline to CPU0 by migrate_irqs(). The twd is stopped by twd_timer_cpu_notify(). As a result, secondary CPU has no

Re: [PATCH] ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available

2015-06-02 Thread Hiraku Toyooka
Hello, Russell, On 2015/06/02 17:38, Russell King - ARM Linux wrote: I wasn't thinking of SPIs and PPIs, but SGIs - the IPI interrupts coming from the boot CPU. All tasks in a CPU going offline are migrated to other CPUs(finally CPU0) and the rq is marked with offline before the CPU entering

Re: [PATCH] ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available

2015-06-02 Thread Russell King - ARM Linux
On Wed, Jun 03, 2015 at 08:40:51AM +0900, Hiraku Toyooka wrote: Hello, Russell, On 2015/06/02 17:38, Russell King - ARM Linux wrote: I wasn't thinking of SPIs and PPIs, but SGIs - the IPI interrupts coming from the boot CPU. All tasks in a CPU going offline are migrated to other

Re: [PATCH] ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available

2015-05-29 Thread Russell King - ARM Linux
On Fri, May 29, 2015 at 02:38:44PM +0900, Hiraku Toyooka wrote: > Kexec_load syscall in ARM checks that machine-specific code > has the smp_ops.cpu_kill() before loading kernel image. > This patch adds the cpu_kill(), as a result, kexec reboot and > kernel crash dump become available in

[PATCH] ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available

2015-05-29 Thread Hiraku Toyooka
Kexec_load syscall in ARM checks that machine-specific code has the smp_ops.cpu_kill() before loading kernel image. This patch adds the cpu_kill(), as a result, kexec reboot and kernel crash dump become available in mach-socfpga. Signed-off-by: Hiraku Toyooka Cc: Dinh Nguyen Cc: Russell King

Re: [PATCH] ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available

2015-05-29 Thread Russell King - ARM Linux
On Fri, May 29, 2015 at 02:38:44PM +0900, Hiraku Toyooka wrote: Kexec_load syscall in ARM checks that machine-specific code has the smp_ops.cpu_kill() before loading kernel image. This patch adds the cpu_kill(), as a result, kexec reboot and kernel crash dump become available in mach-socfpga.

[PATCH] ARM: socfpga: add smp_ops.cpu_kill to make kexec/kdump available

2015-05-29 Thread Hiraku Toyooka
Kexec_load syscall in ARM checks that machine-specific code has the smp_ops.cpu_kill() before loading kernel image. This patch adds the cpu_kill(), as a result, kexec reboot and kernel crash dump become available in mach-socfpga. Signed-off-by: Hiraku Toyooka hiraku.toyooka...@hitachi.com Cc: