Skip to content

nouveau/hmm: map pages after migration

Ralph Campbell dri-devel linux-mm linux-rdma lkml nouveau 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v21 patch 3 repliesSuperseded
  3. v11 patch 9 repliesSuperseded

Changes in v3 from the cover letter

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().

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nouveau/hmm: fix vma range check for migrationdrivers/gpu/drm/nouveau/nouveau_svm.c+1 -01 reply
2/4nouveau/hmm: check for SVM initialized before migratingdrivers/gpu/drm/nouveau/nouveau_svm.c+5 -00 replies
3/4nouveau: remove useless SVM range checkdrivers/gpu/drm/nouveau/nouveau_svm.c+0 -30 replies
4/4nouveau/hmm: map pages after migrationdrivers/gpu/drm/nouveau/nouveau_dmem.c drivers/gpu/drm/nouveau/nouveau_dmem.h drivers/gpu/drm/nouveau/nouveau_svm.c +1 more+95 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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(-)
Signature · 1 line
2.20.1