Re: [PATCH 4/6] ARM: psci: cpuidle: Introduce PSCI CPUidle driver

2019-08-07 Thread Daniel Lezcano
On 22/07/2019 17:37, Lorenzo Pieralisi wrote: > PSCI firmware is the standard power management control for > all ARM64 based platforms and it is also deployed on some > ARM 32 bit platforms to date. > > Idle state entry in PSCI is currently achieved by calling > arm_cpuidle_init() and arm_cpuidle_

Re: [PATCH 4/6] ARM: psci: cpuidle: Introduce PSCI CPUidle driver

2019-08-06 Thread Lorenzo Pieralisi
On Tue, Aug 06, 2019 at 05:10:33PM +0100, Sudeep Holla wrote: > On Mon, Jul 22, 2019 at 04:37:43PM +0100, Lorenzo Pieralisi wrote: > > PSCI firmware is the standard power management control for > > all ARM64 based platforms and it is also deployed on some > > ARM 32 bit platforms to date. > > > > I

Re: [PATCH 4/6] ARM: psci: cpuidle: Introduce PSCI CPUidle driver

2019-08-06 Thread Sudeep Holla
On Mon, Jul 22, 2019 at 04:37:43PM +0100, Lorenzo Pieralisi wrote: > PSCI firmware is the standard power management control for > all ARM64 based platforms and it is also deployed on some > ARM 32 bit platforms to date. > > Idle state entry in PSCI is currently achieved by calling > arm_cpuidle_ini

Re: [PATCH 4/6] ARM: psci: cpuidle: Introduce PSCI CPUidle driver

2019-07-23 Thread Lorenzo Pieralisi
On Tue, Jul 23, 2019 at 01:46:56PM +0200, Ulf Hansson wrote: > [...] > > > +++ b/drivers/cpuidle/cpuidle-psci.c > > @@ -0,0 +1,150 @@ > > +// SPDX-License-Identifier: GPL-2.0-only > > +/* > > + * PSCI CPU idle driver. > > + * > > + * Copyright (C) 2019 ARM Ltd. > > + * Author: Lorenzo Pieralisi >

Re: [PATCH 4/6] ARM: psci: cpuidle: Introduce PSCI CPUidle driver

2019-07-23 Thread Ulf Hansson
[...] > +++ b/drivers/cpuidle/cpuidle-psci.c > @@ -0,0 +1,150 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * PSCI CPU idle driver. > + * > + * Copyright (C) 2019 ARM Ltd. > + * Author: Lorenzo Pieralisi > + */ > + > +#define pr_fmt(fmt) "CPUidle PSCI: " fmt > + > +#include > +#includ

[PATCH 4/6] ARM: psci: cpuidle: Introduce PSCI CPUidle driver

2019-07-22 Thread Lorenzo Pieralisi
PSCI firmware is the standard power management control for all ARM64 based platforms and it is also deployed on some ARM 32 bit platforms to date. Idle state entry in PSCI is currently achieved by calling arm_cpuidle_init() and arm_cpuidle_suspend() in a generic idle driver, which in turn relies o