Re: [Xen-devel] [PATCH v2 03/10] xen/arm: Implement CPU_OFF PSCI call (physical interface)

2018-04-23 Thread Julien Grall
On 23/04/18 18:12, Mirela Simonovic wrote: On Mon, Apr 23, 2018 at 1:21 PM, Julien Grall wrote: On 20/04/18 13:25, Mirela Simonovic wrote: +if ( errno ) +panic("PSCI cpu off failed for CPU%d err=%d\n", get_processor_id(), + errno); +} + void

Re: [Xen-devel] [PATCH v2 03/10] xen/arm: Implement CPU_OFF PSCI call (physical interface)

2018-04-23 Thread Mirela Simonovic
Hi Julien, On Mon, Apr 23, 2018 at 1:21 PM, Julien Grall wrote: > Hi Mirela, > > On 20/04/18 13:25, Mirela Simonovic wrote: >> >> During the system suspend to RAM non-boot CPUs will be hotplugged. >> This will be triggered via disable_nonboot_cpus() call. When >> hotplugged

Re: [Xen-devel] [PATCH v2 03/10] xen/arm: Implement CPU_OFF PSCI call (physical interface)

2018-04-23 Thread Julien Grall
Hi Mirela, On 20/04/18 13:25, Mirela Simonovic wrote: During the system suspend to RAM non-boot CPUs will be hotplugged. This will be triggered via disable_nonboot_cpus() call. When hotplugged the CPU will end up in an infinite wfi loop in stop_cpu(). This patch adds PSCI CPU_OFF call to the

[Xen-devel] [PATCH v2 03/10] xen/arm: Implement CPU_OFF PSCI call (physical interface)

2018-04-20 Thread Mirela Simonovic
During the system suspend to RAM non-boot CPUs will be hotplugged. This will be triggered via disable_nonboot_cpus() call. When hotplugged the CPU will end up in an infinite wfi loop in stop_cpu(). This patch adds PSCI CPU_OFF call to the EL3 with the aim to get powered down the calling CPU during