Re: [BUG] vmlinux.o: warning: objtool: iommu_dma_sw_msi() falls through to next function alloc_io_pgtable_ops()
From: Josh Poimboeuf
Date: Thu Mar 27 2025 - 01:45:02 EST
On Wed, Mar 26, 2025 at 04:45:52PM -0700, Paul E. McKenney wrote:
> On Wed, Mar 26, 2025 at 04:18:51PM -0700, Paul E. McKenney wrote:
> > Hello!
> >
> > Building next-20250326 using clang version 19.1.7 (CentOS 19.1.7-1.el9)
> > gets me the following warning:
>
> Apologies, but make that gcc version 11.5.0 20240719 (Red Hat 11.5.0-5) (GCC).
> (Hey, it has almost always been clang in the past...)
>
> Also, the runs that have this problem are the ones whose kernels are
> built with CONFIG_DEBUG_LOCK_ALLOC=y, but that do *not* enable KASAN.
> For rcutorture, these are scenarios SRCU-P, TREE02, TREE05, TASKS01,
> TRACE02, RUDE01, SRCU-T, and TINY02.
Thanks, I posted a fix here:
https://lore.kernel.org/0c801ae017ec078cacd39f8f0898fc7780535f85.1743053325.git.jpoimboe@xxxxxxxxxx
--
Josh