lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 15 Jun 2020 14:20:33 +0800
From:   kernel test robot <lkp@...el.com>
To:     Huacai Chen <chenhc@...ote.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Paolo Bonzini <pbonzini@...hat.com>,
        Aleksandar Markovic <aleksandar.qemu.devel@...il.com>
Subject: arch/mips/kvm/mips.c:70:25: error: 'struct kvm_vcpu_stat' has no
 member named 'vz_cpucfg_exits'; did you mean

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   df2fbf5bfa0e7fff8b4784507e4d68f200454318
commit: 7f2a83f1c2a941ebfee53f504ed5fdbc61cfb333 KVM: MIPS: Add CPUCFG emulation for Loongson-3
date:   9 days ago
:::::: branch date: 16 hours ago
:::::: commit date: 9 days ago
config: mips-randconfig-c022-20200613 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All error/warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from <command-line>:
>> arch/mips/kvm/mips.c:70:25: error: 'struct kvm_vcpu_stat' has no member named 'vz_cpucfg_exits'; did you mean 'vz_gpsi_exits'?
70 |  VCPU_STAT("vz_cpucfg", vz_cpucfg_exits),
|                         ^~~~~~~~~~~~~~~
include/linux/compiler_types.h:133:57: note: in definition of macro '__compiler_offsetof'
133 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
|                                                         ^
>> include/linux/kvm_host.h:1142:7: note: in expansion of macro 'offsetof'
1142 |  { n, offsetof(struct kvm_vcpu, stat.x), KVM_STAT_VCPU, ## __VA_ARGS__ }
|       ^~~~~~~~
>> arch/mips/kvm/mips.c:70:2: note: in expansion of macro 'VCPU_STAT'
70 |  VCPU_STAT("vz_cpucfg", vz_cpucfg_exits),
|  ^~~~~~~~~
arch/mips/kvm/mips.c:161:6: warning: no previous prototype for 'kvm_mips_free_vcpus' [-Wmissing-prototypes]
161 | void kvm_mips_free_vcpus(struct kvm *kvm)
|      ^~~~~~~~~~~~~~~~~~~
--
>> arch/mips/kvm/vz.c:32:10: fatal error: loongson_regs.h: No such file or directory
32 | #include "loongson_regs.h"
|          ^~~~~~~~~~~~~~~~~
compilation terminated.

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7f2a83f1c2a941ebfee53f504ed5fdbc61cfb333
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout 7f2a83f1c2a941ebfee53f504ed5fdbc61cfb333
vim +70 arch/mips/kvm/mips.c

669e846e6c4e13 arch/mips/kvm/kvm_mips.c Sanjay Lal                 2012-11-21  41  
669e846e6c4e13 arch/mips/kvm/kvm_mips.c Sanjay Lal                 2012-11-21  42  struct kvm_stats_debugfs_item debugfs_entries[] = {
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  43  	VCPU_STAT("wait", wait_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  44  	VCPU_STAT("cache", cache_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  45  	VCPU_STAT("signal", signal_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  46  	VCPU_STAT("interrupt", int_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  47  	VCPU_STAT("cop_unusable", cop_unusable_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  48  	VCPU_STAT("tlbmod", tlbmod_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  49  	VCPU_STAT("tlbmiss_ld", tlbmiss_ld_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  50  	VCPU_STAT("tlbmiss_st", tlbmiss_st_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  51  	VCPU_STAT("addrerr_st", addrerr_st_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  52  	VCPU_STAT("addrerr_ld", addrerr_ld_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  53  	VCPU_STAT("syscall", syscall_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  54  	VCPU_STAT("resvd_inst", resvd_inst_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  55  	VCPU_STAT("break_inst", break_inst_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  56  	VCPU_STAT("trap_inst", trap_inst_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  57  	VCPU_STAT("msa_fpe", msa_fpe_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  58  	VCPU_STAT("fpe", fpe_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  59  	VCPU_STAT("msa_disabled", msa_disabled_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  60  	VCPU_STAT("flush_dcache", flush_dcache_exits),
a7244920d1096c arch/mips/kvm/mips.c     James Hogan                2017-03-14  61  #ifdef CONFIG_KVM_MIPS_VZ
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  62  	VCPU_STAT("vz_gpsi", vz_gpsi_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  63  	VCPU_STAT("vz_gsfc", vz_gsfc_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  64  	VCPU_STAT("vz_hc", vz_hc_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  65  	VCPU_STAT("vz_grr", vz_grr_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  66  	VCPU_STAT("vz_gva", vz_gva_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  67  	VCPU_STAT("vz_ghfc", vz_ghfc_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  68  	VCPU_STAT("vz_gpa", vz_gpa_exits),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  69  	VCPU_STAT("vz_resvd", vz_resvd_exits),
7f2a83f1c2a941 arch/mips/kvm/mips.c     Huacai Chen                2020-05-23 @70  	VCPU_STAT("vz_cpucfg", vz_cpucfg_exits),
a7244920d1096c arch/mips/kvm/mips.c     James Hogan                2017-03-14  71  #endif
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  72  	VCPU_STAT("halt_successful_poll", halt_successful_poll),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  73  	VCPU_STAT("halt_attempted_poll", halt_attempted_poll),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  74  	VCPU_STAT("halt_poll_invalid", halt_poll_invalid),
812756a82ea51e arch/mips/kvm/mips.c     Emanuele Giuseppe Esposito 2020-04-14  75  	VCPU_STAT("halt_wakeup", halt_wakeup),
cb953129bfe5c0 arch/mips/kvm/mips.c     David Matlack              2020-05-08  76  	VCPU_STAT("halt_poll_success_ns", halt_poll_success_ns),
cb953129bfe5c0 arch/mips/kvm/mips.c     David Matlack              2020-05-08  77  	VCPU_STAT("halt_poll_fail_ns", halt_poll_fail_ns),
669e846e6c4e13 arch/mips/kvm/kvm_mips.c Sanjay Lal                 2012-11-21  78  	{NULL}
669e846e6c4e13 arch/mips/kvm/kvm_mips.c Sanjay Lal                 2012-11-21  79  };
669e846e6c4e13 arch/mips/kvm/kvm_mips.c Sanjay Lal                 2012-11-21  80  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (29829 bytes)

_______________________________________________
kbuild mailing list -- kbuild@...ts.01.org
To unsubscribe send an email to kbuild-leave@...ts.01.org

Powered by blists - more mailing lists