Re: Linux 5.19-rc4

From: Guenter Roeck
Date: Sun Jun 26 2022 - 23:37:49 EST


On Sun, Jun 26, 2022 at 02:50:03PM -0700, Linus Torvalds wrote:
[ ... ]
>
> Please do go test. Thanks,

Build results:
total: 149 pass: 148 fail: 1
Failed builds:
powerpc:allmodconfig
Qemu test results:
total: 489 pass: 489 fail: 0

Build failure is

Error log:
powerpc64-linux-ld: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.o uses hard float, drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_resource.o uses soft float
powerpc64-linux-ld: failed to merge target specific data of file drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_resource.o
powerpc64-linux-ld: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.o uses hard float, drivers/gpu/drm/amd/amdgpu/../display/dc/dcn315/dcn315_resource.o uses soft float
powerpc64-linux-ld: failed to merge target specific data of file drivers/gpu/drm/amd/amdgpu/../display/dc/dcn315/dcn315_resource.o
powerpc64-linux-ld: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.o uses hard float, drivers/gpu/drm/amd/amdgpu/../display/dc/dcn316/dcn316_resource.o uses soft float
powerpc64-linux-ld: failed to merge target specific data of file drivers/gpu/drm/amd/amdgpu/../display/dc/dcn316/dcn316_resource.o

A suggested fix is at
https://lore.kernel.org/lkml/20220618232737.2036722-1-linux@xxxxxxxxxxxx/
but drm maintainers don't seem to be happy with it. I am not aware of an
alternate patch.

I still see the following runtime warning.

WARNING: CPU: 0 PID: 1 at lib/refcount.c:28 of_platform_bus_create+0x33c/0x3dc
refcount_t: underflow; use-after-free.

for which a fix is available in -next (ARM: 9207/1: amba: fix refcount
underflow if amba_device_add() fails).

Also, there is

WARNING: CPU: 0 PID: 1 at kernel/smp.c:905 smp_call_function_many_cond+0x280/0x544

which is seen on some arm platforms if KFENCE is enabled. This is not a
new problem. I'll probably disable KFENCE on affected platforms to reduce
the noise.

Guenter