commit | 3c120143f584360a13614787e23ae2cdcb5e5ccd | [log] [tgz] |
---|---|---|
author | Zhen Lei <thunder.leizhen@huawei.com> | Wed Jun 06 10:18:46 2018 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Fri Jul 06 13:21:32 2018 +0200 |
tree | 738662d4923731b123b9c643ab4a0b395837eaef | |
parent | 4674686d6c8974eb4eebec894c398a0f6c506af3 [diff] |
iommu/amd: make sure TLB to be flushed before IOVA freed Although the mapping has already been removed in the page table, it maybe still exist in TLB. Suppose the freed IOVAs is reused by others before the flush operation completed, the new user can not correctly access to its meomory. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Fixes: b1516a14657a ('iommu/amd: Implement flush queue') Signed-off-by: Joerg Roedel <jroedel@suse.de>