Re: [PATCH 1/2] ARM: clps711x: Add cpuidle driver

Alexander Shiyan shc_work at mail.ru
Mon Mar 24 12:44:01 EDT 2014


Mon, 24 Mar 2014 16:34:44 +0100 от Daniel Lezcano <daniel.lezcano at linaro.org>:
> On 03/22/2014 06:44 AM, Alexander Shiyan wrote:
> > Add cpuidle support for ARM Cirrus Logic CLPS711X CPUs.
> > This CPU has an unique internal register and write to this location
> > will put the system into the Idle State by halting the clock to the
> > processor until an interrupt is generated.
> >
> > Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> > ---
...
> > +static struct cpuidle_driver clps711x_idle_driver = {
> > +	.name		= CLPS711X_CPUIDLE_NAME,
> > +	.owner		= THIS_MODULE,
> > +	.states[0]	= {
> > +		.name		= "HALT",
> > +		.desc		= "CLPS711X HALT",
> > +		.enter		= clps711x_cpuidle_halt,
> > +		.exit_latency	= 1,
> 
> Did you forget target_residency ? Or just not defined it as it is 0 ?

Yes, zero value.

---



More information about the linux-arm-kernel mailing list