LWN.net Logo

Initial AMD IOMMUv2 support

From:  Joerg Roedel <joerg.roedel@amd.com>
To:  <iommu@lists.linux-foundation.org>
Subject:  [PATCH 0/22] Initial AMD IOMMUv2 support
Date:  Mon, 5 Dec 2011 14:34:15 +0100
Message-ID:  <1323092077-25501-1-git-send-email-joerg.roedel@amd.com>
Cc:  <linux-kernel@vger.kernel.org>
Archive-link:  Article, Thread

Hi,

here is a patch-set that adds initial support for the AMD IOMMU version
2 to the Linux kernel. The main feature of the new IOMMU version is
support for DMA demand-paging and multiple DMA address spaces per
device.
The patch-set consists of 2 parts. Patches 1-16 implement the hardware
access functions to setup and manage the IOMMUv2 functionality of the
hardware. Patches 17-22 implement a seperate module which makes use
these functions to implement a page-fault handler for devices which can
be used by real device drivers.

Any feedback appreciated.

Thanks,

	Joerg

diff-stat:

 Documentation/kernel-parameters.txt |    5 +
 drivers/iommu/Kconfig               |   13 +-
 drivers/iommu/Makefile              |    1 +
 drivers/iommu/amd_iommu.c           |  791 ++++++++++++++++++++++++++++--
 drivers/iommu/amd_iommu_init.c      |  113 ++++-
 drivers/iommu/amd_iommu_proto.h     |   24 +
 drivers/iommu/amd_iommu_types.h     |  109 ++++-
 drivers/iommu/amd_iommu_v2.c        |  951 +++++++++++++++++++++++++++++++++++
 include/linux/amd-iommu.h           |   95 ++++-
 9 files changed, 2058 insertions(+), 44 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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