lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 17 May 2022 09:36:04 +0800
From:   qianfanguijin@....com
To:     linux-sunxi@...ts.linux.dev
Cc:     Rob Herring <robh+dt@...nel.org>,
        Maxime Ripard <mripard@...nel.org>,
        Chen-Yu Tsai <wens@...e.org>,
        Jernej Skrabec <jernej.skrabec@...il.com>,
        "Rafael J . Wysocki" <rafael@...nel.org>,
        Viresh Kumar <viresh.kumar@...aro.org>,
        devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
        qianfan Zhao <qianfanguijin@....com>
Subject: [PATCH v5 0/3] ARM: sun8i-r40: CPU improve

From: qianfan Zhao <qianfanguijin@....com>

Change history:
===============
v5(2022-05-17):
- Move opp tables to sun8i-r40-cpu-opp.dtsi
- cpufreq supports 720M, 912M, 1G, 1.1G, 1.2G
- Add cooling supports

v4(2022-05-16):
- Invert two patches.
- Drop the cpufreqs that exceeds 1G in opp tables.

v3:
- remove "allwinner-r40" compatible from allowlist.
- split dts in two part.

Test:
=====

cpufreq was tested by tools: https://github.com/ssvb/cpuburn-arm

1. cpufreq-ljt-stress-test

- root@...ntu:~/cpuburn-arm-master# ./cpufreq-ljt-stress-test 
- CPU stress test, which is doing JPEG decoding by libjpeg-turbo
- at different cpufreq operating points.
- 
- Testing CPU 0
-  1200 MHz ............................................................ OK
-  1104 MHz ............................................................ OK
-  1008 MHz ............................................................ OK
-   912 MHz ............................................................ OK
-   720 MHz ............................................................ OK
- 
- Testing CPU 1
-  1200 MHz ............................................................ OK
-  1104 MHz ............................................................ OK
-  1008 MHz ............................................................ OK
-   912 MHz ............................................................ OK
-   720 MHz ............................................................ OK
- 
- Testing CPU 2
-  1200 MHz ............................................................ OK
-  1104 MHz ............................................................ OK
-  1008 MHz ............................................................ OK
-   912 MHz ............................................................ OK
-   720 MHz ............................................................ OK
- 
- Testing CPU 3
-  1200 MHz ............................................................ OK
-  1104 MHz ............................................................ OK
-  1008 MHz ............................................................ OK
-   912 MHz ............................................................ OK
-   720 MHz ............................................................ OK

Overall result : PASSED

2. cpu freq slow down when cpuburn-a7.out running

- temperature: 79213, online: 0-3, freq: 1200000
- temperature: 79213, online: 0-3, freq: 1200000
- temperature: 80230, online: 0-3, freq: 1104000
- temperature: 78874, online: 0-3, freq: 1200000
- temperature: 80004, online: 0-3, freq: 1104000
- temperature: 79213, online: 0-3, freq: 1200000
- temperature: 78196, online: 0-3, freq: 1200000
- temperature: 79891, online: 0-3, freq: 1200000
- temperature: 78422, online: 0-3, freq: 1200000
- temperature: 80343, online: 0-3, freq: 1104000
- temperature: 80343, online: 0-3, freq: 1104000


qianfan Zhao (3):
  ARM: dts: sun8i-r40: Add "cpu-supply" node for sun8i-r40 based board
  ARM: dts: sun8i-r40: add opp table for cpu
  ARM: dts: sun8i-r40: Add thermal trip points/cooling maps

 .../boot/dts/sun8i-r40-bananapi-m2-ultra.dts  |  5 ++
 arch/arm/boot/dts/sun8i-r40-cpu-opp.dtsi      | 52 +++++++++++++++++++
 arch/arm/boot/dts/sun8i-r40-feta40i.dtsi      |  5 ++
 arch/arm/boot/dts/sun8i-r40.dtsi              | 36 +++++++++++++
 arch/arm/boot/dts/sun8i-t3-cqa3t-bv3.dts      |  5 ++
 .../boot/dts/sun8i-v40-bananapi-m2-berry.dts  |  5 ++
 6 files changed, 108 insertions(+)
 create mode 100644 arch/arm/boot/dts/sun8i-r40-cpu-opp.dtsi

-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ