Hi Tony,
I love your patch! Yet something to improve:
[auto build test ERROR on tip/x86/sgx]
[also build test ERROR on rafael-pm/linux-next hnaz-mm/master v5.16-rc1 next-20211118]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Tony-Luck/x86-sgx-Add-new-sgx_ep...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
71eba1c0939e3b1ad1b71fe0171de30e265437e3
config: x86_64-randconfig-r001-20211025 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
a461fa64bb37cffd73f683c74f6b0780379fc2ca)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/0day-ci/linux/commit/bb9a962c5c9e30df5df1546cf8843b3ba...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Tony-Luck/x86-sgx-Add-new-sgx_epc_page-flag-bit-to-mark-free-pages/20211019-052547
git checkout bb9a962c5c9e30df5df1546cf8843b3ba3f1476a
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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(a)intel.com>
All errors (new ones prefixed by >>):
> ld.lld: error: undefined symbol: xa_store_range
>> referenced by main.c:654 (arch/x86/kernel/cpu/sgx/main.c:654)
>> kernel/cpu/sgx/main.o:(sgx_setup_epc_section) in archive
arch/x86/built-in.a
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org