Re: [RFC PATCH V2] ARM: EXYNOS: Fix hotplug when CPUs boot in HYP mode

2013-05-08 Thread Marc Zyngier
On 08/05/13 13:23, Giridhar Maruthy wrote: > On 7 May 2013 14:25, Marc Zyngier wrote: >> On 07/05/13 06:54, Giridhar Maruthy wrote: >>> This patch is a modification from the Christoffer Dall's u-boot >>> patch. This is required to put the secondary processors in hyp >>> mode during cpu hotplug whe

Re: [RFC PATCH V2] ARM: EXYNOS: Fix hotplug when CPUs boot in HYP mode

2013-05-08 Thread Giridhar Maruthy
On 7 May 2013 14:25, Marc Zyngier wrote: > On 07/05/13 06:54, Giridhar Maruthy wrote: >> This patch is a modification from the Christoffer Dall's u-boot >> patch. This is required to put the secondary processors in hyp >> mode during cpu hotplug when u-boot is no longer alive. >> >> Marc Zyngier s

Re: [RFC PATCH V2] ARM: EXYNOS: Fix hotplug when CPUs boot in HYP mode

2013-05-07 Thread Marc Zyngier
On 07/05/13 06:54, Giridhar Maruthy wrote: > This patch is a modification from the Christoffer Dall's u-boot > patch. This is required to put the secondary processors in hyp > mode during cpu hotplug when u-boot is no longer alive. > > Marc Zyngier suggested this logic to go into firmware or, u-bo

Re: [RFC PATCH V2] ARM: EXYNOS: Fix hotplug when CPUs boot in HYP mode

2013-05-06 Thread Giridhar Maruthy
This patch is a modification from the Christoffer Dall's u-boot patch. This is required to put the secondary processors in hyp mode during cpu hotplug when u-boot is no longer alive. Marc Zyngier suggested this logic to go into firmware or, u-boot putting a trampoline code into a page /memreserve/

[RFC PATCH V2] ARM: EXYNOS: Fix hotplug when CPUs boot in HYP mode

2013-05-06 Thread giridhar . maruthy
From: Giridhar Maruthy In intial boot-up, u-boot commit "3d28a181aab5e... arndale5250: Boot in Hyp mode and enable architected timers" puts the CPUs in HYP mode. Hence, the CPUs need to be put in HYP mode when they are hot plugged out and plugged in back. This patch is almost same as above u-bo