]> git.karo-electronics.de Git - linux-beck.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)
commite7cc3dd48c7b0a4b2135a5a2145ad43a8192fa6a
tree70d9b76bfc44794eb7ac79edc0f16391ad658594
parent0f0a327fa12cd55de5e7f8c05a70ac3d047f405e
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