mbox series

[GIT,PULL] Please pull hmm changes

Message ID 20200601182552.GA28020@ziepe.ca (mailing list archive)
State Mainlined
Commit d7806bbd22cabc3e3b0a985cfcffa29cf156bb30
Headers show
Series [GIT,PULL] Please pull hmm changes | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus-hmm

Message

Jason Gunthorpe June 1, 2020, 6:25 p.m. UTC
Hi Linus,

This is a small update for 5.8 mainly including the selftest from
Ralph and finishing the hmm_range_fault() simplification started in
the last merge window.

Regards,
Jason

The following changes since commit 0e698dfa282211e414076f9dc7e83c1c288314fd:

  Linux 5.7-rc4 (2020-05-03 14:56:04 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus-hmm

for you to fetch changes up to f07e2f6be37a750737b93f5635485171ad459eb9:

  MAINTAINERS: add HMM selftests (2020-05-19 16:48:31 -0300)

----------------------------------------------------------------
hmm related patches for 5.8

This series adds a selftest for hmm_range_fault() and several of the
DEVICE_PRIVATE migration related actions, and another simplification for
hmm_range_fault()'s API.

- Simplify hmm_range_fault() with a simpler return code, no
  HMM_PFN_SPECIAL, and no customizable output PFN format

- Add a selftest for hmm_range_fault() and DEVICE_PRIVATE related
  functionality

----------------------------------------------------------------
Jason Gunthorpe (4):
      mm/hmm: make hmm_range_fault return 0 or -1
      drm/amdgpu: remove dead code after hmm_range_fault()
      mm/hmm: remove HMM_PFN_SPECIAL
      mm/hmm: remove the customizable pfn format from hmm_range_fault

Ralph Campbell (3):
      mm/hmm/test: add selftest driver for HMM
      mm/hmm/test: add selftests for HMM
      MAINTAINERS: add HMM selftests

 Documentation/vm/hmm.rst                |   30 +-
 MAINTAINERS                             |    2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c |   56 +-
 drivers/gpu/drm/nouveau/nouveau_dmem.c  |   27 +-
 drivers/gpu/drm/nouveau/nouveau_dmem.h  |    3 +-
 drivers/gpu/drm/nouveau/nouveau_svm.c   |   94 ++-
 include/linux/hmm.h                     |  111 +--
 lib/Kconfig.debug                       |   13 +
 lib/Makefile                            |    1 +
 lib/test_hmm.c                          | 1164 ++++++++++++++++++++++++++
 lib/test_hmm_uapi.h                     |   59 ++
 mm/hmm.c                                |  185 ++---
 tools/testing/selftests/vm/.gitignore   |    1 +
 tools/testing/selftests/vm/Makefile     |    3 +
 tools/testing/selftests/vm/config       |    2 +
 tools/testing/selftests/vm/hmm-tests.c  | 1359 +++++++++++++++++++++++++++++++
 tools/testing/selftests/vm/run_vmtests  |   16 +
 tools/testing/selftests/vm/test_hmm.sh  |   97 +++
 18 files changed, 2934 insertions(+), 289 deletions(-)
 create mode 100644 lib/test_hmm.c
 create mode 100644 lib/test_hmm_uapi.h
 create mode 100644 tools/testing/selftests/vm/hmm-tests.c
 create mode 100755 tools/testing/selftests/vm/test_hmm.sh

Comments

pr-tracker-bot@kernel.org June 2, 2020, 10:20 p.m. UTC | #1
The pull request you sent on Mon, 1 Jun 2020 15:25:52 -0300:

> git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus-hmm

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cfa3b8068b09f25037146bfd5eed041b78878bee

Thank you!