From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH 0/3] vfio: fixup notifiers and avoid possible deadlock Date: Tue, 11 Jun 2013 10:01:37 -0600 Message-ID: <20130611155848.9995.41709.stgit@bling.home> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org To: alex.williamson@redhat.com Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Cleanup a couple of the notifier paths to remove bogus WARN_ON calls. One is pretty easy to hit and neither really signifies a problems. Fix remove path to avoid potential deadlock with other device_lock holders. Thanks, Alex --- Alex Williamson (3): vfio: Don't overreact to DEL_DEVICE vfio: Ignore sprurious notifies vfio-pci: Avoid deadlock on remove drivers/vfio/pci/vfio_pci.c | 23 +++++++++++++++++++++-- drivers/vfio/vfio.c | 37 ++++++++++--------------------------- 2 files changed, 31 insertions(+), 29 deletions(-)