Re: [PATCH 5.15 000/479] 5.15.165-rc3 review

From: Anders Roxell
Date: Sat Aug 17 2024 - 11:39:20 EST


On Sat, 17 Aug 2024 at 10:00, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> This is the start of the stable review cycle for the 5.15.165 release.
> There are 479 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 Mon, 19 Aug 2024 07:51:05 +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/v5.x/stable-review/patch-5.15.165-rc3.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

The following S390 build failed on stable-rc 5.15.y with gcc-12 and clang due
to following warnings and errors [1].

s390:
build:
* gcc-8-defconfig-fe40093d
* gcc-12-defconfig
* clang-18-defconfig


Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

The bisect points to 5af75585e330 ("s390/pci: Rework MSI descriptor walk")
as the problematic commit [ Upstream commit
2ca5e908d0f4cde61d9d3595e8314adca5d914a1 ].

Build log:
--------
/builds/linux/arch/s390/pci/pci_irq.c: In function 'arch_setup_msi_irqs':
/builds/linux/arch/s390/pci/pci_irq.c:328:9: error: implicit
declaration of function 'msi_for_each_desc'; did you mean
'bus_for_each_dev'? [-Werror=implicit-function-declaration]
328 | msi_for_each_desc(msi, &pdev->dev, MSI_DESC_NOTASSOCIATED) {
| ^~~~~~~~~~~~~~~~~
| bus_for_each_dev
/builds/linux/arch/s390/pci/pci_irq.c:328:44: error:
'MSI_DESC_NOTASSOCIATED' undeclared (first use in this function)
328 | msi_for_each_desc(msi, &pdev->dev, MSI_DESC_NOTASSOCIATED) {
| ^~~~~~~~~~~~~~~~~~~~~~
/builds/linux/arch/s390/pci/pci_irq.c:328:44: note: each undeclared
identifier is reported only once for each function it appears in
/builds/linux/arch/s390/pci/pci_irq.c:328:67: error: expected ';'
before '{' token
328 | msi_for_each_desc(msi, &pdev->dev, MSI_DESC_NOTASSOCIATED) {
| ^~
| ;
/builds/linux/arch/s390/pci/pci_irq.c:301:17: warning: unused variable
'irq' [-Wunused-variable]
301 | int rc, irq;
| ^~~
/builds/linux/arch/s390/pci/pci_irq.c:300:13: warning: unused variable
'cpu_addr' [-Wunused-variable]
300 | int cpu_addr;
| ^~~~~~~~
/builds/linux/arch/s390/pci/pci_irq.c:298:24: warning: unused variable
'msg' [-Wunused-variable]
298 | struct msi_msg msg;
| ^~~
/builds/linux/arch/s390/pci/pci_irq.c:295:56: warning: unused variable
'cpu' [-Wunused-variable]
295 | unsigned int hwirq, msi_vecs, irqs_per_msi, i, cpu;
| ^~~
/builds/linux/arch/s390/pci/pci_irq.c:295:53: warning: unused variable
'i' [-Wunused-variable]
295 | unsigned int hwirq, msi_vecs, irqs_per_msi, i, cpu;
| ^
/builds/linux/arch/s390/pci/pci_irq.c:295:39: warning: unused variable
'irqs_per_msi' [-Wunused-variable]
295 | unsigned int hwirq, msi_vecs, irqs_per_msi, i, cpu;
| ^~~~~~~~~~~~
/builds/linux/arch/s390/pci/pci_irq.c: In function 'arch_teardown_msi_irqs':
/builds/linux/arch/s390/pci/pci_irq.c:395:44: error:
'MSI_DESC_ASSOCIATED' undeclared (first use in this function)
395 | msi_for_each_desc(msi, &pdev->dev, MSI_DESC_ASSOCIATED) {
| ^~~~~~~~~~~~~~~~~~~
/builds/linux/arch/s390/pci/pci_irq.c:395:64: error: expected ';'
before '{' token
395 | msi_for_each_desc(msi, &pdev->dev, MSI_DESC_ASSOCIATED) {
| ^~
| ;
/builds/linux/arch/s390/pci/pci_irq.c:386:22: warning: unused variable
'i' [-Wunused-variable]
386 | unsigned int i;
| ^
cc1: some warnings being treated as errors


Build log link:
--------
[1] https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.164-480-g2a66d0cb3772/testrun/24903946/suite/build/test/gcc-12-defconfig/log

metadata:
--------
* kernel: 5.15.165-rc3
* git: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
* git commit: 2a66d0cb377282f04abd41b09fbbbdebdf39e5ea
* git describe: v5.15.164-480-g2a66d0cb3772
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.164-480-g2a66d0cb3772
* arch: s390
* toolchain: gcc-12, clang
* config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2kmLyVVnghC9nRUIBEQn4Vg2fzy/config
* download_url:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2kmLyVVnghC9nRUIBEQn4Vg2fzy/

--
Linaro LKFT
https://lkft.linaro.org