[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKohponPm5z0Rdy7FkYoo+YfhfQtfUUE65Oq9kYVNaCLRVPNUg@mail.gmail.com>
Date: Tue, 13 May 2025 12:15:20 +0100
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: Philip Li <philip.li@...el.com>, kbuild test robot <lkp@...el.com>,
Andrew Ballance <andrewjballance@...il.com>, 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, 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, 9 May 2025 at 09:43, Miguel Ojeda
<miguel.ojeda.sandonis@...il.com> wrote:
> I can still reproduce it on next-20250508 with defconfig RUST=y
> KUNIT=y RUST_KERNEL_DOCTESTS=y and then running in QEMU with e.g.
> `-machine virt -cpu cortex-a53`.
Here is the full log from my side: https://pastebin.com/u7UK58rQ). It
doesn't report
any failures.
Also here is the code we are talking about:
/// let mut mask = CpumaskVar::new_zero(GFP_KERNEL).unwrap();
///
/// assert!(mask.empty());
/// mask.set(2);
/// assert!(mask.test(2));
/// mask.set(3);
/// assert!(mask.test(3));
/// assert_eq!(mask.weight(), 2);
I don't understand how this test can fail at your end after the
first three `assert!()` have passed.
--
Viresh
Powered by blists - more mailing lists