From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753178AbcITJzx (ORCPT ); Tue, 20 Sep 2016 05:55:53 -0400 Received: from 8bytes.org ([81.169.241.247]:33268 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751579AbcITJzv (ORCPT ); Tue, 20 Sep 2016 05:55:51 -0400 Date: Tue, 20 Sep 2016 11:56:32 +0200 From: Joerg Roedel To: Baoquan He 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: <20160920095631.GA14627@8bytes.org> References: <1473929453-3533-1-git-send-email-bhe@redhat.com> <1473929453-3533-5-git-send-email-bhe@redhat.com> <20160920010534.GA11495@x1.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160920010534.GA11495@x1.redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.