* [openeuler:openEuler-1.0-LTS 15383/23901] fs/proc/etmem_scan.c:823: undefined reference to `kvm_flush_remote_tlbs'
@ 2024-10-29 11:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-29 11:56 UTC (permalink / raw)
To: kernel, Cheng Jian; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 7b2baa68ab7f9f7fc4023e8121ddb050b2e45f30
commit: bad4d8833739acc8eef306e7ad5c7877f9f4f0fb [15383/23901] etmem: add etmem-scan feature
config: x86_64-randconfig-072-20241029 (https://download.01.org/0day-ci/archive/20241029/202410291925.OMbLBBuG-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241029/202410291925.OMbLBBuG-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410291925.OMbLBBuG-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: warning: arch/x86/lib/csum-copy_64.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: arch/x86/lib/csum-copy_64.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions
ld: fs/proc/etmem_scan.o: in function `page_scan_release':
>> fs/proc/etmem_scan.c:823: undefined reference to `kvm_flush_remote_tlbs'
vim +823 fs/proc/etmem_scan.c
804
805 static int page_scan_release(struct inode *inode, struct file *file)
806 {
807 struct mm_struct *mm = file->private_data;
808 struct kvm *kvm;
809 int ret = 0;
810
811 if (!mm) {
812 ret = -EBADF;
813 goto out;
814 }
815
816 kvm = mm_kvm(mm);
817 if (!kvm) {
818 ret = -EINVAL;
819 goto out;
820 }
821 #ifdef CONFIG_X86_64
822 spin_lock(&kvm->mmu_lock);
> 823 kvm_flush_remote_tlbs(kvm);
824 spin_unlock(&kvm->mmu_lock);
825 #endif
826
827 out:
828 module_put(THIS_MODULE);
829 return ret;
830 }
831
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-29 11:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-29 11:56 [openeuler:openEuler-1.0-LTS 15383/23901] fs/proc/etmem_scan.c:823: undefined reference to `kvm_flush_remote_tlbs' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.