Re: [PATCH 5.15 000/779] 5.15.61-rc1 review

From: Pali Rohár
Date: Tue Aug 16 2022 - 05:58:36 EST


On Tuesday 16 August 2022 14:11:45 Naresh Kamboju wrote:
> On Mon, 15 Aug 2022 at 23:44, Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > This is the start of the stable review cycle for the 5.15.61 release.
> > There are 779 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, 17 Aug 2022 18:01:29 +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.61-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-5.15.y
> > and the diffstat can be found below.
> >
> > thanks,
> >
> > greg k-h
>
> The powerpc defconfig failed on stable-rc 5.15.
>
> * powerpc, build
> - gcc-10-ppc6xx_defconfig
> - gcc-11-ppc6xx_defconfig
> - gcc-8-ppc6xx_defconfig
> - gcc-9-ppc6xx_defconfig
>
> arch/powerpc/sysdev/fsl_pci.c: In function 'fsl_add_bridge':
> arch/powerpc/sysdev/fsl_pci.c:601:39: error:
> 'PCI_CLASS_BRIDGE_PCI_NORMAL' undeclared (first use in this function);
> did you mean 'PCI_CLASS_BRIDGE_PCI'?
> 601 | class_code |= PCI_CLASS_BRIDGE_PCI_NORMAL << 8;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> | PCI_CLASS_BRIDGE_PCI
> arch/powerpc/sysdev/fsl_pci.c:601:39: note: each undeclared identifier
> is reported only once for each function it appears in
> make[3]: *** [scripts/Makefile.build:289: arch/powerpc/sysdev/fsl_pci.o] Error 1

Hello, this is probably because of missing PCI_CLASS_BRIDGE_PCI_NORMAL
define which was added in this change:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/include/linux/pci_ids.h?id=904b10fb189cc15376e9bfce1ef0282e68b0b004

> Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
>
> Steps to reproduce:
> --------------------
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
> # See https://docs.tuxmake.org/ for complete documentation.
> # Original tuxmake command with fragments listed below.
>
> tuxmake --runtime podman --target-arch powerpc --toolchain gcc-11
> --kconfig ppc6xx_defconfig
>
>
> --
> Linaro LKFT
> https://lkft.linaro.org