An objtool warning from mainline

From: Paul E. McKenney
Date: Wed Apr 26 2023 - 19:57:42 EST


Hello!

I am seeing a couple of objtool warnings in allmodconfig builds in
current mainline. One of them is fixed by Borislav's patch [1], but I
do not see a fix for the other one:

vmlinux.o: warning: objtool: exc_nmi+0x2b3: call to __const_udelay() leaves .noinstr.text section

Borislav's older fix [2] is in tree.

I see this with gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04) and also with
gcc version 8.5.0 20210514 (Red Hat 8.5.0-18) (GCC).

Thoughts?

Thanx, Paul

[1] https://www.spinics.net/lists/kernel/msg4697317.html
[2] https://lore.kernel.org/lkml/20211104144035.20107-13-bp@xxxxxxxxx/