Re: [PATCH v3 4/4] x86/snp: Convert shared memory back to private on kexec
From: kernel test robot
Date: Fri Apr 05 2024 - 07:32:00 EST
Hi Ashish,
kernel test robot noticed the following build errors:
[auto build test ERROR on efi/next]
[also build test ERROR on linus/master v6.9-rc2 next-20240405]
[cannot apply to tip/x86/core tip/master tip/x86/mm tip/auto-latest]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ashish-Kalra/efi-x86-skip-efi_arch_mem_reserve-in-case-of-kexec/20240405-071346
base: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
patch link: https://lore.kernel.org/r/41db1ebbe58fb082dbe848f1c666ed23e83f1752.1712270976.git.ashish.kalra%40amd.com
patch subject: [PATCH v3 4/4] x86/snp: Convert shared memory back to private on kexec
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20240405/202404051940.mApchEy0-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240405/202404051940.mApchEy0-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404051940.mApchEy0-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem
>>> defined at init.c
>>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a
>>> defined at extable.c
>>> arch/x86/mm/extable.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem
>>> defined at init.c
>>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a
>>> defined at fault.c
>>> arch/x86/mm/fault.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem
>>> defined at init.c
>>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a
>>> defined at amd.c
>>> arch/x86/kernel/cpu/amd.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem
>>> defined at init.c
>>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a
>>> defined at common.c
>>> arch/x86/kernel/cpu/common.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem
>>> defined at init.c
>>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a
>>> defined at probe_roms.c
>>> arch/x86/kernel/probe_roms.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem
>>> defined at init.c
>>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a
>>> defined at nmi.c
>>> arch/x86/kernel/nmi.o:(.text+0x0) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: snp_kexec_unshare_mem
>>> defined at init.c
>>> arch/x86/realmode/init.o:(snp_kexec_unshare_mem) in archive vmlinux.a
>>> defined at head64.c
>>> arch/x86/kernel/head64.o:(.text+0x0) in archive vmlinux.a
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki