]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/dma: Move PCI window region reservation back into dma specific path.
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Wed, 18 Apr 2018 11:40:42 +0000 (12:40 +0100)
committerJoerg Roedel <jroedel@suse.de>
Thu, 3 May 2018 14:32:10 +0000 (16:32 +0200)
commit70bc40b8d1437420afa0f85870b26873daf2a6e2
tree79b40d1b68ec4a8faf712e1d3a797e6a822b3e7d
parent0bac3e9e34fca61582947e53fa3e781b1a334739
iommu/dma: Move PCI window region reservation back into dma specific path.

This pretty much reverts commit c87236d07e8e ("iommu/dma: Make PCI
window reservation generic")  by moving the PCI window region
reservation back into the dma specific path so that these regions
doesn't get exposed via the IOMMU API interface. With this change,
the vfio interface will report only iommu specific reserved regions
to the user space.

Cc: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Fixes: c87236d07e8e ('iommu/dma: Make PCI window reservation generic')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c