[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250506101311.142475-1-andrewjballance@gmail.com>
Date: Tue, 6 May 2025 05:13:11 -0500
From: Andrew Ballance <andrewjballance@...il.com>
To: viresh.kumar@...aro.org
Cc: a.hindborg@...nel.org,
alex.bennee@...aro.org,
alex.gaynor@...il.com,
aliceryhl@...gle.com,
anisse@...ier.eu,
benno.lossin@...ton.me,
bjorn3_gh@...tonmail.com,
boqun.feng@...il.com,
bqe@...gle.com,
dakr@...nel.org,
dakr@...hat.com,
daniel.almeida@...labora.com,
gary@...yguo.net,
joakim.bech@...aro.org,
linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org,
linux@...linux.org.uk,
linux@...musvillemoes.dk,
manos.pitsidianakis@...aro.org,
miguel.ojeda.sandonis@...il.com,
mturquette@...libre.com,
nm@...com,
ojeda@...nel.org,
peterz@...radead.org,
rafael@...nel.org,
robh@...nel.org,
rust-for-linux@...r.kernel.org,
sboyd@...nel.org,
tglx@...utronix.de,
tmgross@...ch.edu,
vincent.guittot@...aro.org,
vireshk@...nel.org,
yury.norov@...il.com
Subject: Re: [PATCH V11 00/15] Rust abstractions for clk, cpumask, cpufreq, OPP
On Fri, May 02, 2025 at 12:31:09PM +0530, Viresh Kumar wrote:
> Applied to the cpufreq tree few days back and is now included in
> linux-next:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git/log/?h=cpufreq/arm/linux-next
>
> Will send it for v6.16-rc1 (unless there are any objections).
>
> --
> viresh
Hi,
I have tried building the latest linux-next and I think that this
patch series causes a build error with the defconfig for x86_64.
commit: 407f60a151df3c44397e5afc0111eb9b026c38d3
steps to reproduce:
make LLVM=1 defconfig
make LLVM=1 rust.config
make LLVM=1
build error message:
error[E0432]: unresolved import `crate::clk`
--> rust/kernel/cpufreq.rs:12:5
|
12 | clk::{Clk, Hertz},
| ^^^ could not find `clk` in the crate root
|
note: found an item that was configured out
--> rust/kernel/lib.rs:48:9
|
48 | pub mod clk;
| ^^^
note: the item is gated here
--> rust/kernel/lib.rs:47:1
|
47 | #[cfg(CONFIG_COMMON_CLK)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error
it looks like this occurs when CONFIG_COMMON_CLK=n and CONFIG_CPU_FREQ=y.
Best regards,
Andrew Ballance
Powered by blists - more mailing lists