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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <22403959.EfDdHjke4D@bootstrap>
Date: Mon, 26 Aug 2024 14:28:09 -0400
From: Detlev Casanova <detlev.casanova@...labora.com>
To: Chukun Pan <amadeus@....edu.cn>
Cc: airlied@...il.com, alchark@...il.com, amadeus@....edu.cn,
 andi.shyti@...nel.org, andyshrk@....com, broonie@...nel.org,
 cl@...k-chips.com, conor+dt@...nel.org, daniel@...ll.ch,
 devicetree@...r.kernel.org, dri-devel@...ts.freedesktop.org,
 dsimic@...jaro.org, efectn@...tonmail.com, finley.xiao@...k-chips.com,
 gregkh@...uxfoundation.org, heiko@...ech.de, honyuenkwun@...il.com,
 jagan@...eble.ai, jamie@...ieiles.com, jic23@...nel.org,
 jirislaby@...nel.org, jonas@...boo.se, jszhang@...nel.org,
 kernel@...labora.com, krzk+dt@...nel.org, lars@...afoo.de, lee@...nel.org,
 linux-arm-kernel@...ts.infradead.org, linux-i2c@...r.kernel.org,
 linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
 linux-mmc@...r.kernel.org, linux-rockchip@...ts.infradead.org,
 linux-serial@...r.kernel.org, linux-spi@...r.kernel.org,
 linux-watchdog@...r.kernel.org, linux@...ck-us.net,
 maarten.lankhorst@...ux.intel.com, macromorgan@...mail.com, megi@....cz,
 michael.riesch@...fvision.net, mripard@...nel.org, robh@...nel.org,
 tim@...thertop.org, tzimmermann@...e.de, ulf.hansson@...aro.org,
 wim@...ux-watchdog.org
Subject: Re: [PATCH v2 11/12] arm64: dts: rockchip: Add rk3576 SoC base DT

On Sunday, 25 August 2024 10:08:24 EDT Chukun Pan wrote:
> Hi,
> 
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
> > ...
> > +		opp-1416000000 {
> > +			opp-hz = /bits/ 64 <1416000000>;
> > +			opp-microvolt = <725000 725000 950000>;
> > +			opp-microvolt-L1 = <712500 712500 950000>;
> > +			opp-microvolt-L2 = <700000 700000 950000>;
> > +			opp-microvolt-L3 = <700000 700000 950000>;
> > +			opp-microvolt-L4 = <700000 700000 950000>;
> > +			opp-microvolt-L5 = <700000 700000 950000>;
> > +			clock-latency-ns = <40000>;
> > +		};
> > ...
> 
> I'm curious if these frequencies work properly. On the bsp kernel,
> 'opp-microvolt-L<name>' is used by the PVTM driver, I don't know
> if it works on the upstream kernel. Sorry but have you tested it
> with mhz (https://github.com/wtarreau/mhz)?

Running mhz gives me:
# ./mhz
count=566627 us50=19994 us250=99977 diff=79983 cpu_MHz=1416.869

Which seems to correspond to the set opp-hz value. As mentionned by Alexey, 
the opp-microvolt-L.* values are not used by the driver.

I also have not tested any cpufreq settings/driver on this board yet. I can 
remove the opp-microvolt-L.* for now.

Detlev.



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ