]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu/amd: Add blocked domain support
authorVasant Hegde <vasant.hegde@amd.com>
Mon, 22 Jul 2024 11:54:52 +0000 (11:54 +0000)
committerJoerg Roedel <jroedel@suse.de>
Tue, 13 Aug 2024 08:44:35 +0000 (10:44 +0200)
commite5e5cc8f73fa677b5b96404b9595d653a9ee0805
tree3b08a691ead2f931118fcd780a4d7a463c3a1fcc
parent7c626ce4bae1ac14f60076d00eafe71af30450ba
iommu/amd: Add blocked domain support

Create global blocked domain with attach device ops. It will clear the
DTE so that all DMA from device will be aborted.

Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240722115452.5976-1-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/iommu.c