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@xxxxxxxxx/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@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/202311090100.Zt0adRi9-lkp@xxxxxxxxx/ 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@xxxxxxxxx> :::::: CC: Avi Kivity <avi@xxxxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki