From: Joerg Roedel Subject: Re: [PATCH] iommu/amd: Use new invalidate_range mmu-notifier Date: Thu, 6 Nov 2014 13:42:48 +0100 Message-ID: <20141106124248.GM10744@8bytes.org> References: <1415277608-23688-1-git-send-email-joro@8bytes.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1415277608-23688-1-git-send-email-joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Andrew Morton Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Joerg Roedel , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: iommu@lists.linux-foundation.org Hey Andrew, On Thu, Nov 06, 2014 at 01:40:08PM +0100, Joerg Roedel wrote: > From: Joerg Roedel > > Make use of the new invalidate_range mmu_notifier call-back > and remove the old logic of assigning an empty page-table > between invalidate_range_start and invalidate_range_end. > > Tested-by: Oded Gabbay > Signed-off-by: Joerg Roedel > --- > drivers/iommu/amd_iommu_v2.c | 61 +++++++------------------------------------- > 1 file changed, 9 insertions(+), 52 deletions(-) This patch depends on the mmu_notifier_invalidate_range patches in your mm-tree. It converts the AMD IOMMUv2 driver to make use of it and is tested by AMD. Can you please carry this patch in the mm-tree too? Thanks, Joerg