Re: [PATCH 6/6] PSCI: cpuidle: Refactor CPU suspend power_state parameter handling

2019-08-08 Thread Sudeep Holla
On Thu, Aug 08, 2019 at 05:29:24PM +0200, Ulf Hansson wrote: > On Thu, 8 Aug 2019 at 14:55, Sudeep Holla wrote: > > > > On Mon, Jul 22, 2019 at 04:37:45PM +0100, Lorenzo Pieralisi wrote: > > > Current PSCI code handles idle state entry through the > > > psci_cpu_suspend_enter() API, that takes an

Re: [PATCH 6/6] PSCI: cpuidle: Refactor CPU suspend power_state parameter handling

2019-08-08 Thread Ulf Hansson
On Thu, 8 Aug 2019 at 14:55, Sudeep Holla wrote: > > On Mon, Jul 22, 2019 at 04:37:45PM +0100, Lorenzo Pieralisi wrote: > > Current PSCI code handles idle state entry through the > > psci_cpu_suspend_enter() API, that takes an idle state index as a > > parameter and convert the index into a

Re: [PATCH 6/6] PSCI: cpuidle: Refactor CPU suspend power_state parameter handling

2019-08-08 Thread Sudeep Holla
On Mon, Jul 22, 2019 at 04:37:45PM +0100, Lorenzo Pieralisi wrote: > Current PSCI code handles idle state entry through the > psci_cpu_suspend_enter() API, that takes an idle state index as a > parameter and convert the index into a previously initialized > power_state parameter before calling the

Re: [PATCH 6/6] PSCI: cpuidle: Refactor CPU suspend power_state parameter handling

2019-08-07 Thread Daniel Lezcano
On 22/07/2019 17:37, Lorenzo Pieralisi wrote: > Current PSCI code handles idle state entry through the > psci_cpu_suspend_enter() API, that takes an idle state index as a > parameter and convert the index into a previously initialized > power_state parameter before calling the PSCI.CPU_SUSPEND()

Re: [PATCH 6/6] PSCI: cpuidle: Refactor CPU suspend power_state parameter handling

2019-07-23 Thread Ulf Hansson
On Mon, 22 Jul 2019 at 17:38, Lorenzo Pieralisi wrote: > > Current PSCI code handles idle state entry through the > psci_cpu_suspend_enter() API, that takes an idle state index as a > parameter and convert the index into a previously initialized > power_state parameter before calling the

[PATCH 6/6] PSCI: cpuidle: Refactor CPU suspend power_state parameter handling

2019-07-22 Thread Lorenzo Pieralisi
Current PSCI code handles idle state entry through the psci_cpu_suspend_enter() API, that takes an idle state index as a parameter and convert the index into a previously initialized power_state parameter before calling the PSCI.CPU_SUSPEND() with it. This is unwieldly, since it forces the PSCI