Re: [PATCH 4.19 00/98] 4.19.321-rc1 review

From: Naresh Kamboju
Date: Mon Sep 02 2024 - 05:01:24 EST


On Sun, 1 Sept 2024 at 21:50, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> This is the start of the stable review cycle for the 4.19.321 release.
> There are 98 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 Tue, 03 Sep 2024 16:07:34 +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/v4.x/stable-review/patch-4.19.321-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-4.19.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Apart from Powerpc build regressions we have noticed s390 build regression.
The S390 defconfig builds failed on Linux stable-rc 4.19.321-rc1 due to
following build warnings / errors with clang-18 and gcc-12.

This is a same problem on current stable-rc review on
- 4.19.321-rc1 review

In the case of stable-rc linux-4.19.y

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

Following two commits have been added on 4.19.321-rc1.
-------
s390/cio: rename bitmap_size() -> idset_bitmap_size()
commit c1023f5634b9bfcbfff0dc200245309e3cde9b54 upstream.

bitmap: introduce generic optimized bitmap_size()
commit a37fbe666c016fd89e4460d0ebfcea05baba46dc upstream.


build log:
--------
drivers/s390/cio/idset.c: In function 'idset_bitmap_size':
drivers/s390/cio/idset.c:21:28: error: implicit declaration of
function 'size_mul' [-Werror=implicit-function-declaration]
21 | return bitmap_size(size_mul(num_ssid, num_id));
| ^~~~~~~~
include/uapi/linux/const.h:32:44: note: in definition of macro
'__ALIGN_KERNEL_MASK'
32 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
| ^
include/linux/kernel.h:58:33: note: in expansion of macro '__ALIGN_KERNEL'
58 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a))
| ^~~~~~~~~~~~~~
include/linux/bitmap.h:215:34: note: in expansion of macro 'ALIGN'
215 | #define bitmap_size(nbits) (ALIGN(nbits, BITS_PER_LONG) /
BITS_PER_BYTE)
| ^~~~~
drivers/s390/cio/idset.c:21:16: note: in expansion of macro 'bitmap_size'
21 | return bitmap_size(size_mul(num_ssid, num_id));
| ^~~~~~~~~~~
cc1: some warnings being treated as errors

Build Log links,
--------
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-4.19.y/build/v4.19.320-99-g0cc44dd838a6/testrun/24994013/suite/build/test/gcc-12-defconfig/log


metadata:
----
git describe: v4.19.320-99-g0cc44dd838a6
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git sha: 0cc44dd838a6e3fee60d7af3ca412c4d1b824562
kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2lTf8qakoJKDjTgS3TvH3naApk1/config
build url: https://storage.tuxsuite.com/public/linaro/lkft/builds/2lTf8qakoJKDjTgS3TvH3naApk1/
toolchain: clang-18 and gcc-12
config: defconfig
arch: S390

Steps to reproduce:
---------
- tuxmake --runtime podman --target-arch s390 --toolchain gcc-12
--kconfig defconfig

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