Regression found on arm64 gcc-11 builds
Following build warnings / errors reported on stable-rc 5.10.
metadata:
git_describe: v5.10.81-156-g7f9de6888cf8
git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git_short_log: 7f9de6888cf8 (\"Linux 5.10.82-rc1\")
target_arch: arm64
toolchain: gcc-11
build error :
--------------
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
'HOSTCC=sccache gcc'
drivers/net/ipa/ipa_endpoint.c: In function
'ipa_endpoint_init_hol_block_enable':
drivers/net/ipa/ipa_endpoint.c:723:49: error: 'IPA_VERSION_4_5'
undeclared (first use in this function); did you mean
'IPA_VERSION_4_2'?
723 | if (enable && endpoint->ipa->version >= IPA_VERSION_4_5)
| ^~~~~~~~~~~~~~~
| IPA_VERSION_4_2
drivers/net/ipa/ipa_endpoint.c:723:49: note: each undeclared
identifier is reported only once for each function it appears in
make[4]: *** [scripts/Makefile.build:280:
drivers/net/ipa/ipa_endpoint.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [scripts/Makefile.build:497: drivers/net/ipa] Error 2
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
build link:
-----------
https://builds.tuxbuild.com//21MNrWsMVCZZPGZPpgMBMMYx2Kb/build.log
build config:
-------------
https://builds.tuxbuild.com//21MNrWsMVCZZPGZPpgMBMMYx2Kb/config
# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch arm64 --toolchain gcc-11
--kconfig defconfig \
--kconfig-add
https://builds.tuxbuild.com//21MNrWsMVCZZPGZPpgMBMMYx2Kb/config
--
Linaro LKFT
https://lkft.linaro.org
This is the start of the stable review cycle for the 5.10.81 release.
There are 21 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 Sun, 21 Nov 2021 17:14:35 +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.10.81-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.10.81-rc1
Subbaraman Narayanamurthy <quic_subbaram(a)quicinc.com>
thermal: Fix NULL pointer dereferences in of_thermal_ functions
Greg Thelen <gthelen(a)google.com>
perf/core: Avoid put_page() when GUP fails
Nathan Chancellor <nathan(a)kernel.org>
scripts/lld-version.sh: Rewrite based on upstream ld-version.sh
Gao Xiang <hsiangkao(a)linux.alibaba.com>
erofs: fix unsafe pagevec reuse of hooked pclusters
Yue Hu <huyue2(a)yulong.com>
erofs: remove the occupied parameter from z_erofs_pagevec_enqueue()
Marc Zyngier <maz(a)kernel.org>
PCI: Add MSI masking quirk for Nvidia ION AHCI
Marc Zyngier <maz(a)kernel.org>
PCI/MSI: Deal with devices lying about their MSI mask capability
Thomas Gleixner <tglx(a)linutronix.de>
PCI/MSI: Destroy sysfs before freeing entries
Sven Schnelle <svens(a)stackframe.org>
parisc/entry: fix trace test in syscall exit path
Peter Zijlstra <peterz(a)infradead.org>
x86/iopl: Fake iopl(3) CLI/STI usage
Nick Desaulniers <ndesaulniers(a)google.com>
arm64: vdso32: suppress error message for 'make mrproper'
Michael Riesch <michael.riesch(a)wolfvision.net>
net: stmmac: dwmac-rk: fix unbalanced pm_runtime_enable warnings
Wong Vee Khee <vee.khee.wong(a)linux.intel.com>
net: stmmac: fix issue where clk is being unprepared twice
Joakim Zhang <qiangqing.zhang(a)nxp.com>
net: stmmac: fix system hang if change mac address after interface ifdown
Yang Yingliang <yangyingliang(a)huawei.com>
net: stmmac: fix missing unlock on error in stmmac_suspend()
Wei Yongjun <weiyongjun1(a)huawei.com>
net: stmmac: platform: fix build error with !CONFIG_PM_SLEEP
Joakim Zhang <qiangqing.zhang(a)nxp.com>
net: stmmac: add clocks management for gmac driver
Masami Hiramatsu <mhiramat(a)kernel.org>
bootconfig: init: Fix memblock leak in xbc_make_cmdline()
Xie Yongji <xieyongji(a)bytedance.com>
loop: Use blk_validate_block_size() to validate block size
Xie Yongji <xieyongji(a)bytedance.com>
block: Add a helper to validate the block size
Kees Cook <keescook(a)chromium.org>
fortify: Explicitly disable Clang support
-------------
Diffstat:
Makefile | 4 +-
arch/arm64/kernel/vdso32/Makefile | 3 +-
arch/parisc/kernel/entry.S | 2 +-
arch/x86/include/asm/insn-eval.h | 1 +
arch/x86/include/asm/processor.h | 1 +
arch/x86/kernel/process.c | 1 +
arch/x86/kernel/traps.c | 34 +++++++
arch/x86/lib/insn-eval.c | 2 +-
drivers/block/loop.c | 17 +---
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 9 --
drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 +
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 87 ++++++++++++++--
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 111 ++++++++++++++++-----
.../net/ethernet/stmicro/stmmac/stmmac_platform.c | 30 ++++--
drivers/pci/msi.c | 27 ++---
drivers/pci/quirks.c | 6 ++
drivers/thermal/thermal_of.c | 9 +-
fs/erofs/zdata.c | 15 ++-
fs/erofs/zpvec.h | 14 ++-
include/linux/blkdev.h | 8 ++
include/linux/pci.h | 2 +
init/main.c | 1 +
kernel/events/core.c | 10 +-
scripts/lld-version.sh | 35 +++++--
security/Kconfig | 3 +
25 files changed, 320 insertions(+), 113 deletions(-)