[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYt+aQL1Z=h7XSccsjmjJWLKvXBCMYJR+vq3g=Pw6wPPMA@mail.gmail.com>
Date: Tue, 24 Jun 2025 02:26:06 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: stable@...r.kernel.org, patches@...ts.linux.dev,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, linux@...ck-us.net, shuah@...nel.org,
patches@...nelci.org, lkft-triage@...ts.linaro.org, pavel@...x.de,
jonathanh@...dia.com, f.fainelli@...il.com, sudipm.mukherjee@...il.com,
srw@...dewatkins.net, rwarsow@....de, conor@...nel.org, hargar@...rosoft.com,
broonie@...nel.org
Subject: Re: [PATCH 6.15 000/592] 6.15.4-rc1 review
On Mon, 23 Jun 2025 at 18:39, Greg Kroah-Hartman
<gregkh@...uxfoundation.org> wrote:
>
> This is the start of the stable review cycle for the 6.15.4 release.
> There are 592 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 25 Jun 2025 13:05:55 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.15.4-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.15.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Regressions on arm, arm64, x86_64 rust config builds with gcc-13 and
clang-20 failed on
the Linux stable-rc 6.15.4-rc1.
Regressions found on arm64
* arm, build
- rustclang-lkftconfig-kselftest
* arm64, build
- rustclang-lkftconfig-kselftest
- rustgcc-lkftconfig-kselftest
* riscv, build
- rustclang-nightly-lkftconfig-kselftest
* x86_64, build
- rustclang-nightly-lkftconfig-kselftest
- rustgcc-lkftconfig-kselftest
Regression Analysis:
- New regression? Yes
- Reproducibility? Yes
Build regression: stable-rc rust unresolved import `crate::sync::Completion`
Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
## Build errors
error[E0432]: unresolved import `crate::sync::Completion`
--> /builds/linux/rust/kernel/devres.rs:16:22
|
16 | sync::{rcu, Arc, Completion},
| ^^^^^^^^^^ no `Completion` in `sync`
error[E0412]: cannot find type `Bound` in this scope
--> /builds/linux/rust/kernel/devres.rs:226:49
|
226 | pub fn access<'a>(&'a self, dev: &'a Device<Bound>) -> Result<&'a T> {
| ^^^^^ not found
in this scope
|
help: consider importing this enum
|
8 + use core::range::Bound;
|
error[E0107]: struct takes 0 generic arguments but 1 generic argument
was supplied
--> /builds/linux/rust/kernel/devres.rs:226:42
|
226 | pub fn access<'a>(&'a self, dev: &'a Device<Bound>) -> Result<&'a T> {
| ^^^^^^------- help:
remove the unnecessary generics
| |
| expected 0 generic arguments
|
note: struct defined here, with 0 generic parameters
--> /builds/linux/rust/kernel/device.rs:45:12
|
45 | pub struct Device(Opaque<bindings::device>);
| ^^^^^^
error[E0600]: cannot apply unary operator `!` to type `()`
--> /builds/linux/rust/kernel/devres.rs:172:12
|
172 | if !inner.data.revoke() {
| ^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!`
error[E0599]: no method named `access` found for struct `Revocable` in
the current scope
--> /builds/linux/rust/kernel/devres.rs:234:33
|
234 | Ok(unsafe { self.0.data.access() })
| ^^^^^^
|
::: /builds/linux/rust/kernel/revocable.rs:64:1
|
64 | #[pin_data(PinnedDrop)]
| ----------------------- method `access` not found for this struct
|
help: there is a method `try_access` with a similar name
|
234 | Ok(unsafe { self.0.data.try_access() })
| ~~~~~~~~~~
error[E0599]: no method named `try_access_with` found for struct
`Revocable` in the current scope
--> /builds/linux/rust/kernel/devres.rs:244:21
|
244 | self.0.data.try_access_with(f)
| ^^^^^^^^^^^^^^^
|
::: /builds/linux/rust/kernel/revocable.rs:64:1
|
64 | #[pin_data(PinnedDrop)]
| ----------------------- method `try_access_with` not found for this struct
|
help: there is a method `try_access` with a similar name, but with
different arguments
--> /builds/linux/rust/kernel/revocable.rs:97:5
|
97 | pub fn try_access(&self) -> Option<RevocableGuard<'_, T>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> /builds/linux/rust/kernel/devres.rs:257:21
|
257 | if unsafe { self.0.data.revoke_nosync() } {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`,
found `()`
error: aborting due to 7 previous errors
Some errors have detailed explanations: E0107, E0308, E0412, E0432,
E0599, E0600.
For more information about an error, try `rustc --explain E0107`.
make[3]: *** [/builds/linux/rust/Makefile:536: rust/kernel.o] Error 1
## Source
* Kernel version: 6.15.4-rc1
* Git tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
* Git sha: de19bfa00d6f93fdcd38a5c088466e093af981f2
* Git describe: v6.15.3-593-gde19bfa00d6f
* Project details:
https://regressions.linaro.org/lkft/linux-stable-rc-linux-6.15.y/v6.15.3-593-gde19bfa00d6f/
* Architectures: arm arm64 x86_64
* Toolchains: gcc-12
* Kconfigs: allyesconfig
## Build arm64
* Build log: https://qa-reports.linaro.org/api/testruns/28840986/log_file/
* Build details:
https://regressions.linaro.org/lkft/linux-stable-rc-linux-6.15.y/v6.15.3-593-gde19bfa00d6f/build/rustgcc-lkftconfig-kselftest/
* Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2yuYPOcS6L7NBPk6w3gHjPLYyFI/
* Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2yuYPOcS6L7NBPk6w3gHjPLYyFI/config
## Steps to reproduce
- tuxmake --runtime podman \
--target-arch arm64 \
--toolchain rustgcc --kconfig defconfig \
--kconfig-add
https://gitlab.com/Linaro/lkft/kernel-fragments/-/raw/main/systemd.config
\
--kconfig-add CONFIG_GCC_PLUGINS=n \
--kconfig-add tools/testing/selftests/rust/config \
TARGETS=rust debugkernel dtbs dtbs-legacy headers kernel
kselftest modules
--
Linaro LKFT
https://lkft.linaro.org
Powered by blists - more mailing lists