* [kvm:guestmemfd 59/59] arch/s390/kvm/../../../virt/kvm/kvm_main.c:5517:14: error: 'KVM_TRACE_ENABLE' undeclared; did you mean 'KVM_PV_ENABLE'?
@ 2023-11-08 17:34 kernel test robot
2023-11-08 20:19 ` Sean Christopherson
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2023-11-08 17:34 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: oe-kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei
tree: https://git.kernel.org/pub/scm/virt/kvm/kvm.git guestmemfd
head: cd689ddd5c93ea177b28029d57c13e18b160875b
commit: cd689ddd5c93ea177b28029d57c13e18b160875b [59/59] KVM: remove deprecated UAPIs
config: s390-defconfig (https://download.01.org/0day-ci/archive/20231109/202311090100.Zt0adRi9-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/20231109/202311090100.Zt0adRi9-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/202311090100.Zt0adRi9-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/s390/kvm/../../../virt/kvm/kvm_main.c: In function 'kvm_dev_ioctl':
>> arch/s390/kvm/../../../virt/kvm/kvm_main.c:5517:14: error: 'KVM_TRACE_ENABLE' undeclared (first use in this function); did you mean 'KVM_PV_ENABLE'?
5517 | case KVM_TRACE_ENABLE:
| ^~~~~~~~~~~~~~~~
| KVM_PV_ENABLE
arch/s390/kvm/../../../virt/kvm/kvm_main.c:5517:14: note: each undeclared identifier is reported only once for each function it appears in
>> arch/s390/kvm/../../../virt/kvm/kvm_main.c:5518:14: error: 'KVM_TRACE_PAUSE' undeclared (first use in this function)
5518 | case KVM_TRACE_PAUSE:
| ^~~~~~~~~~~~~~~
>> arch/s390/kvm/../../../virt/kvm/kvm_main.c:5519:14: error: 'KVM_TRACE_DISABLE' undeclared (first use in this function); did you mean 'KVM_PV_DISABLE'?
5519 | case KVM_TRACE_DISABLE:
| ^~~~~~~~~~~~~~~~~
| KVM_PV_DISABLE
vim +5517 arch/s390/kvm/../../../virt/kvm/kvm_main.c
f17abe9a44425f drivers/kvm/kvm_main.c Avi Kivity 2007-02-21 5488
f17abe9a44425f drivers/kvm/kvm_main.c Avi Kivity 2007-02-21 5489 static long kvm_dev_ioctl(struct file *filp,
f17abe9a44425f drivers/kvm/kvm_main.c Avi Kivity 2007-02-21 5490 unsigned int ioctl, unsigned long arg)
f17abe9a44425f drivers/kvm/kvm_main.c Avi Kivity 2007-02-21 5491 {
f15ba52bfabc3b virt/kvm/kvm_main.c Thomas Huth 2023-02-08 5492 int r = -EINVAL;
f17abe9a44425f drivers/kvm/kvm_main.c Avi Kivity 2007-02-21 5493
f17abe9a44425f drivers/kvm/kvm_main.c Avi Kivity 2007-02-21 5494 switch (ioctl) {
f17abe9a44425f drivers/kvm/kvm_main.c Avi Kivity 2007-02-21 5495 case KVM_GET_API_VERSION:
f0fe510864a452 drivers/kvm/kvm_main.c Avi Kivity 2007-03-07 5496 if (arg)
f0fe510864a452 drivers/kvm/kvm_main.c Avi Kivity 2007-03-07 5497 goto out;
f17abe9a44425f drivers/kvm/kvm_main.c Avi Kivity 2007-02-21 5498 r = KVM_API_VERSION;
f17abe9a44425f drivers/kvm/kvm_main.c Avi Kivity 2007-02-21 5499 break;
f17abe9a44425f drivers/kvm/kvm_main.c Avi Kivity 2007-02-21 5500 case KVM_CREATE_VM:
e08b96371625aa virt/kvm/kvm_main.c Carsten Otte 2012-01-04 5501 r = kvm_dev_ioctl_create_vm(arg);
f17abe9a44425f drivers/kvm/kvm_main.c Avi Kivity 2007-02-21 5502 break;
018d00d2fef27f drivers/kvm/kvm_main.c Zhang Xiantao 2007-11-15 5503 case KVM_CHECK_EXTENSION:
784aa3d7fb6f72 virt/kvm/kvm_main.c Alexander Graf 2014-07-14 5504 r = kvm_vm_ioctl_check_extension_generic(NULL, arg);
85f455f7ddbed4 drivers/kvm/kvm_main.c Eddie Dong 2007-07-06 5505 break;
07c45a366d89f8 drivers/kvm/kvm_main.c Avi Kivity 2007-03-07 5506 case KVM_GET_VCPU_MMAP_SIZE:
07c45a366d89f8 drivers/kvm/kvm_main.c Avi Kivity 2007-03-07 5507 if (arg)
07c45a366d89f8 drivers/kvm/kvm_main.c Avi Kivity 2007-03-07 5508 goto out;
adb1ff46754a87 virt/kvm/kvm_main.c Avi Kivity 2008-01-24 5509 r = PAGE_SIZE; /* struct kvm_run */
adb1ff46754a87 virt/kvm/kvm_main.c Avi Kivity 2008-01-24 5510 #ifdef CONFIG_X86
adb1ff46754a87 virt/kvm/kvm_main.c Avi Kivity 2008-01-24 5511 r += PAGE_SIZE; /* pio data page */
5f94c1741bdc7a virt/kvm/kvm_main.c Laurent Vivier 2008-05-30 5512 #endif
4b4357e02523ec virt/kvm/kvm_main.c Paolo Bonzini 2017-03-31 5513 #ifdef CONFIG_KVM_MMIO
5f94c1741bdc7a virt/kvm/kvm_main.c Laurent Vivier 2008-05-30 5514 r += PAGE_SIZE; /* coalesced mmio ring page */
adb1ff46754a87 virt/kvm/kvm_main.c Avi Kivity 2008-01-24 5515 #endif
07c45a366d89f8 drivers/kvm/kvm_main.c Avi Kivity 2007-03-07 5516 break;
d4c9ff2d1b78e3 virt/kvm/kvm_main.c Feng(Eric Liu 2008-04-10 @5517) case KVM_TRACE_ENABLE:
d4c9ff2d1b78e3 virt/kvm/kvm_main.c Feng(Eric Liu 2008-04-10 @5518) case KVM_TRACE_PAUSE:
d4c9ff2d1b78e3 virt/kvm/kvm_main.c Feng(Eric Liu 2008-04-10 @5519) case KVM_TRACE_DISABLE:
2023a29cbe3413 virt/kvm/kvm_main.c Marcelo Tosatti 2009-06-18 5520 r = -EOPNOTSUPP;
d4c9ff2d1b78e3 virt/kvm/kvm_main.c Feng(Eric Liu 2008-04-10 5521) break;
6aa8b732ca01c3 drivers/kvm/kvm_main.c Avi Kivity 2006-12-10 5522 default:
043405e10001fe drivers/kvm/kvm_main.c Carsten Otte 2007-10-10 5523 return kvm_arch_dev_ioctl(filp, ioctl, arg);
6aa8b732ca01c3 drivers/kvm/kvm_main.c Avi Kivity 2006-12-10 5524 }
6aa8b732ca01c3 drivers/kvm/kvm_main.c Avi Kivity 2006-12-10 5525 out:
6aa8b732ca01c3 drivers/kvm/kvm_main.c Avi Kivity 2006-12-10 5526 return r;
6aa8b732ca01c3 drivers/kvm/kvm_main.c Avi Kivity 2006-12-10 5527 }
6aa8b732ca01c3 drivers/kvm/kvm_main.c Avi Kivity 2006-12-10 5528
:::::: The code at line 5517 was first introduced by commit
:::::: d4c9ff2d1b78e385471b3f4d80c0596909926ef7 KVM: Add kvm trace userspace interface
:::::: TO: Feng(Eric) Liu <eric.e.liu@intel.com>
:::::: CC: Avi Kivity <avi@qumranet.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [kvm:guestmemfd 59/59] arch/s390/kvm/../../../virt/kvm/kvm_main.c:5517:14: error: 'KVM_TRACE_ENABLE' undeclared; did you mean 'KVM_PV_ENABLE'?
2023-11-08 17:34 [kvm:guestmemfd 59/59] arch/s390/kvm/../../../virt/kvm/kvm_main.c:5517:14: error: 'KVM_TRACE_ENABLE' undeclared; did you mean 'KVM_PV_ENABLE'? kernel test robot
@ 2023-11-08 20:19 ` Sean Christopherson
2023-11-08 20:31 ` Paolo Bonzini
0 siblings, 1 reply; 3+ messages in thread
From: Sean Christopherson @ 2023-11-08 20:19 UTC (permalink / raw)
To: kernel test robot
Cc: Paolo Bonzini, oe-kbuild-all, kvm, Robert Hu, Farrah Chen,
Danmei Wei
On Thu, Nov 09, 2023, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/virt/kvm/kvm.git guestmemfd
> head: cd689ddd5c93ea177b28029d57c13e18b160875b
> commit: cd689ddd5c93ea177b28029d57c13e18b160875b [59/59] KVM: remove deprecated UAPIs
Paolo, I assume you force pushed to guestmemfd at some point at that this is no
longer an issue? I can't find the above object, and given the shortlog I'm guessing
it was a WIP thing unrelated to guest_memfd.
> config: s390-defconfig (https://download.01.org/0day-ci/archive/20231109/202311090100.Zt0adRi9-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/20231109/202311090100.Zt0adRi9-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/202311090100.Zt0adRi9-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> arch/s390/kvm/../../../virt/kvm/kvm_main.c: In function 'kvm_dev_ioctl':
> >> arch/s390/kvm/../../../virt/kvm/kvm_main.c:5517:14: error: 'KVM_TRACE_ENABLE' undeclared (first use in this function); did you mean 'KVM_PV_ENABLE'?
> 5517 | case KVM_TRACE_ENABLE:
> | ^~~~~~~~~~~~~~~~
> | KVM_PV_ENABLE
> arch/s390/kvm/../../../virt/kvm/kvm_main.c:5517:14: note: each undeclared identifier is reported only once for each function it appears in
> >> arch/s390/kvm/../../../virt/kvm/kvm_main.c:5518:14: error: 'KVM_TRACE_PAUSE' undeclared (first use in this function)
> 5518 | case KVM_TRACE_PAUSE:
> | ^~~~~~~~~~~~~~~
> >> arch/s390/kvm/../../../virt/kvm/kvm_main.c:5519:14: error: 'KVM_TRACE_DISABLE' undeclared (first use in this function); did you mean 'KVM_PV_DISABLE'?
> 5519 | case KVM_TRACE_DISABLE:
> | ^~~~~~~~~~~~~~~~~
> | KVM_PV_DISABLE
>
>
> vim +5517 arch/s390/kvm/../../../virt/kvm/kvm_main.c
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [kvm:guestmemfd 59/59] arch/s390/kvm/../../../virt/kvm/kvm_main.c:5517:14: error: 'KVM_TRACE_ENABLE' undeclared; did you mean 'KVM_PV_ENABLE'?
2023-11-08 20:19 ` Sean Christopherson
@ 2023-11-08 20:31 ` Paolo Bonzini
0 siblings, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2023-11-08 20:31 UTC (permalink / raw)
To: Sean Christopherson, kernel test robot
Cc: oe-kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei
On 11/8/23 21:19, Sean Christopherson wrote:
> On Thu, Nov 09, 2023, kernel test robot wrote:
>> tree:https://git.kernel.org/pub/scm/virt/kvm/kvm.git guestmemfd
>> head: cd689ddd5c93ea177b28029d57c13e18b160875b
>> commit: cd689ddd5c93ea177b28029d57c13e18b160875b [59/59] KVM: remove deprecated UAPIs
> Paolo, I assume you force pushed to guestmemfd at some point at that this is no
> longer an issue? I can't find the above object, and given the shortlog I'm guessing
> it was a WIP thing unrelated to guest_memfd.
Yes, I had pushed a bit too much.
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-08 20:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-08 17:34 [kvm:guestmemfd 59/59] arch/s390/kvm/../../../virt/kvm/kvm_main.c:5517:14: error: 'KVM_TRACE_ENABLE' undeclared; did you mean 'KVM_PV_ENABLE'? kernel test robot
2023-11-08 20:19 ` Sean Christopherson
2023-11-08 20:31 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox