Re: [U-Boot] [PATCH v5 4/8] ARMv7: PSCI: add codes to save context ID for CPU_ON

2016-06-28 Thread Hongbo Zhang
On Tue, Jun 28, 2016 at 11:15 AM, Chen-Yu Tsai wrote: > Hi, > > On Tue, Jun 14, 2016 at 3:01 PM, wrote: >> From: Hongbo Zhang >> >> According to latest PSCI specification, the context ID is needed by CPU_ON. >> This patch saves context ID to the second lowest address of the stack (next >> to >

Re: [U-Boot] [PATCH v5 4/8] ARMv7: PSCI: add codes to save context ID for CPU_ON

2016-06-27 Thread Chen-Yu Tsai
Hi, On Tue, Jun 14, 2016 at 3:01 PM, wrote: > From: Hongbo Zhang > > According to latest PSCI specification, the context ID is needed by CPU_ON. > This patch saves context ID to the second lowest address of the stack (next to > where target PC is saved), and restores it to r0 when needed while

[U-Boot] [PATCH v5 4/8] ARMv7: PSCI: add codes to save context ID for CPU_ON

2016-06-14 Thread macro . wave . z
From: Hongbo Zhang According to latest PSCI specification, the context ID is needed by CPU_ON. This patch saves context ID to the second lowest address of the stack (next to where target PC is saved), and restores it to r0 when needed while target CPU booting up. Signed-off-by: Hongbo Zhang Sig