[intel-tdx:guest-rebased 4/129] arch/x86/kernel/tdcall.o: warning: objtool: __tdx_module_call()+0x3f: missing int3 after ret

From: kernel test robot
Date: Sat Apr 23 2022 - 05:30:35 EST


Hi Kuppuswamy,

First bad commit (maybe != root cause):

tree: https://github.com/intel/tdx.git guest-rebased
head: 4c095660b91dbdd18042456e395af0deeef93485
commit: 78ee914ccc3ec6aba40ea3ffd044ea17b1aba9ce [4/129] x86/tdx: Add __tdx_module_call() and __tdx_hypercall() helper functions
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220423/202204231753.86pSanI4-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://github.com/intel/tdx/commit/78ee914ccc3ec6aba40ea3ffd044ea17b1aba9ce
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest-rebased
git checkout 78ee914ccc3ec6aba40ea3ffd044ea17b1aba9ce
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/

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

All warnings (new ones prefixed by >>):

>> arch/x86/kernel/tdcall.o: warning: objtool: __tdx_module_call()+0x3f: missing int3 after ret
>> arch/x86/kernel/tdcall.o: warning: objtool: __tdx_hypercall()+0x60: missing int3 after ret

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