vmlinux.o: warning: objtool: __fentry__()+0x8c: call without frame pointer save/setup

From: kernel test robot
Date: Mon Apr 11 2022 - 09:05:16 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e
commit: ed53a0d971926e484d86cce617ec02a7ee85c3fe x86/alternative: Use .ibt_endbr_seal to seal indirect calls
date: 4 weeks ago
config: x86_64-randconfig-r022-20220411 (https://download.01.org/0day-ci/archive/20220411/202204112113.ys4DIvVl-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ed53a0d971926e484d86cce617ec02a7ee85c3fe
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ed53a0d971926e484d86cce617ec02a7ee85c3fe
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

vmlinux.o: warning: objtool: ibt_selftest()+0x11: sibling call from callable instruction with modified stack frame
>> vmlinux.o: warning: objtool: __fentry__()+0x8c: call without frame pointer save/setup
vmlinux.o: warning: objtool: do_syscall_64()+0x10: call to static_key_count.constprop.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: mce_start()+0x3d: call to __kcsan_check_access() leaves .noinstr.text section
vmlinux.o: warning: objtool: mce_gather_info()+0x3f: call to v8086_mode.constprop.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: mce_read_aux()+0xe4: call to mca_msr_reg() leaves .noinstr.text section
vmlinux.o: warning: objtool: do_machine_check()+0xab: call to mce_no_way_out() leaves .noinstr.text section
vmlinux.o: warning: objtool: mce_severity_amd.constprop.0()+0x45: call to mce_severity_amd_smca() leaves .noinstr.text section
vmlinux.o: warning: objtool: enter_from_user_mode()+0x1d: call to test_bit() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x21: call to test_bit() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x1d: call to test_bit() leaves .noinstr.text section
vmlinux.o: warning: objtool: exit_to_user_mode()+0x1f: call to static_key_count() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_exit_to_user_mode()+0x38: call to static_key_count() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x1d: call to test_bit() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_exit_to_user_mode()+0x26: call to static_key_count() leaves .noinstr.text section
vmlinux.o: warning: objtool: ibt_selftest()+0x1e: return with modified stack frame

--
0-DAY CI Kernel Test Service
https://01.org/lkp