Re: [patch V6 00/37] x86/entry: Rework leftovers and merge plan

From: Thomas Gleixner
Date: Mon May 18 2020 - 16:25:35 EST


Peter Zijlstra <peterz@xxxxxxxxxxxxx> writes:
> So on top of you entry-v8-full; I had to chase one of those
> instrumentation_end() escapes an (extended) basic block chase (again!).
>
> --- a/arch/x86/include/asm/bug.h
> +++ b/arch/x86/include/asm/bug.h
> @@ -79,8 +79,8 @@ do { \
> do { \
> instrumentation_begin(); \
> _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags)); \
> - instrumentation_end(); \
> annotate_reachable(); \
> + instrumentation_end(); \
> } while (0)

I just applied this part and rebuilt:

vmlinux.o: warning: objtool: rcu_eqs_enter.constprop.77()+0xa9: call to
rcu_preempt_deferred_qs() leaves .noinstr.text section

Did it go away after you disabled DEBUG_ENTRY perhaps?