From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Borntraeger Subject: [GIT PULL 0/5] rcu annotation fixes for KVM Date: Mon, 10 Jul 2017 12:49:32 +0200 Message-ID: <1499683777-6881-1-git-send-email-borntraeger@de.ibm.com> Cc: KVM , Christian Borntraeger To: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= Return-path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:55955 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752578AbdGJKtm (ORCPT ); Mon, 10 Jul 2017 06:49:42 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v6AAn9dt138019 for ; Mon, 10 Jul 2017 06:49:42 -0400 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0b-001b2d01.pphosted.com with ESMTP id 2bm48y0qj1-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 10 Jul 2017 06:49:41 -0400 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 10 Jul 2017 11:49:40 +0100 Sender: kvm-owner@vger.kernel.org List-ID: Paolo, Radim, with these rcu annotations KVM is now almost sparse clean and the code should also detect rcu misuses earlier. FWIW, there is one one remaining sparse warning virt/kvm/irqchip.c:171:28: warning: symbol 'kvm_arch_irq_routing_update' was not declared. Should it be static? which seems to be triggered by sparse thinking that the global declaration in include/linux/kvm_host.h void kvm_arch_irq_routing_update(struct kvm *kvm); is not compatible with the weak definition in virt/kvm/irqchip.c void __attribute__((weak)) kvm_arch_irq_routing_update(struct kvm *kvm) Not sure what to do about that. The following changes since commit 1372324b328cd5dabaef5e345e37ad48c63df2a9: Update my email address (2017-07-04 14:03:02 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/borntraeger/linux.git annotations for you to fetch changes up to 7e988b103d0d52190244517edc76e649071284bb: KVM: use correct accessor function for __kvm_memslots (2017-07-10 12:28:46 +0200) ---------------------------------------------------------------- Christian Borntraeger (5): KVM: mark vcpu->pid pointer as rcu protected KVM: use rcu access function for irq routing KVM: mark kvm->busses as rcu protected KVM: mark memory slots as rcu KVM: use correct accessor function for __kvm_memslots include/linux/kvm_host.h | 17 +++++++++++------ virt/kvm/eventfd.c | 8 +++++--- virt/kvm/irqchip.c | 2 +- virt/kvm/kvm_main.c | 38 +++++++++++++++++++++++++------------- 4 files changed, 42 insertions(+), 23 deletions(-)