From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932511AbcITKOn (ORCPT ); Tue, 20 Sep 2016 06:14:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40112 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751441AbcITKOm (ORCPT ); Tue, 20 Sep 2016 06:14:42 -0400 Date: Tue, 20 Sep 2016 18:14:38 +0800 From: Baoquan He To: Joerg Roedel Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, dyoung@redhat.com, xlpang@redhat.com, Vincent.Wan@amd.com Subject: Re: [PATCH RESEND 4/4] iommu/amd: No need to wait iommu completion if no dte irq entry change Message-ID: <20160920101438.GA3873@x1.redhat.com> References: <1473929453-3533-1-git-send-email-bhe@redhat.com> <1473929453-3533-5-git-send-email-bhe@redhat.com> <20160920010534.GA11495@x1.redhat.com> <20160920095631.GA14627@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160920095631.GA14627@8bytes.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 20 Sep 2016 10:14:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/20/16 at 11:56am, Joerg Roedel wrote: > On Tue, Sep 20, 2016 at 09:05:34AM +0800, Baoquan He wrote: > > 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(-) > > Applied, thanks. Thanks!