summaryrefslogtreecommitdiffstats
path: root/include/linux/amd-iommu.h
Commit message (Collapse)AuthorAgeFilesLines
* iommu/amd: Split amd_iommu_init functionJoerg Roedel2012-03-011-1/+1
| | | | | | | | | | The hardware-initializtion part of the AMD IOMMU driver is split out into a seperate function. This function can now be called either from amd_iommu_init() itself or any other place if the hardware needs to be ready earlier. This will be used to implement interrupt remapping for AMD. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
* iommu/amd: Add invalidate-context call-backJoerg Roedel2011-12-151-0/+17
| | | | | | | | This call-back is invoked when the task that is bound to a pasid is about to exit. The driver can use it to shutdown all context related to that context in a safe way. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
* iommu/amd: Add amd_iommu_device_info() functionJoerg Roedel2011-12-151-0/+26
| | | | | | | This function can be used to find out which features necessary for IOMMUv2 usage are available on a given device. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
* iommu/amd: Add invalid_ppr callbackJoerg Roedel2011-12-141-3/+31
| | | | | | | This callback can be used to change the PRI response code sent to a device when a PPR fault fails. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
* iommu/amd: Add routines to bind/unbind a pasidJoerg Roedel2011-12-121-0/+26
| | | | | | | This patch adds routines to bind a specific process address-space to a given PASID. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
* iommu/amd: Implement device aquisition code for IOMMUv2Joerg Roedel2011-12-121-1/+22
| | | | | | | | This patch adds the amd_iommu_init_device() and amd_iommu_free_device() functions which make a device and the IOMMU ready for IOMMUv2 usage. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
* iommu/amd: Add device errata handlingJoerg Roedel2011-12-121-0/+18
| | | | | | | Add infrastructure for errata-handling and handle two known erratas in the IOMMUv2 code. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
* iommu/amd: Move missing parts to drivers/iommuJoerg Roedel2011-06-211-0/+35
A few parts of the driver were missing in drivers/iommu. Move them there to have the complete driver in that directory. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>