[Patch v3 11/12] iommu/amd: No need to wait iommu completion if no dte irq entry change

2016-01-26 Thread Baoquan He
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 --- drivers/iommu/amd_iommu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/dr

Re: [Patch v3 11/12] iommu/amd: No need to wait iommu completion if no dte irq entry change

2016-01-27 Thread Wan Zongshun
Original Message 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 --- drivers/iommu/amd_iommu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) di

Re: [Patch v3 11/12] iommu/amd: No need to wait iommu completion if no dte irq entry change

2016-01-28 Thread Baoquan He
On 01/27/16 at 07:03pm, Wan Zongshun wrote: > > > Original Message > > > > alias = amd_iommu_alias_table[devid]; > > table = irq_lookup_table[alias]; > >@@ -3688,7 +3688,7 @@ static struct irq_remap_table *get_irq_table(u16 > >devid, bool ioapic) > > /* Nothing ther

Re: [Patch v3 11/12] iommu/amd: No need to wait iommu completion if no dte irq entry change

2016-01-28 Thread Wan Zongshun
Original Message On 01/27/16 at 07:03pm, Wan Zongshun wrote: Original Message alias = amd_iommu_alias_table[devid]; table = irq_lookup_table[alias]; @@ -3688,7 +3688,7 @@ static struct irq_remap_table *get_irq_table(u16 devid, bool ioapi