[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1749463570.git.viresh.kumar@linaro.org>
Date: Mon, 9 Jun 2025 16:21:04 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Boqun Feng <boqun.feng@...il.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Alice Ryhl <aliceryhl@...gle.com>,
Andreas Hindborg <a.hindborg@...nel.org>,
Benno Lossin <lossin@...nel.org>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Danilo Krummrich <dakr@...nel.org>,
Gary Guo <gary@...yguo.net>,
Miguel Ojeda <ojeda@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Trevor Gross <tmgross@...ch.edu>,
Viresh Kumar <viresh.kumar@...aro.org>,
Yury Norov <yury.norov@...il.com>
Cc: Vincent Guittot <vincent.guittot@...aro.org>,
rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: [PATCH V2 0/2] rust: Introduce CpuId and fix cpumask doctest
Hello,
Here is another attempt at fixing the cpumask doctest. This series creates a new
abstraction `CpuId`, which is used to write a cleaner cpumask example which
doesn't fail in those corner cases.
--
Viresh
V1->V2:
- Introduce CpuId.
- Use CpuId in cpufreq, opp, cpumask abstractions.
- Fix cpumask example.
Viresh Kumar (2):
rust: cpu: Introduce CpuId abstraction
rust: Use CpuId in place of raw CPU numbers
drivers/cpufreq/rcpufreq_dt.rs | 4 +-
rust/kernel/cpu.rs | 106 ++++++++++++++++++++++++++++++++-
rust/kernel/cpufreq.rs | 27 ++++++---
rust/kernel/cpumask.rs | 51 +++++++++++-----
4 files changed, 161 insertions(+), 27 deletions(-)
base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
--
2.31.1.272.g89b43f80a514
Powered by blists - more mailing lists