Re: vmlinux.o: warning: objtool: xen_sched_clock+0x4a: call to ftrace_likely_update() leaves .noinstr.text section

From: Josh Poimboeuf
Date: Wed May 24 2023 - 17:02:00 EST


On Wed, May 24, 2023 at 04:29:54PM +0200, Peter Zijlstra wrote:
> > vmlinux.o: warning: objtool: acpi_idle_enter+0x65: call to ftrace_likely_update() leaves .noinstr.text section
> > vmlinux.o: warning: objtool: ibt_selftest+0x1e: return with modified stack frame
>
> Robot folks; could you please discard all:
>
> ftrace_likey_update.*noinstr
>
> warnings, they're -EWONTFIX.

Could we just make CONFIG_TRACE_BRANCH_PROFILING incompatible with
CONFIG_NOINSTR_VALIDATION?

--
Josh