Re: clang/objtool failures on linux-next

From: Josh Poimboeuf

Date: Fri Mar 06 2026 - 20:38:20 EST


On Fri, Mar 06, 2026 at 11:04:50PM +0100, Arnd Bergmann wrote:
> On Fri, Mar 6, 2026, at 22:17, Josh Poimboeuf wrote:
> > On Fri, Mar 06, 2026 at 10:02:54PM +0100, Arnd Bergmann wrote:
> >>
> >> drivers/gpu/drm/amd/amdgpu/amdgpu_cs.o: warning: objtool: amdgpu_cs_parser_bos+0x723: unreachable instruction
> >> drivers/gpu/drm/msm/msm.o: warning: objtool: msm_gem_vm_close+0x1cf: unreachable instruction
> >> drivers/gpu/drm/panthor/panthor.o: warning: objtool: panthor_ioctl_vm_bind+0x32b: __stack_chk_fail() missing __noreturn in .c/.h or NORETURN() in noreturns.h
> >> drivers/gpu/drm/panthor/panthor.o: warning: objtool: panthor_ioctl_vm_bind_async+0x285: unreachable instruction
> >> drivers/gpu/drm/panthor/panthor_drv.o: warning: objtool: panthor_ioctl_vm_bind+0x2df: unreachable instruction
> >> drivers/gpu/drm/xe/xe_bo.o: warning: objtool: xe_bo_create_pin_map_at_novm+0x11d: unreachable instruction
> >> drivers/iio/imu/bmi160/bmi160_core.o: warning: objtool: bmi160_setup_irq() falls through to next function __cfi_bmi160_core_runtime_resume()
> >> kernel/bpf/core.o: warning: objtool: ___bpf_prog_run+0x217: sibling call from callable instruction with modified stack frame
> >> sound/soc/codecs/wcd9335.o: warning: objtool: wcd9335_slimbus_irq() falls through to next function __cfi_wcd9335_set_channel_map()
> >> vmlinux.o: warning: objtool: ___bpf_prog_run+0x1d4: sibling call from callable instruction with modified stack frame
> >> vmlinux.o: warning: objtool: hdmi_power_on_full.isra.0+0xd6: hdmi_pll_compute() missing __noreturn in .c/.h or NORETURN() in noreturns.h
> >>
> >> If you want to investigate those, I can send you the configs and/or
> >> object files for these as well.
> >
> > Yes, please send those and I'll take a look. Thanks!
>
> These are the ones I could easily reproduce on today's linux-next:
>
> ==> build/x86/0xCE0DD5F4_defconfig/log <==
> vmlinux.o: warning: objtool: ___bpf_prog_run+0x1c5: sibling call from callable instruction with modified stack frame
>
> ==> build/x86/0x8FD83285_defconfig/log <==
> ...
> drivers/iio/imu/bmi160/bmi160_core.o: warning: objtool: bmi160_setup_irq() falls through to next function __cfi_bmi160_core_runtime_resume()
>
> ==> build/x86/0x4DF22811_defconfig/log <==
> sound/soc/codecs/wcd9335.o: warning: objtool: wcd9335_slimbus_irq() falls through to next function __cfi_wcd9335_set_channel_map()

I have fixes for these 3, will post the lot soonish.

--
Josh