[PATCH v3 1/1] arm: ls1: add CPU hotplug platform support

2014-12-18 Thread Zhuoyu Zhang
From: Zhang Zhuoyu This implements CPU hotplug for ls1. When cpu is down, it will be put in boot holdoff state. When cpu is up, it will always soft reset and boots up the same path as a cold boot. Signed-off-by: Zhang Zhuoyu --- arch/arm/mach-imx/common.h | 16 +

[PATCH v3 1/1] arm: ls1: add CPU hotplug platform support

2014-12-18 Thread Zhuoyu Zhang
From: Zhang Zhuoyu zhuoyu.zh...@freescale.com This implements CPU hotplug for ls1. When cpu is down, it will be put in boot holdoff state. When cpu is up, it will always soft reset and boots up the same path as a cold boot. Signed-off-by: Zhang Zhuoyu zhuoyu.zh...@freescale.com ---

[PATCH v2 1/2] arm: ls1: add CPU hotplug platform support

2014-11-23 Thread Zhuoyu Zhang
From: Zhang Zhuoyu This implements CPU hotplug for ls1. When cpu is down, it will be put in WFI state. When cpu is up, it will always soft reset and boots up the same path as a cold boot. Signed-off-by: Zhang Zhuoyu --- arch/arm/mach-imx/common.h | 4 ++ arch/arm/mach-imx/hotplug.c | 25

[PATCH v2 2/2] arm: ls1: provide a workaround for core soft reset

2014-11-23 Thread Zhuoyu Zhang
From: Zhang Zhuoyu Due to a hardware erratum, after core soft reset, core state machine registers need to force release manually. Signed-off-by: Zhang Zhuoyu --- arch/arm/mach-imx/platsmp.c | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git

[PATCH v2 2/2] arm: ls1: provide a workaround for core soft reset

2014-11-23 Thread Zhuoyu Zhang
From: Zhang Zhuoyu zhuoyu.zh...@freescale.com Due to a hardware erratum, after core soft reset, core state machine registers need to force release manually. Signed-off-by: Zhang Zhuoyu zhuoyu.zh...@freescale.com --- arch/arm/mach-imx/platsmp.c | 29 - 1 file changed,

[PATCH v2 1/2] arm: ls1: add CPU hotplug platform support

2014-11-23 Thread Zhuoyu Zhang
From: Zhang Zhuoyu zhuoyu.zh...@freescale.com This implements CPU hotplug for ls1. When cpu is down, it will be put in WFI state. When cpu is up, it will always soft reset and boots up the same path as a cold boot. Signed-off-by: Zhang Zhuoyu zhuoyu.zh...@freescale.com ---