]> www.infradead.org Git - users/hch/misc.git/commit
bpf, x86: Fix objtool warning for timed may_goto
authorKumar Kartikeya Dwivedi <memxor@gmail.com>
Sat, 15 Mar 2025 01:30:39 +0000 (18:30 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 15 Mar 2025 22:55:14 +0000 (15:55 -0700)
commit812f7702d83d84cdf776d75e2ba5386de9e8acc0
tree1e2be1784d505a3cbd1d574220a7fc2231dee1c0
parentbb2243f4328bc2e4aa4d8566a5a0a7f9ce947570
bpf, x86: Fix objtool warning for timed may_goto

Kernel test robot reported "call without frame pointer save/setup"
warning in objtool. This will make stack traces unreliable on
CONFIG_UNWINDER_FRAME_POINTER=y, however it works on
CONFIG_UNWINDER_ORC=y. Fix this by creating a stack frame for the
function.

Fixes: 2fb761823ead ("bpf, x86: Add x86 JIT support for timed may_goto")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503071350.QOhsHVaW-lkp@intel.com/
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20250315013039.1625048-1-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/x86/net/bpf_timed_may_goto.S