public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [RFC] rk3368 idle states
@ 2015-12-02 11:18 Lorenzo Pieralisi
  2015-12-03  1:05 ` Heiko Stübner
  0 siblings, 1 reply; 3+ messages in thread
From: Lorenzo Pieralisi @ 2015-12-02 11:18 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Heiko,

while reviewing other dts idle states bindings I spotted the following
snippet in arch/arm64/boot/dts/rockchip/rk3368.dtsi:

cpu_sleep: cpu-sleep-0 {
       compatible = "arm,idle-state";
       arm,psci-suspend-param = <0x1010000>;
       entry-latency-us = <0x3fffffff>;
       exit-latency-us = <0x40000000>;
       min-residency-us = <0xffffffff>;
};

Could you please explain to me how you obtained these residency/latency
values ? They make NO sense whatsoever and I am quite tempted to
ask you to remove this data from the dts file, it is just wrong.

Thanks,
Lorenzo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [RFC] rk3368 idle states
  2015-12-02 11:18 [RFC] rk3368 idle states Lorenzo Pieralisi
@ 2015-12-03  1:05 ` Heiko Stübner
  2015-12-03 10:11   ` Lorenzo Pieralisi
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Stübner @ 2015-12-03  1:05 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Lorenzo,

Am Mittwoch, 2. Dezember 2015, 11:18:58 schrieb Lorenzo Pieralisi:
> while reviewing other dts idle states bindings I spotted the following
> snippet in arch/arm64/boot/dts/rockchip/rk3368.dtsi:
> 
> cpu_sleep: cpu-sleep-0 {
>        compatible = "arm,idle-state";
>        arm,psci-suspend-param = <0x1010000>;
>        entry-latency-us = <0x3fffffff>;
>        exit-latency-us = <0x40000000>;
>        min-residency-us = <0xffffffff>;
> };
> 
> Could you please explain to me how you obtained these residency/latency
> values ? They make NO sense whatsoever and I am quite tempted to
> ask you to remove this data from the dts file, it is just wrong.

I took these values verbatim from the vendor kernel when adding the core 
rk3368 support.

I guess I was overly enthusiastic, that psci worked out of the box for smp, 
that I didn't check the latency/residency values enough at that time. As time-
values they are really overly long :-) .


Nevertheless I have inquired now, what the background of those values is.


Heiko

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [RFC] rk3368 idle states
  2015-12-03  1:05 ` Heiko Stübner
@ 2015-12-03 10:11   ` Lorenzo Pieralisi
  0 siblings, 0 replies; 3+ messages in thread
From: Lorenzo Pieralisi @ 2015-12-03 10:11 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Heiko,

On Thu, Dec 03, 2015 at 02:05:01AM +0100, Heiko St?bner wrote:
> Hi Lorenzo,
> 
> Am Mittwoch, 2. Dezember 2015, 11:18:58 schrieb Lorenzo Pieralisi:
> > while reviewing other dts idle states bindings I spotted the following
> > snippet in arch/arm64/boot/dts/rockchip/rk3368.dtsi:
> > 
> > cpu_sleep: cpu-sleep-0 {
> >        compatible = "arm,idle-state";
> >        arm,psci-suspend-param = <0x1010000>;
> >        entry-latency-us = <0x3fffffff>;
> >        exit-latency-us = <0x40000000>;
> >        min-residency-us = <0xffffffff>;
> > };
> > 
> > Could you please explain to me how you obtained these residency/latency
> > values ? They make NO sense whatsoever and I am quite tempted to
> > ask you to remove this data from the dts file, it is just wrong.
> 
> I took these values verbatim from the vendor kernel when adding the core 
> rk3368 support.
> 
> I guess I was overly enthusiastic, that psci worked out of the box for smp, 
> that I didn't check the latency/residency values enough at that time. As time-
> values they are really overly long :-) .
> 
> 
> Nevertheless I have inquired now, what the background of those values is.

Thank you, they must be updated, hopefully they won't unearth any issue
with the idle state - ie at present the idle state simply turns out unused.

Lorenzo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-03 10:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-02 11:18 [RFC] rk3368 idle states Lorenzo Pieralisi
2015-12-03  1:05 ` Heiko Stübner
2015-12-03 10:11   ` Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox