iommu/vt-d: Update domain geometry in iommu_ops.at(de)tach_dev
stable inclusion from stable-5.10.9 commit 518606a84a0fb7c97afeb1746be07432190ff4c0 bugzilla: 47457 -------------------------------- [ Upstream commit c062db03 ] 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> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Chen Jun <chenjun102@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com>
Loading
Please sign in to comment