History log of /drivers/iommu/amd_iommu_v2.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
474d567db3d459d08ed0e683f4ace9b00ac2aa4b 15-Mar-2012 Joerg Roedel <joerg.roedel@amd.com> iommu/amd: Don't initialize IOMMUv2 resources when not required

Add a check to the init-path of the AMD IOMMUv2 driver if
the hardware is available in the system. Only allocate all
the resources if it is really available.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
/drivers/iommu/amd_iommu_v2.c
bc21662f729cd17d2af93e149f4eccafc7b10181 07-Dec-2011 Joerg Roedel <joerg.roedel@amd.com> iommu/amd: Add invalidate-context call-back

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>
/drivers/iommu/amd_iommu_v2.c
175d6146738b3d04e1adcaa4a971a3b2b0dbd8af 28-Nov-2011 Joerg Roedel <joerg.roedel@amd.com> iommu/amd: Add invalid_ppr callback

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>
/drivers/iommu/amd_iommu_v2.c
8736b2c331030733c5d619170dc6e9ef211a4039 24-Nov-2011 Joerg Roedel <joerg.roedel@amd.com> iommu/amd: Implement notifiers for IOMMUv2

Since pages are not pinned anymore we need notifications
when the VMM changes the page-tables. Use mmu_notifiers for
that.
Also use the task_exit notifier from the profiling subsystem
to shutdown all contexts related to this task.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
/drivers/iommu/amd_iommu_v2.c
028eeacc412a8bebf6711e58629b0cab56a9ba87 24-Nov-2011 Joerg Roedel <joerg.roedel@amd.com> iommu/amd: Implement IO page-fault handler

Register the notifier for PPR faults and handle them as
necessary.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
/drivers/iommu/amd_iommu_v2.c
2d5503b624736abfe0e0bad281f9b8d8a705b930 24-Nov-2011 Joerg Roedel <joerg.roedel@amd.com> iommu/amd: Add routines to bind/unbind a pasid

This patch adds routines to bind a specific process
address-space to a given PASID.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
/drivers/iommu/amd_iommu_v2.c
ed96f228ba9725edf69385bffdc19ee5bb0ec641 23-Nov-2011 Joerg Roedel <joerg.roedel@amd.com> iommu/amd: Implement device aquisition code for IOMMUv2

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>
/drivers/iommu/amd_iommu_v2.c
e3c495c74bc008a5c3671bf3411bc7f5382fa58f 09-Nov-2011 Joerg Roedel <joerg.roedel@amd.com> iommu/amd: Add driver stub for AMD IOMMUv2 support

Add a Kconfig option for the optional driver. Since it is
optional it can be compiled as a module and will only be
loaded when required by another driver.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
/drivers/iommu/amd_iommu_v2.c