[PATCH v3 0/4] nouveau/hmm: map pages after migration

From: Ralph Campbell
Date: Tue Mar 03 2020 - 19:14:13 EST


Originally patch 4 was targeted for Jason's rdma tree since other HMM
related changes were queued there. Now that those have been merged,
these patches just contain changes to nouveau so they could go through
any tree. I guess Ben Skeggs' tree would be appropriate.

Changes since v2:
Added patches 1-3 to fix some minor issues.
Eliminated nouveau_find_svmm() since it is easily found.
Applied Jason Gunthorpe's suggestions for nouveau_pfns_to_args().

Changes since v1:
Rebase to linux-5.6.0-rc4
Address Christoph Hellwig's comments


Ralph Campbell (4):
nouveau/hmm: fix vma range check for migration
nouveau/hmm: check for SVM initialized before migrating
nouveau: remove useless SVM range check
nouveau/hmm: map pages after migration

drivers/gpu/drm/nouveau/nouveau_dmem.c | 46 +++++++++++------
drivers/gpu/drm/nouveau/nouveau_dmem.h | 2 +
drivers/gpu/drm/nouveau/nouveau_svm.c | 69 ++++++++++++++++++++++++--
drivers/gpu/drm/nouveau/nouveau_svm.h | 5 ++
4 files changed, 102 insertions(+), 20 deletions(-)

--
2.20.1