]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitcd2c9fcf5c66fd21f7b83455806fdd14ab9236ee
tree79b40d1b68ec4a8faf712e1d3a797e6a822b3e7d
parent2f8c7f2e76bf040fcdaa2b4f4c2b9ef3b6e4ed25
iommu/dma: Move PCI window region reservation back into dma specific path.

This pretty much reverts commit 273df9635385 ("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: 273df9635385 ('iommu/dma: Make PCI window reservation generic')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c