LWN.net Logo

VMCI: Add support for virtual IOMMU

From:  Andy King <acking@vmware.com>
To:  linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org
Subject:  [PATCH 0/2] VMCI: Add support for virtual IOMMU
Date:  Tue, 20 Aug 2013 10:30:01 -0700
Message-ID:  <1377019803-1490-1-git-send-email-acking@vmware.com>
Cc:  pv-drivers@vmware.com, gregkh@linuxfoundation.org, Andy King <acking@vmware.com>
Archive-link:  Article, Thread

This patchset adds support for virtual IOMMU to the VMCI module.  We switch to
DMA consistent mappings for queuepair and doorbell pages that are passed to the
device, which allows the module to work in the presence of vIOMMU/VT-d.

Andy King (2):
  VMCI: Remove non-blocking/pinned queuepair support
  VMCI: Add support for virtual IOMMU

 drivers/misc/vmw_vmci/vmci_driver.c     |    2 +-
 drivers/misc/vmw_vmci/vmci_driver.h     |    7 +
 drivers/misc/vmw_vmci/vmci_guest.c      |   21 ++-
 drivers/misc/vmw_vmci/vmci_queue_pair.c |  312 ++++++++++++-------------------
 drivers/misc/vmw_vmci/vmci_queue_pair.h |   18 --
 5 files changed, 140 insertions(+), 220 deletions(-)

-- 
1.7.4.1

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds