Re: Linux 5.16-rc1

From: Guenter Roeck
Date: Mon Nov 15 2021 - 12:07:45 EST


On 11/14/21 9:21 PM, Linus Torvalds wrote:
On Sun, Nov 14, 2021 at 8:56 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:

With gcc 5.4, mips:mapta_defconfig
mips-linux-gcc.br_real: error: unrecognized command line option ‘-Wimplicit-fallthrough=5’

This (and the gcc-6.x ones for sh4eb/sparc/xtensa) are already fixed
in my tree. They're all "old gcc didn't support that flag" things with
a trivial one-liner fix.

I was hoping you didn't have older gcc versions, but you clearly do ;^p


Top of tree is a bit better:

Build results:
total: 153 pass: 141 fail: 12
Failed builds:
arm:allmodconfig
arm64:allmodconfig
csky:defconfig
csky:allmodconfig
mips:allmodconfig
parisc:allmodconfig
powerpc:allmodconfig
powerpc:ppc6xx_defconfig
riscv32:allmodconfig
riscv:allmodconfig
s390:allmodconfig
sparc64:allmodconfig
Qemu test results:
total: 482 pass: 476 fail: 6
Failed tests:
ppc64:mac99:ppc64_book3s_defconfig:smp:net,ne2k_pci:initrd
ppc64:mac99:ppc64_book3s_defconfig:smp:net,pcnet:ide:rootfs
ppc64:mac99:ppc64_book3s_defconfig:smp:net,e1000:sdhci:mmc:rootfs
ppc64:mac99:ppc64_book3s_defconfig:smp:net,e1000e:nvme:rootfs
ppc64:mac99:ppc64_book3s_defconfig:smp:net,virtio-net:scsi[DC395]:rootfs

Errors:

In function 'memcmp',
inlined from 'kasan_memcmp' at lib/test_kasan.c:897:2:
include/linux/fortify-string.h:263:25: error: call to '__read_overflow' declared with attribute error: detected read beyond size of object

Fixed in linux-next with commit 0fa83c99044a ("lib/test_kasan.c: use underlying
string helpers")


fs/netfs/read_helper.c: In function 'netfs_rreq_unlock':
fs/netfs/read_helper.c:435:25: error: implicit declaration of function 'flush_dcache_folio'

Fixed in linux-next with commit d2f0559fc2d1 ("csky,sparc: Declare flush_dcache_folio()").

mips:allmodconfig:

ERROR: modpost: missing MODULE_LICENSE() in drivers/pci/controller/pcie-mt7621.o
ERROR: modpost: "mips_cm_unlock_other" [drivers/pci/controller/pcie-mt7621.ko] undefined!
ERROR: modpost: "mips_cpc_base" [drivers/pci/controller/pcie-mt7621.ko] undefined!
ERROR: modpost: "mips_cm_lock_other" [drivers/pci/controller/pcie-mt7621.ko] undefined!
ERROR: modpost: "mips_cm_is64" [drivers/pci/controller/pcie-mt7621.ko] undefined!
ERROR: modpost: "mips_gcr_base" [drivers/pci/controller/pcie-mt7621.ko] undefined!

Not fixed in -next. Caused by commit 2bdd5238e756 ("PCI: mt7621: Add MediaTek MT7621
PCIe host controller driver") which states "depends on (RALINK && SOC_MT7621) ||
(MIPS && COMPILE_TEST)" (I guess mips:allmodconfig wasn't tested).


parisc:allmodconfig: Lots of build failures in arch/parisc/include/asm/jump_label.h.
Not fixed in -next. The problem seens to be related to the thread_info changes,
or at least bisect points to commit 01463374c50e ("Merge tag 'cpu-to-thread_info-v5.16-rc1'
of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux").


powerpc:allmodconfig

fs/ntfs/aops.c: In function 'ntfs_write_mst_block':
fs/ntfs/aops.c:1311:1: error: the frame size of 2240 bytes is larger than 2048 bytes

Bisect points to commit f22969a6604 ("powerpc/64s: Default to 64K pages for
64 bit book3s"), and reverting that commit does fix the problem.
The problem is
ntfs_inode *locked_nis[PAGE_SIZE / NTFS_BLOCK_SIZE];

I don't see the problem in next-20211115, but I don't immediately see how it was fixed there.


powerpc:ppc6xx_defconfig

arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c: In function 'mcu_remove':
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c:189:13: error: unused variable 'ret'

Caused by commit 5d354dc35ebb ("powerpc/83xx/mpc8349emitx: Make mcu_gpiochip_remove()
return void"). Still seen in -next.


powerpc:qemu_ppc64_book3s_defconfig:

arch/powerpc/mm/slice.c: In function ‘slice_get_unmapped_area’:
arch/powerpc/mm/slice.c:639:1: error: the frame size of 1056 bytes is larger than 1024 bytes

Bisect again points to commit f22969a6604 ("powerpc/64s: Default to 64K pages
for 64 bit book3s"), and reverting that commit does fix the problem.
This is still seen in -next.

Guenter