linux_dsm_epyc7002/arch/arm64/boot/dts/hisilicon
Vincent Guittot a5956defe5 arm64: hikey960: update idle-states
Update entry/exit latency and residency time of hikey960 to use more
realistic figures based on unitary tests done on the platform.

The complete results (in us) :
                  big cluster
                  cluster  CPU
max entry latency     800  400
max exit latency     2900  550
residency  903Mhz    5000 1500
residency 2363Mhz       0 1500

                  little cluster
                  cluster  CPU
max entry latency     500  400
max exit latency     1600  650
residency  533Mhz    8000 4500
residency 1844Mhz       0 1500

We can see that the residency time depends of the running OPP which is not
handled for now. Then we also have to take into account the constraint of
a residency time shorter than the tick to get full advantage of idle loop
reordering(tick is stopped if idle duration is higher than tick period).
Finally the selected residency value are :
                 big cluster
                  cluster  CPU
residency            3700 1500

                  little cluster
                  cluster  CPU
residency            3500 1500

A simple test with a task waking up every 11.111ms shows improvement:
- 5% a lowest OPP
- 22% at highest OPP

The period has been chosen:
- to be shorter than old cluster residency time and longer than new
residency time of cluster off C-state
- to prevent any sync with tick (4ms) when running tests that can add
some variances between tests

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
2018-07-17 12:19:25 +01:00
..
hi3660-hikey960.dts arm64: dts: hikey960: Remove keep-power-in-suspend property 2018-07-17 12:02:30 +01:00
hi3660.dtsi arm64: hikey960: update idle-states 2018-07-17 12:19:25 +01:00
hi3798cv200-poplar.dts arm64: dts: hi3798cv200: enable emmc support for poplar board 2018-05-15 14:54:03 +01:00
hi3798cv200.dtsi arm64: dts: hi3798cv200: enable emmc support for poplar board 2018-05-15 14:54:03 +01:00
hi6220-coresight.dtsi arm64: dts: hi6220: add coresight dt nodes 2017-10-10 14:58:11 +01:00
hi6220-hikey.dts arm64: dts: hikey: Remove keep-power-in-suspend property 2018-07-17 12:02:30 +01:00
hi6220.dtsi arm64: dts: hi6220: enable watchdog 2018-03-02 16:19:43 +00:00
hikey960-pinctrl.dtsi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hikey-pinctrl.dtsi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hip05-d02.dts arm64: dts: fix unit-address leading 0s 2017-10-20 00:37:56 +02:00
hip05.dtsi arm64: dts: hip05: kill hip05_hns.dtsi 2016-08-24 16:19:37 +01:00
hip06-d03.dts arm64: dts: hisi: Enable Hisi LPC node for hip06 2018-05-15 14:52:43 +01:00
hip06.dtsi arm64: dts: hisi: Enable Hisi LPC node for hip06 2018-05-15 14:52:43 +01:00
hip07-d05.dts arm64: dts: hisi: Enable Hisi LPC node for hip07 2018-05-15 14:52:51 +01:00
hip07.dtsi arm64: dts: hisi: Enable Hisi LPC node for hip07 2018-05-15 14:52:51 +01:00
Makefile DeviceTree for 4.15: 2017-11-14 18:25:40 -08:00
poplar-pinctrl.dtsi arm64: dts: hi3798cv200: enable emmc support for poplar board 2018-05-15 14:54:03 +01:00