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] [day] [month] [year] [list]
Message-ID: <f032284d-25e4-4192-aeb2-1270e497a830@aosc.io>
Date: Tue, 24 Jun 2025 10:43:38 +0800
From: Mingcong Bai <jeffbai@...c.io>
To: Yao Zi <ziyao@...root.org>, Huacai Chen <chenhuacai@...nel.org>,
 WANG Xuerui <kernel@...0n.name>, "Rafael J. Wysocki" <rafael@...nel.org>,
 Viresh Kumar <viresh.kumar@...aro.org>
Cc: Jiaxun Yang <jiaxun.yang@...goat.com>, Kexy Biscuit
 <kexybiscuit@...c.io>, loongarch@...ts.linux.dev, linux-pm@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cpufreq: loongson3: Support older SMC firmware

Greetings,

<snip>
  > This patch adds support for the SMC firmware found on these devices,
> which I denoted as "SMC-0" in the driver. Boost support is omitted,
> since determination of cores able to boost requires the driver to couple
> tightly with micro-architecture details.
> 
> For coexistence, I prefixed all SMC-call constants with their SMC
> versions, and introduced "SMC-0"-specific initialization and
> frequency-level-setup rountines.
> 
> Signed-off-by: Yao Zi <ziyao@...root.org>
> ---
>   drivers/cpufreq/loongson3_cpufreq.c | 287 ++++++++++++++++++++--------
>   1 file changed, 211 insertions(+), 76 deletions(-)

Tested good on an IPASON NL38-N11 (Loongson 3A6000) laptop, core 
frequencies fluctuate between 250MHz and 2000MHz individually as 
expected. CPU frequency scaling governors works as expected (performance 
pins all cores to 2000MHz, the max frequency).

Tested-by: Mingcong Bai <jeffbai@...c.io>

Best Regards,
Mingcong Bai

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ