Re: [Xen-devel] [PATCH 3/7] xen/arm/psci: Implement CPU_OFF PSCI call (physical interface)

2018-04-16 Thread Julien Grall
On 16/04/18 17:52, Mirela Simonovic wrote: On Mon, Apr 16, 2018 at 4:26 PM, Julien Grall wrote: Hi Mirela, On 16/04/18 11:02, Mirela Simonovic wrote: On Thu, Apr 12, 2018 at 3:31 PM, Julien Grall wrote: On 12/04/18 12:33, Mirela Simonovic

Re: [Xen-devel] [PATCH 3/7] xen/arm/psci: Implement CPU_OFF PSCI call (physical interface)

2018-04-16 Thread Mirela Simonovic
Hi Julien, On Mon, Apr 16, 2018 at 4:26 PM, Julien Grall wrote: > Hi Mirela, > > > On 16/04/18 11:02, Mirela Simonovic wrote: >> >> On Thu, Apr 12, 2018 at 3:31 PM, Julien Grall >> wrote: >>> >>> >>> >>> On 12/04/18 12:33, Mirela Simonovic wrote:

Re: [Xen-devel] [PATCH 3/7] xen/arm/psci: Implement CPU_OFF PSCI call (physical interface)

2018-04-16 Thread Julien Grall
Hi Mirela, On 16/04/18 11:02, Mirela Simonovic wrote: On Thu, Apr 12, 2018 at 3:31 PM, Julien Grall wrote: On 12/04/18 12:33, Mirela Simonovic wrote: On Wed, Apr 11, 2018 at 4:46 PM, Julien Grall wrote: On 11/04/18 14:19, Mirela Simonovic

Re: [Xen-devel] [PATCH 3/7] xen/arm/psci: Implement CPU_OFF PSCI call (physical interface)

2018-04-16 Thread Mirela Simonovic
Hi Julien, On Thu, Apr 12, 2018 at 3:31 PM, Julien Grall wrote: > > > On 12/04/18 12:33, Mirela Simonovic wrote: >> >> On Wed, Apr 11, 2018 at 4:46 PM, Julien Grall >> wrote: >>> >>> On 11/04/18 14:19, Mirela Simonovic wrote: >>>

Re: [Xen-devel] [PATCH 3/7] xen/arm/psci: Implement CPU_OFF PSCI call (physical interface)

2018-04-12 Thread Julien Grall
On 12/04/18 12:33, Mirela Simonovic wrote: On Wed, Apr 11, 2018 at 4:46 PM, Julien Grall wrote: On 11/04/18 14:19, Mirela Simonovic wrote: local_irq_disable(); cpu_is_dead = true; /* Make sure the write happens before we sleep forever */

Re: [Xen-devel] [PATCH 3/7] xen/arm/psci: Implement CPU_OFF PSCI call (physical interface)

2018-04-12 Thread Mirela Simonovic
Hi Julien, On Wed, Apr 11, 2018 at 4:46 PM, Julien Grall wrote: > Hi, > > On 11/04/18 14:19, Mirela Simonovic wrote: >> >> This patch adds the PSCI CPU_OFF call to the EL3 in order to >> trigger powering down of the calling CPU when the CPU is stopped. >> If CPU_OFF call

Re: [Xen-devel] [PATCH 3/7] xen/arm/psci: Implement CPU_OFF PSCI call (physical interface)

2018-04-11 Thread Julien Grall
Hi, On 11/04/18 14:19, Mirela Simonovic wrote: This patch adds the PSCI CPU_OFF call to the EL3 in order to trigger powering down of the calling CPU when the CPU is stopped. If CPU_OFF call fails for some reason, e.g. EL3 does not implement the PSCI CPU_OFF function, the calling CPU will loop

[Xen-devel] [PATCH 3/7] xen/arm/psci: Implement CPU_OFF PSCI call (physical interface)

2018-04-11 Thread Mirela Simonovic
This patch adds the PSCI CPU_OFF call to the EL3 in order to trigger powering down of the calling CPU when the CPU is stopped. If CPU_OFF call fails for some reason, e.g. EL3 does not implement the PSCI CPU_OFF function, the calling CPU will loop in the infinite while/wfi, as it was looping before