All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm:queue 127/152] arch/x86/kvm/x86.c:2760:13: sparse: sparse: context imbalance in 'kvm_start_pvclock_update' - wrong count at exit
@ 2021-08-11 20:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-11 20:29 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 3119 bytes --]

CC: kbuild-all(a)lists.01.org
CC: kvm(a)vger.kernel.org
CC: Robert Hu <robert.hu@intel.com>
CC: Farrah Chen <farrah.chen@intel.com>
CC: Danmei Wei <danmei.wei@intel.com>
TO: Paolo Bonzini <pbonzini@redhat.com>

tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head:   a3e0b8bd99ab098514bde2434301fa6fde040da2
commit: 0ae283075bf669c2086ef92c0dc6ad8458bc5f13 [127/152] kvm: x86: abstract locking around pvclock_update_vm_gtod_copy
:::::: branch date: 9 hours ago
:::::: commit date: 10 hours ago
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-348-gf0e6938b-dirty
        # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=0ae283075bf669c2086ef92c0dc6ad8458bc5f13
        git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
        git fetch --no-tags kvm queue
        git checkout 0ae283075bf669c2086ef92c0dc6ad8458bc5f13
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kvm/

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


sparse warnings: (new ones prefixed by >>)
   arch/x86/kvm/x86.c:227:47: sparse: sparse: array of flexible structures
   arch/x86/kvm/x86.c:253:49: sparse: sparse: array of flexible structures
   arch/x86/kvm/x86.c: note: in included file:
   include/linux/kvm_host.h:1445:54: sparse: sparse: array of flexible structures
   include/linux/kvm_host.h:1447:56: sparse: sparse: array of flexible structures
>> arch/x86/kvm/x86.c:2760:13: sparse: sparse: context imbalance in 'kvm_start_pvclock_update' - wrong count at exit
   arch/x86/kvm/x86.c:2769:13: sparse: sparse: context imbalance in 'kvm_end_pvclock_update' - unexpected unlock
   arch/x86/kvm/x86.c: note: in included file (through include/linux/notifier.h, arch/x86/include/asm/uprobes.h, include/linux/uprobes.h, ...):
   include/linux/srcu.h:188:9: sparse: sparse: context imbalance in 'vcpu_enter_guest' - unexpected unlock

vim +/kvm_start_pvclock_update +2760 arch/x86/kvm/x86.c

d828199e844477 Marcelo Tosatti 2012-11-27  2759  
0ae283075bf669 Paolo Bonzini   2021-04-08 @2760  static void kvm_start_pvclock_update(struct kvm *kvm)
2860c4b1678646 Paolo Bonzini   2016-01-07  2761  {
0ae283075bf669 Paolo Bonzini   2021-04-08  2762  	struct kvm_arch *ka = &kvm->arch;
2860c4b1678646 Paolo Bonzini   2016-01-07  2763  	kvm_make_all_cpus_request(kvm, KVM_REQ_MCLOCK_INPROGRESS);
0ae283075bf669 Paolo Bonzini   2021-04-08  2764  
0ae283075bf669 Paolo Bonzini   2021-04-08  2765  	/* no guest entries from this point */
0ae283075bf669 Paolo Bonzini   2021-04-08  2766  	spin_lock_irq(&ka->pvclock_gtod_sync_lock);
2860c4b1678646 Paolo Bonzini   2016-01-07  2767  }
2860c4b1678646 Paolo Bonzini   2016-01-07  2768  

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 42141 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-11 20:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 20:29 [kvm:queue 127/152] arch/x86/kvm/x86.c:2760:13: sparse: sparse: context imbalance in 'kvm_start_pvclock_update' - wrong count at exit 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.