* [GIT PULL] cpufreq/arm updates for 6.16
@ 2025-05-20 6:19 Viresh Kumar
2025-05-22 10:20 ` Rafael J. Wysocki
0 siblings, 1 reply; 6+ messages in thread
From: Viresh Kumar @ 2025-05-20 6:19 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Linux PM, rust-for-linux
Hi Rafael,
This contains few patches from Danilo Krummrich as well, which will
get merged via driver-core separately. Please push this to Linus once
that is merged during rc1. Thanks.
The following changes since commit a374f28700abd20e8a7d026f89aa26f759445918:
cpufreq: fix compile-test defaults (2025-04-17 13:36:29 +0530)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git tags/cpufreq-arm-updates-6.16
for you to fetch changes up to 6c9bb86922728c7a4cceb99f131e00dd87514f20:
cpufreq: scmi: Skip SCMI devices that aren't used by the CPUs (2025-05-20 11:24:18 +0530)
----------------------------------------------------------------
CPUFreq updates for 6.16
- Rust abstractions for CPUFreq framework (Viresh Kumar).
- Rust abstractions for OPP framework (Viresh Kumar).
- Basic Rust abstractions for Clk and Cpumask frameworks (Viresh Kumar).
- Minor cleanup to the SCMI cpufreq driver (Mike Tipton).
----------------------------------------------------------------
Anisse Astier (1):
rust: macros: enable use of hyphens in module names
Danilo Krummrich (8):
rust: device: implement impl_device_context_deref!
rust: device: implement impl_device_context_into_aref!
rust: device: implement device context for Device
rust: platform: preserve device context in AsRef
rust: pci: preserve device context in AsRef
rust: device: implement Bound device context
rust: pci: move iomap_region() to impl Device<Bound>
rust: devres: require a bound device
Mike Tipton (1):
cpufreq: scmi: Skip SCMI devices that aren't used by the CPUs
Viresh Kumar (16):
Merge commit 'eaff6b62d343' of pm/linux-next into commit 'f720efda2db5' of driver-core/driver-core-next
rust: cpumask: Add few more helpers
rust: cpumask: Add initial abstractions
MAINTAINERS: Add entry for Rust cpumask API
rust: clk: Add helpers for Rust code
rust: clk: Add initial abstractions
rust: cpu: Add from_cpu()
rust: opp: Add initial abstractions for OPP framework
rust: opp: Add abstractions for the OPP table
rust: opp: Add abstractions for the configuration options
rust: cpufreq: Add initial abstractions for cpufreq framework
rust: cpufreq: Extend abstractions for policy and driver ops
rust: cpufreq: Extend abstractions for driver registration
rust: opp: Extend OPP abstractions with cpufreq support
cpufreq: Add Rust-based cpufreq-dt driver
Merge branch 'rust/cpufreq-dt' into cpufreq/arm/linux-next
MAINTAINERS | 11 ++
drivers/cpufreq/Kconfig | 12 ++
drivers/cpufreq/Makefile | 1 +
drivers/cpufreq/amd-pstate.c | 7 +-
drivers/cpufreq/cpufreq.c | 345 +++++++++++++++++----------------------
drivers/cpufreq/intel_pstate.c | 47 +++---
drivers/cpufreq/rcpufreq_dt.rs | 226 ++++++++++++++++++++++++++
drivers/cpufreq/scmi-cpufreq.c | 36 ++++-
include/linux/cpufreq.h | 10 +-
rust/bindings/bindings_helper.h | 4 +
rust/helpers/clk.c | 66 ++++++++
rust/helpers/cpufreq.c | 10 ++
rust/helpers/cpumask.c | 25 +++
rust/helpers/helpers.c | 2 +
rust/kernel/clk.rs | 334 ++++++++++++++++++++++++++++++++++++++
rust/kernel/cpu.rs | 30 ++++
rust/kernel/cpufreq.rs | 1321 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
rust/kernel/cpumask.rs | 330 +++++++++++++++++++++++++++++++++++++
rust/kernel/device.rs | 90 ++++++++++-
rust/kernel/devres.rs | 17 +-
rust/kernel/lib.rs | 7 +
rust/kernel/opp.rs | 1145 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
rust/kernel/pci.rs | 33 ++--
rust/kernel/platform.rs | 32 +---
rust/macros/module.rs | 20 ++-
25 files changed, 3861 insertions(+), 300 deletions(-)
create mode 100644 drivers/cpufreq/rcpufreq_dt.rs
create mode 100644 rust/helpers/clk.c
create mode 100644 rust/helpers/cpufreq.c
create mode 100644 rust/kernel/clk.rs
create mode 100644 rust/kernel/cpu.rs
create mode 100644 rust/kernel/cpufreq.rs
create mode 100644 rust/kernel/cpumask.rs
create mode 100644 rust/kernel/opp.rs
--
viresh
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] cpufreq/arm updates for 6.16
2025-05-20 6:19 [GIT PULL] cpufreq/arm updates for 6.16 Viresh Kumar
@ 2025-05-22 10:20 ` Rafael J. Wysocki
2025-05-28 11:35 ` Rafael J. Wysocki
0 siblings, 1 reply; 6+ messages in thread
From: Rafael J. Wysocki @ 2025-05-22 10:20 UTC (permalink / raw)
To: Viresh Kumar; +Cc: Rafael J. Wysocki, Linux PM, rust-for-linux
Hi Viresh,
On Tue, May 20, 2025 at 8:19 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
> Hi Rafael,
>
> This contains few patches from Danilo Krummrich as well, which will
> get merged via driver-core separately. Please push this to Linus once
> that is merged during rc1. Thanks.
>
> The following changes since commit a374f28700abd20e8a7d026f89aa26f759445918:
>
> cpufreq: fix compile-test defaults (2025-04-17 13:36:29 +0530)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git tags/cpufreq-arm-updates-6.16
>
> for you to fetch changes up to 6c9bb86922728c7a4cceb99f131e00dd87514f20:
>
> cpufreq: scmi: Skip SCMI devices that aren't used by the CPUs (2025-05-20 11:24:18 +0530)
>
> ----------------------------------------------------------------
> CPUFreq updates for 6.16
>
> - Rust abstractions for CPUFreq framework (Viresh Kumar).
>
> - Rust abstractions for OPP framework (Viresh Kumar).
>
> - Basic Rust abstractions for Clk and Cpumask frameworks (Viresh Kumar).
>
> - Minor cleanup to the SCMI cpufreq driver (Mike Tipton).
>
> ----------------------------------------------------------------
> Anisse Astier (1):
> rust: macros: enable use of hyphens in module names
>
> Danilo Krummrich (8):
> rust: device: implement impl_device_context_deref!
> rust: device: implement impl_device_context_into_aref!
> rust: device: implement device context for Device
> rust: platform: preserve device context in AsRef
> rust: pci: preserve device context in AsRef
> rust: device: implement Bound device context
> rust: pci: move iomap_region() to impl Device<Bound>
> rust: devres: require a bound device
>
> Mike Tipton (1):
> cpufreq: scmi: Skip SCMI devices that aren't used by the CPUs
>
> Viresh Kumar (16):
> Merge commit 'eaff6b62d343' of pm/linux-next into commit 'f720efda2db5' of driver-core/driver-core-next
> rust: cpumask: Add few more helpers
> rust: cpumask: Add initial abstractions
> MAINTAINERS: Add entry for Rust cpumask API
> rust: clk: Add helpers for Rust code
> rust: clk: Add initial abstractions
> rust: cpu: Add from_cpu()
> rust: opp: Add initial abstractions for OPP framework
> rust: opp: Add abstractions for the OPP table
> rust: opp: Add abstractions for the configuration options
> rust: cpufreq: Add initial abstractions for cpufreq framework
> rust: cpufreq: Extend abstractions for policy and driver ops
> rust: cpufreq: Extend abstractions for driver registration
> rust: opp: Extend OPP abstractions with cpufreq support
> cpufreq: Add Rust-based cpufreq-dt driver
> Merge branch 'rust/cpufreq-dt' into cpufreq/arm/linux-next
>
> MAINTAINERS | 11 ++
> drivers/cpufreq/Kconfig | 12 ++
> drivers/cpufreq/Makefile | 1 +
> drivers/cpufreq/amd-pstate.c | 7 +-
> drivers/cpufreq/cpufreq.c | 345 +++++++++++++++++----------------------
> drivers/cpufreq/intel_pstate.c | 47 +++---
> drivers/cpufreq/rcpufreq_dt.rs | 226 ++++++++++++++++++++++++++
> drivers/cpufreq/scmi-cpufreq.c | 36 ++++-
> include/linux/cpufreq.h | 10 +-
> rust/bindings/bindings_helper.h | 4 +
> rust/helpers/clk.c | 66 ++++++++
> rust/helpers/cpufreq.c | 10 ++
> rust/helpers/cpumask.c | 25 +++
> rust/helpers/helpers.c | 2 +
> rust/kernel/clk.rs | 334 ++++++++++++++++++++++++++++++++++++++
> rust/kernel/cpu.rs | 30 ++++
> rust/kernel/cpufreq.rs | 1321 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> rust/kernel/cpumask.rs | 330 +++++++++++++++++++++++++++++++++++++
> rust/kernel/device.rs | 90 ++++++++++-
> rust/kernel/devres.rs | 17 +-
> rust/kernel/lib.rs | 7 +
> rust/kernel/opp.rs | 1145 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> rust/kernel/pci.rs | 33 ++--
> rust/kernel/platform.rs | 32 +---
> rust/macros/module.rs | 20 ++-
> 25 files changed, 3861 insertions(+), 300 deletions(-)
> create mode 100644 drivers/cpufreq/rcpufreq_dt.rs
> create mode 100644 rust/helpers/clk.c
> create mode 100644 rust/helpers/cpufreq.c
> create mode 100644 rust/kernel/clk.rs
> create mode 100644 rust/kernel/cpu.rs
> create mode 100644 rust/kernel/cpufreq.rs
> create mode 100644 rust/kernel/cpumask.rs
> create mode 100644 rust/kernel/opp.rs
>
> --
Pulled and added to linux-pm.git/linux-next, thanks!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] cpufreq/arm updates for 6.16
2025-05-22 10:20 ` Rafael J. Wysocki
@ 2025-05-28 11:35 ` Rafael J. Wysocki
2025-05-28 11:44 ` Alice Ryhl
0 siblings, 1 reply; 6+ messages in thread
From: Rafael J. Wysocki @ 2025-05-28 11:35 UTC (permalink / raw)
To: Viresh Kumar; +Cc: Linux PM, rust-for-linux
Hi Viresh,
On Thu, May 22, 2025 at 12:20 PM Rafael J. Wysocki <rafael@kernel.org> wrote:
>
> On Tue, May 20, 2025 at 8:19 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
> >
> > Hi Rafael,
> >
> > This contains few patches from Danilo Krummrich as well, which will
> > get merged via driver-core separately. Please push this to Linus once
> > that is merged during rc1. Thanks.
> >
> > The following changes since commit a374f28700abd20e8a7d026f89aa26f759445918:
> >
> > cpufreq: fix compile-test defaults (2025-04-17 13:36:29 +0530)
> >
> > are available in the Git repository at:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git tags/cpufreq-arm-updates-6.16
> >
> > for you to fetch changes up to 6c9bb86922728c7a4cceb99f131e00dd87514f20:
> >
> > cpufreq: scmi: Skip SCMI devices that aren't used by the CPUs (2025-05-20 11:24:18 +0530)
> >
> > ----------------------------------------------------------------
> > CPUFreq updates for 6.16
> >
> > - Rust abstractions for CPUFreq framework (Viresh Kumar).
> >
> > - Rust abstractions for OPP framework (Viresh Kumar).
> >
> > - Basic Rust abstractions for Clk and Cpumask frameworks (Viresh Kumar).
> >
> > - Minor cleanup to the SCMI cpufreq driver (Mike Tipton).
> >
> > ----------------------------------------------------------------
> > Anisse Astier (1):
> > rust: macros: enable use of hyphens in module names
> >
> > Danilo Krummrich (8):
> > rust: device: implement impl_device_context_deref!
> > rust: device: implement impl_device_context_into_aref!
> > rust: device: implement device context for Device
> > rust: platform: preserve device context in AsRef
> > rust: pci: preserve device context in AsRef
> > rust: device: implement Bound device context
> > rust: pci: move iomap_region() to impl Device<Bound>
> > rust: devres: require a bound device
> >
> > Mike Tipton (1):
> > cpufreq: scmi: Skip SCMI devices that aren't used by the CPUs
> >
> > Viresh Kumar (16):
> > Merge commit 'eaff6b62d343' of pm/linux-next into commit 'f720efda2db5' of driver-core/driver-core-next
> > rust: cpumask: Add few more helpers
> > rust: cpumask: Add initial abstractions
> > MAINTAINERS: Add entry for Rust cpumask API
> > rust: clk: Add helpers for Rust code
> > rust: clk: Add initial abstractions
> > rust: cpu: Add from_cpu()
> > rust: opp: Add initial abstractions for OPP framework
> > rust: opp: Add abstractions for the OPP table
> > rust: opp: Add abstractions for the configuration options
> > rust: cpufreq: Add initial abstractions for cpufreq framework
> > rust: cpufreq: Extend abstractions for policy and driver ops
> > rust: cpufreq: Extend abstractions for driver registration
> > rust: opp: Extend OPP abstractions with cpufreq support
> > cpufreq: Add Rust-based cpufreq-dt driver
> > Merge branch 'rust/cpufreq-dt' into cpufreq/arm/linux-next
> >
> > MAINTAINERS | 11 ++
> > drivers/cpufreq/Kconfig | 12 ++
> > drivers/cpufreq/Makefile | 1 +
> > drivers/cpufreq/amd-pstate.c | 7 +-
> > drivers/cpufreq/cpufreq.c | 345 +++++++++++++++++----------------------
> > drivers/cpufreq/intel_pstate.c | 47 +++---
> > drivers/cpufreq/rcpufreq_dt.rs | 226 ++++++++++++++++++++++++++
> > drivers/cpufreq/scmi-cpufreq.c | 36 ++++-
> > include/linux/cpufreq.h | 10 +-
> > rust/bindings/bindings_helper.h | 4 +
> > rust/helpers/clk.c | 66 ++++++++
> > rust/helpers/cpufreq.c | 10 ++
> > rust/helpers/cpumask.c | 25 +++
> > rust/helpers/helpers.c | 2 +
> > rust/kernel/clk.rs | 334 ++++++++++++++++++++++++++++++++++++++
> > rust/kernel/cpu.rs | 30 ++++
> > rust/kernel/cpufreq.rs | 1321 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > rust/kernel/cpumask.rs | 330 +++++++++++++++++++++++++++++++++++++
> > rust/kernel/device.rs | 90 ++++++++++-
> > rust/kernel/devres.rs | 17 +-
> > rust/kernel/lib.rs | 7 +
> > rust/kernel/opp.rs | 1145 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > rust/kernel/pci.rs | 33 ++--
> > rust/kernel/platform.rs | 32 +---
> > rust/macros/module.rs | 20 ++-
> > 25 files changed, 3861 insertions(+), 300 deletions(-)
> > create mode 100644 drivers/cpufreq/rcpufreq_dt.rs
> > create mode 100644 rust/helpers/clk.c
> > create mode 100644 rust/helpers/cpufreq.c
> > create mode 100644 rust/kernel/clk.rs
> > create mode 100644 rust/kernel/cpu.rs
> > create mode 100644 rust/kernel/cpufreq.rs
> > create mode 100644 rust/kernel/cpumask.rs
> > create mode 100644 rust/kernel/opp.rs
> >
> > --
>
> Pulled and added to linux-pm.git/linux-next, thanks!
Two merge conflicts between this material and the mainline have
emerged since v6.15.
I've resolved them (they appear to be straightforward to me), but I
would appreciate double checking the most recent pm-cpufreq merge into
linux-next:
https://web.git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=25eb7dda15f182b7355488a5aca47078643633dc
and letting me know if it looks good.
Thanks!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] cpufreq/arm updates for 6.16
2025-05-28 11:35 ` Rafael J. Wysocki
@ 2025-05-28 11:44 ` Alice Ryhl
2025-05-28 12:21 ` Rafael J. Wysocki
0 siblings, 1 reply; 6+ messages in thread
From: Alice Ryhl @ 2025-05-28 11:44 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Viresh Kumar, Linux PM, rust-for-linux
On Wed, May 28, 2025 at 01:35:35PM +0200, Rafael J. Wysocki wrote:
> Two merge conflicts between this material and the mainline have
> emerged since v6.15.
>
> I've resolved them (they appear to be straightforward to me), but I
> would appreciate double checking the most recent pm-cpufreq merge into
> linux-next:
>
> https://web.git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=25eb7dda15f182b7355488a5aca47078643633dc
>
> and letting me know if it looks good.
>
> Thanks!
Usually we keep them sorted:
diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h
index 88ab11d74fc7..2c917889d9ba 100644
--- a/rust/bindings/bindings_helper.h
+++ b/rust/bindings/bindings_helper.h
@@ -10,8 +10,8 @@
#include <linux/blk-mq.h>
#include <linux/blk_types.h>
#include <linux/blkdev.h>
-#include <linux/configfs.h>
#include <linux/clk.h>
+#include <linux/configfs.h>
#include <linux/cpu.h>
#include <linux/cpufreq.h>
#include <linux/cpumask.h>
diff --git a/rust/kernel/lib.rs b/rust/kernel/lib.rs
index 6eb61c87b616..3a618f82fb02 100644
--- a/rust/kernel/lib.rs
+++ b/rust/kernel/lib.rs
@@ -42,9 +42,9 @@
pub mod block;
#[doc(hidden)]
pub mod build_assert;
+pub mod clk;
#[cfg(CONFIG_CONFIGFS_FS)]
pub mod configfs;
-pub mod clk;
pub mod cpu;
#[cfg(CONFIG_CPU_FREQ)]
pub mod cpufreq;
Otherwise LGTM.
Alice
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [GIT PULL] cpufreq/arm updates for 6.16
2025-05-28 11:44 ` Alice Ryhl
@ 2025-05-28 12:21 ` Rafael J. Wysocki
2025-05-29 5:03 ` Viresh Kumar
0 siblings, 1 reply; 6+ messages in thread
From: Rafael J. Wysocki @ 2025-05-28 12:21 UTC (permalink / raw)
To: Alice Ryhl; +Cc: Rafael J. Wysocki, Viresh Kumar, Linux PM, rust-for-linux
On Wed, May 28, 2025 at 1:44 PM Alice Ryhl <aliceryhl@google.com> wrote:
>
> On Wed, May 28, 2025 at 01:35:35PM +0200, Rafael J. Wysocki wrote:
> > Two merge conflicts between this material and the mainline have
> > emerged since v6.15.
> >
> > I've resolved them (they appear to be straightforward to me), but I
> > would appreciate double checking the most recent pm-cpufreq merge into
> > linux-next:
> >
> > https://web.git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=25eb7dda15f182b7355488a5aca47078643633dc
> >
> > and letting me know if it looks good.
> >
> > Thanks!
>
> Usually we keep them sorted:
>
> diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h
> index 88ab11d74fc7..2c917889d9ba 100644
> --- a/rust/bindings/bindings_helper.h
> +++ b/rust/bindings/bindings_helper.h
> @@ -10,8 +10,8 @@
> #include <linux/blk-mq.h>
> #include <linux/blk_types.h>
> #include <linux/blkdev.h>
> -#include <linux/configfs.h>
> #include <linux/clk.h>
> +#include <linux/configfs.h>
> #include <linux/cpu.h>
> #include <linux/cpufreq.h>
> #include <linux/cpumask.h>
> diff --git a/rust/kernel/lib.rs b/rust/kernel/lib.rs
> index 6eb61c87b616..3a618f82fb02 100644
> --- a/rust/kernel/lib.rs
> +++ b/rust/kernel/lib.rs
> @@ -42,9 +42,9 @@
> pub mod block;
> #[doc(hidden)]
> pub mod build_assert;
> +pub mod clk;
> #[cfg(CONFIG_CONFIGFS_FS)]
> pub mod configfs;
> -pub mod clk;
> pub mod cpu;
> #[cfg(CONFIG_CPU_FREQ)]
> pub mod cpufreq;
>
> Otherwise LGTM.
OK, it should be fixed now, thanks!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] cpufreq/arm updates for 6.16
2025-05-28 12:21 ` Rafael J. Wysocki
@ 2025-05-29 5:03 ` Viresh Kumar
0 siblings, 0 replies; 6+ messages in thread
From: Viresh Kumar @ 2025-05-29 5:03 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Alice Ryhl, Linux PM, rust-for-linux
On 28-05-25, 14:21, Rafael J. Wysocki wrote:
> OK, it should be fixed now, thanks!
Thanks Rafael.
--
viresh
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-05-29 5:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-20 6:19 [GIT PULL] cpufreq/arm updates for 6.16 Viresh Kumar
2025-05-22 10:20 ` Rafael J. Wysocki
2025-05-28 11:35 ` Rafael J. Wysocki
2025-05-28 11:44 ` Alice Ryhl
2025-05-28 12:21 ` Rafael J. Wysocki
2025-05-29 5:03 ` Viresh Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).