Messages in this thread | | | From | Joerg Roedel <> | Subject | [PATCH 0/22] Initial AMD IOMMUv2 support | Date | Mon, 5 Dec 2011 14:34:15 +0100 |
| |
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(-)
| |