iommu/amd: No need to wait iommu completion if no dte irq entry change
authorBaoquan He <bhe@redhat.com>
Tue, 20 Sep 2016 01:05:34 +0000 (09:05 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 20 Sep 2016 09:54:11 +0000 (11:54 +0200)
commit09284b9c4a80299b25b913c976dcaced09cc12f4
tree29a2034b545b745ffc34525db245a91dc2648737
parentc3db901c54466a9c135d1e6e95fec452e8a42666
iommu/amd: No need to wait iommu completion if no dte irq entry change

This is a clean up. In get_irq_table() only if DTE entry is changed
iommu_completion_wait() need be called. Otherwise no need to do it.

Signed-off-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c