diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2020-11-24 16:20:55 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-11-25 12:03:48 +0000 |
commit | c062db039f40e868c371c36afe8d0fac64305b5d (patch) | |
tree | d29005edd606e3250e6f845cf171309357ee8155 /include | |
parent | 65f746e8285f0a67d43517d86fedb9e29ead49f2 (diff) | |
download | linux-c062db039f40e868c371c36afe8d0fac64305b5d.tar.bz2 |
iommu/vt-d: Update domain geometry in iommu_ops.at(de)tach_dev
The iommu-dma constrains IOVA allocation based on the domain geometry
that the driver reports. Update domain geometry everytime a domain is
attached to or detached from a device.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Tested-by: Logan Gunthorpe <logang@deltatee.com>
Link: https://lore.kernel.org/r/20201124082057.2614359-6-baolu.lu@linux.intel.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions