]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/amd: use new invalidate_range mmu-notifier
authorJoerg Roedel <jroedel@suse.de>
Thu, 13 Nov 2014 02:46:09 +0000 (13:46 +1100)
committerOded Gabbay <oded.gabbay@amd.com>
Thu, 13 Nov 2014 02:46:09 +0000 (13:46 +1100)
commitae159de8c9d914da4dab191280718eb75e161724
tree70d9b76bfc44794eb7ac79edc0f16391ad658594
parentf13f637800bce36aa2457211cdf56bfba8245bb5
iommu/amd: use new invalidate_range mmu-notifier

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.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Oded Gabbay <oded.gabbay@amd.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Reviewed-by: Jérôme Glisse <jglisse@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rik van Riel <riel@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Johannes Weiner <jweiner@redhat.com>
Cc: Jay Cornwall <Jay.Cornwall@amd.com>
Cc: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/iommu/amd_iommu_v2.c