]> www.infradead.org Git - nvme.git/commit
iommu/amd: Add support for device based TLB invalidation
authorVasant Hegde <vasant.hegde@amd.com>
Mon, 5 Feb 2024 11:56:05 +0000 (11:56 +0000)
committerJoerg Roedel <jroedel@suse.de>
Fri, 9 Feb 2024 12:16:24 +0000 (13:16 +0100)
commit474bf01ed9f0358b243b264339baafcfbe6c6670
tree987920909b4a593ea9df725591bf4aff38e00a0f
parent7b4e5623d8e4f1475b7deac42035d0129fb36ed0
iommu/amd: Add support for device based TLB invalidation

Add support to invalidate TLB/IOTLB for the given device.

These functions will be used in subsequent patches where we will
introduce per device GCR3 table and SVA support.

Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240205115615.6053-8-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/amd_iommu.h
drivers/iommu/amd/iommu.c