public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-s390@vger.kernel.org
Subject: [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'
Date: Fri, 3 May 2024 07:04:21 +0800	[thread overview]
Message-ID: <202405030642.Dzc41pZn-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-05-02 23:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202405030642.Dzc41pZn-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=agordeev@linux.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox