Re: [PATCH] iommu/amd: Use new invalidate_range mmu-notifier

From: Joerg Roedel
Date: Thu Nov 06 2014 - 07:42:55 EST


Hey Andrew,

On Thu, Nov 06, 2014 at 01:40:08PM +0100, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@xxxxxxx>
>
> 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 <oded.gabbay@xxxxxxx>
> Signed-off-by: Joerg Roedel <jroedel@xxxxxxx>
> ---
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/