[GIT PULL] Please pull hmm changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux