From patchwork Mon Oct 8 15:12:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Williamson X-Patchwork-Id: 190047 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B54382C031F for ; Tue, 9 Oct 2012 02:12:59 +1100 (EST) Received: from localhost ([::1]:41638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLF0r-00081Q-QC for incoming@patchwork.ozlabs.org; Mon, 08 Oct 2012 11:12:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLF0d-000805-1m for qemu-devel@nongnu.org; Mon, 08 Oct 2012 11:12:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLF0V-0001cH-3W for qemu-devel@nongnu.org; Mon, 08 Oct 2012 11:12:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLF0U-0001c9-Pv for qemu-devel@nongnu.org; Mon, 08 Oct 2012 11:12:35 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q98FCS0c018879 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 8 Oct 2012 11:12:28 -0400 Received: from [10.3.113.45] (ovpn-113-45.phx2.redhat.com [10.3.113.45]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q98FCRP8031183; Mon, 8 Oct 2012 11:12:27 -0400 Message-ID: <1349709147.2759.85.camel@ul30vt.home> From: Alex Williamson To: qemu-devel Date: Mon, 08 Oct 2012 09:12:27 -0600 Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: Blue Swirl , Jan Kiszka , Anthony Liguori Subject: [Qemu-devel] [PULL] vfio-pci tree 20121008 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Anthony, The following changes since commit 4bb26682f70a5f626cad3e0ac82bf4b6252ea7a4: Merge branch 'master' of git.qemu.org:/pub/git/qemu (2012-10-07 18:42:18 +0000) are available in the git repository at: git://github.com/awilliam/qemu-vfio.git tags/vfio-pci-for-qemu-20121008.0 for you to fetch changes up to 3a4f2816fac1b0f9cc197bb2208ddf03dc7bc592: vfio-pci: Fix BAR->VFIODevice translation in (2012-10-08 08:45:31 -0600) ---------------------------------------------------------------- vfio-pci fixes 20121008.0 These patches have all been posted to the list for review. From the previous 00/11 series: I've been accumulating a backlog of vfio-pci changes while we've been getting the first implementation accepted. This series includes a new algorithm for dealing with INTx that should avoid users needing to know about experimental parameters, a re-try mechanism for mappings that avoids common errors users might see trying to use vfio-pci, a rework of MSIX setup and teardown that fixes a corner case for MSIX being enabled but not used, a more robust device reset that re-inits interrupts much like pci-assign, a missing INTx setup failure cleanup, and addresses a few comments collected during initial review. Additional Clang patch reported by Blue Swirl and posted last week, as well as contribution from Jan included in this pull request. Thanks, Alex ---------------------------------------------------------------- Alex Williamson (12): vfio-pci: Update slow path INTx algorithm vfio-pci: Re-order map/unmap vfio-pci: Unmap and retry DMA mapping vfio-pci: Rework MSIX setup/teardown vfio-pci: No spurious MSIs vfio-pci: Roll the header into the .c file vfio-pci: Don't peak at msi_supported vfio-pci: Use uintptr_t for void* cast vfio-pci: Remove setting of MSI qsize vfio-pci: Extend reset vfio-pci: Cleanup on INTx setup failure vfio-pci: Clang cleanup Jan Kiszka (1): vfio-pci: Fix BAR->VFIODevice translation in hw/vfio_pci.c | 498 +++++++++++++++++++++++++++++++++--------------------- hw/vfio_pci_int.h | 114 ------------- 2 files changed, 305 insertions(+), 307 deletions(-) delete mode 100644 hw/vfio_pci_int.h