[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87qzzy3ric.fsf@kernel.org>
Date: Thu, 05 Jun 2025 21:41:47 +0200
From: Andreas Hindborg <a.hindborg@...nel.org>
To: "Viresh Kumar" <viresh.kumar@...aro.org>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>, "Miguel Ojeda"
<miguel.ojeda.sandonis@...il.com>, "Danilo Krummrich" <dakr@...hat.com>,
"Alex Gaynor" <alex.gaynor@...il.com>, "Alice Ryhl"
<aliceryhl@...gle.com>, "Benno Lossin" <benno.lossin@...ton.me>,
Björn
Roy Baron <bjorn3_gh@...tonmail.com>, "Boqun Feng"
<boqun.feng@...il.com>, "Danilo Krummrich" <dakr@...nel.org>, "Gary Guo"
<gary@...yguo.net>, "Michael Turquette" <mturquette@...libre.com>,
"Miguel Ojeda" <ojeda@...nel.org>, "Nishanth Menon" <nm@...com>, "Peter
Zijlstra" <peterz@...radead.org>, "Stephen Boyd" <sboyd@...nel.org>,
"Thomas Gleixner" <tglx@...utronix.de>, "Trevor Gross"
<tmgross@...ch.edu>, "Viresh Kumar" <vireshk@...nel.org>, "Yury Norov"
<yury.norov@...il.com>, <linux-pm@...r.kernel.org>, "Vincent Guittot"
<vincent.guittot@...aro.org>, <rust-for-linux@...r.kernel.org>, "Manos
Pitsidianakis" <manos.pitsidianakis@...aro.org>, Alex Bennée
<alex.bennee@...aro.org>, "Joakim Bech" <joakim.bech@...aro.org>, "Rob
Herring" <robh@...nel.org>, "Burak Emir" <bqe@...gle.com>, "Rasmus
Villemoes" <linux@...musvillemoes.dk>, "Russell King"
<linux@...linux.org.uk>, <linux-clk@...r.kernel.org>, "Andrew Ballance"
<andrewjballance@...il.com>, "Anisse Astier" <anisse@...ier.eu>, "Daniel
Almeida" <daniel.almeida@...labora.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V12 00/15] Rust abstractions for clk, cpumask, cpufreq, OPP
Hi Viresh,
"Viresh Kumar" <viresh.kumar@...aro.org> writes:
> Hello,
>
> I have queued this up for v6.16-rc1, will merge it via the PM tree soon.
> Thanks.
>
> This series introduces initial Rust abstractions for a few subsystems: clk,
> cpumask, cpufreq and Operating Performance Points (OPP).
>
> The abstractions cover most of the interfaces exposed by cpufreq and OPP
> subsystems. It also includes minimal abstractions for the clk and cpumask
> frameworks, which are required by the cpufreq / OPP abstractions.
>
> Additionally, a sample `rcpufreq-dt` driver is included. This is a
> duplicate of the existing `cpufreq-dt` driver, which is a
> platform-agnostic, device-tree based cpufreq driver commonly used on ARM
> platforms.
>
> The implementation has been tested using QEMU, ensuring that frequency
> transitions, various configurations, and driver binding/unbinding work as
> expected. However, performance measurements have not been conducted yet.
>
> For those interested in testing these patches, they can be found at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git rust/cpufreq-dt
>
> Based on 6.15-rc1 + rust/devres dependencies + PM/cpufreq dependencies.
I was testing an unrelated patch and found this kunit failure in
mainline today:
[19:45:34] # rust_doctest_kernel_cpumask_rs_0.location: rust/kernel/cpumask.rs:180
[19:45:34] # rust_doctest_kernel_cpumask_rs_0: ASSERTION FAILED at rust/kernel/cpumask.rs:190
This is for arm64 defconfig. The test seems to passes on x86_64.
Best regards,
Andreas Hindborg
Powered by blists - more mailing lists