* [s390:features 50/52] arch/s390/kvm/../../../virt/kvm/vfio.c:60:(.text+0x186): relocation truncated to fit: R_390_PLT32DBL against undefined symbol `vfio_file_enforced_coherent'
@ 2024-05-02 23:04 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-02 23:04 UTC (permalink / raw)
To: Alexander Gordeev; +Cc: oe-kbuild-all, linux-s390
tree: https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git features
head: 7f20dda18a42526c4ce19c043c5e5f62e6c52d64
commit: 9ecaa2e94e602a3cbcbfe182535f6297f7630b98 [50/52] s390: Relocate vmlinux ELF data to virtual address space
config: s390-randconfig-r026-20230815 (https://download.01.org/0day-ci/archive/20240503/202405030642.Dzc41pZn-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240503/202405030642.Dzc41pZn-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/202405030642.Dzc41pZn-lkp@intel.com/
All errors (new ones prefixed by >>):
virt/kvm/vfio.o: in function `kvm_vfio_file_enforced_coherent':
>> arch/s390/kvm/../../../virt/kvm/vfio.c:60:(.text+0x186): relocation truncated to fit: R_390_PLT32DBL against undefined symbol `vfio_file_enforced_coherent'
virt/kvm/vfio.o: in function `kvm_vfio_file_set_kvm':
>> arch/s390/kvm/../../../virt/kvm/vfio.c:46:(.text+0x346): relocation truncated to fit: R_390_PLT32DBL against undefined symbol `vfio_file_set_kvm'
arch/s390/kvm/../../../virt/kvm/vfio.c:46:(.text+0x582): relocation truncated to fit: R_390_PLT32DBL against undefined symbol `vfio_file_set_kvm'
virt/kvm/vfio.o: in function `kvm_vfio_file_is_valid':
>> arch/s390/kvm/../../../virt/kvm/vfio.c:76:(.text+0x7f2): relocation truncated to fit: R_390_PLT32DBL against undefined symbol `vfio_file_is_valid'
virt/kvm/vfio.o: in function `kvm_vfio_file_set_kvm':
arch/s390/kvm/../../../virt/kvm/vfio.c:46:(.text+0xa26): relocation truncated to fit: R_390_PLT32DBL against undefined symbol `vfio_file_set_kvm'
vim +60 arch/s390/kvm/../../../virt/kvm/vfio.c
ec53500fae421e Alex Williamson 2013-10-30 37
ba70a89f3c2a82 Jason Gunthorpe 2022-05-04 38 static void kvm_vfio_file_set_kvm(struct file *file, struct kvm *kvm)
2fc1bec1588353 Jike Song 2016-12-01 39 {
ba70a89f3c2a82 Jason Gunthorpe 2022-05-04 40 void (*fn)(struct file *file, struct kvm *kvm);
2fc1bec1588353 Jike Song 2016-12-01 41
ba70a89f3c2a82 Jason Gunthorpe 2022-05-04 42 fn = symbol_get(vfio_file_set_kvm);
2fc1bec1588353 Jike Song 2016-12-01 43 if (!fn)
2fc1bec1588353 Jike Song 2016-12-01 44 return;
2fc1bec1588353 Jike Song 2016-12-01 45
ba70a89f3c2a82 Jason Gunthorpe 2022-05-04 @46 fn(file, kvm);
2fc1bec1588353 Jike Song 2016-12-01 47
ba70a89f3c2a82 Jason Gunthorpe 2022-05-04 48 symbol_put(vfio_file_set_kvm);
2fc1bec1588353 Jike Song 2016-12-01 49 }
2fc1bec1588353 Jike Song 2016-12-01 50
a905ad043f32bb Jason Gunthorpe 2022-05-04 51 static bool kvm_vfio_file_enforced_coherent(struct file *file)
9d830d47c7a756 Alex Williamson 2014-02-26 52 {
a905ad043f32bb Jason Gunthorpe 2022-05-04 53 bool (*fn)(struct file *file);
a905ad043f32bb Jason Gunthorpe 2022-05-04 54 bool ret;
9d830d47c7a756 Alex Williamson 2014-02-26 55
a905ad043f32bb Jason Gunthorpe 2022-05-04 56 fn = symbol_get(vfio_file_enforced_coherent);
9d830d47c7a756 Alex Williamson 2014-02-26 57 if (!fn)
9d830d47c7a756 Alex Williamson 2014-02-26 58 return false;
9d830d47c7a756 Alex Williamson 2014-02-26 59
a905ad043f32bb Jason Gunthorpe 2022-05-04 @60 ret = fn(file);
9d830d47c7a756 Alex Williamson 2014-02-26 61
a905ad043f32bb Jason Gunthorpe 2022-05-04 62 symbol_put(vfio_file_enforced_coherent);
9d830d47c7a756 Alex Williamson 2014-02-26 63
a905ad043f32bb Jason Gunthorpe 2022-05-04 64 return ret;
9d830d47c7a756 Alex Williamson 2014-02-26 65 }
9d830d47c7a756 Alex Williamson 2014-02-26 66
b1a59be8a2b64d Yi Liu 2023-07-18 67 static bool kvm_vfio_file_is_valid(struct file *file)
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 68 {
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 69 bool (*fn)(struct file *file);
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 70 bool ret;
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 71
b1a59be8a2b64d Yi Liu 2023-07-18 72 fn = symbol_get(vfio_file_is_valid);
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 73 if (!fn)
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 74 return false;
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 75
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 @76 ret = fn(file);
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 77
b1a59be8a2b64d Yi Liu 2023-07-18 78 symbol_put(vfio_file_is_valid);
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 79
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 80 return ret;
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 81 }
4b22ef042d6f54 Jason Gunthorpe 2022-10-07 82
:::::: The code at line 60 was first introduced by commit
:::::: a905ad043f32bbb0c35d4325036397f20f30c8a9 vfio: Change vfio_external_check_extension() to vfio_file_enforced_coherent()
:::::: TO: Jason Gunthorpe <jgg@nvidia.com>
:::::: CC: Alex Williamson <alex.williamson@redhat.com>
--
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-05-02 23:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-02 23:04 [s390:features 50/52] arch/s390/kvm/../../../virt/kvm/vfio.c:60:(.text+0x186): relocation truncated to fit: R_390_PLT32DBL against undefined symbol `vfio_file_enforced_coherent' 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.