[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200415102821.t4vm5y7zggxc3ezm@gilmour.lan>
Date: Wed, 15 Apr 2020 12:28:21 +0200
From: Maxime Ripard <maxime@...no.tech>
To: Clément Péron <peron.clem@...il.com>
Cc: Chen-Yu Tsai <wens@...e.org>, Rob Herring <robh+dt@...nel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
devicetree <devicetree@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-sunxi <linux-sunxi@...glegroups.com>
Subject: Re: [PATCH v2 0/7] Add support for Allwinner H6 DVFS
Hi Clement,
On Mon, Apr 13, 2020 at 03:37:19PM +0200, Clément Péron wrote:
> On Mon, 6 Apr 2020 at 11:07, Clément Péron <peron.clem@...il.com> wrote:
> > On Mon, 6 Apr 2020 at 10:10, Maxime Ripard <maxime@...no.tech> wrote:
> > >
> > > Hi,
> > >
> > > On Sun, Apr 05, 2020 at 07:35:54PM +0200, Clément Péron wrote:
> > > > Now that required drivers are merged we can contibute on DVFS
> > > > support for Allwinner H6.
> > > >
> > > > This serie is based on Yangtao Li serie[0] and Ondřej Jirman work[1].
> > > >
> > > > Most of the OPP tables are taken from original vendor kernel[2].
> > > > Plus there is a new CPU frequencies at 1.6GHz, 1.7GHz and 1.8GHz.
> > > >
> > > > I wrote a simple script to randomly set a frequency during
> > > > a random time[3].
> > >
> > > If you ever need to do that ever again, cpufreq-ljt-stress-test (found
> > > here https://github.com/ssvb/cpuburn-arm) has proven to be very
> > > reliable to detect cpufreq related issues. stress-ng might not be
> > > enough since the (at least older) Allwinner SoCs tend to create cache
> > > corruption when undervolted, and that might not be unnoticed by
> > > stress-ng but will be catched by cpufreq-ljt-stress-test.
>
> The test seems good (see result below) :
>
> # cpufreq-ljt-stress-test
> Creating './whitenoise-1920x1080.jpg' ... done
> CPU stress test, which is doing JPEG decoding by libjpeg-turbo
> at different cpufreq operating points.
>
> Testing CPU 0
> 1800 MHz ............................................................ OK
> 1704 MHz ............................................................ OK
> 1608 MHz ............................................................ OK
> 1488 MHz ............................................................ OK
> 1320 MHz ............................................................ OK
> 1080 MHz ............................................................ OK
> 888 MHz ............................................................ OK
> 816 MHz ............................................................ OK
> 720 MHz ............................................................ OK
> 480 MHz ............................................................ OK
>
> Testing CPU 1
> 1800 MHz ............................................................ OK
> 1704 MHz ............................................................ OK
> 1608 MHz ............................................................ OK
> 1488 MHz ............................................................ OK
> 1320 MHz ............................................................ OK
> 1080 MHz ............................................................ OK
> 888 MHz ............................................................ OK
> 816 MHz ............................................................ OK
> 720 MHz ............................................................ OK
> 480 MHz ............................................................ OK
>
> Testing CPU 2
> 1800 MHz ............................................................ OK
> 1704 MHz ............................................................ OK
> 1608 MHz ............................................................ OK
> 1488 MHz ............................................................ OK
> 1320 MHz ............................................................ OK
> 1080 MHz ............................................................ OK
> 888 MHz ............................................................ OK
> 816 MHz ............................................................ OK
> 720 MHz ............................................................ OK
> 480 MHz ............................................................ OK
>
> Testing CPU 3
> 1800 MHz ............................................................ OK
> 1704 MHz ............................................................ OK
> 1608 MHz ............................................................ OK
> 1488 MHz ............................................................ OK
> 1320 MHz ............................................................ OK
> 1080 MHz ............................................................ OK
> 888 MHz ............................................................ OK
> 816 MHz ............................................................ OK
> 720 MHz ............................................................ OK
> 480 MHz ............................................................ OK
>
> Overall result : PASSED
Awesome, thanks for taking the time to do it :)
Maxime
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists