lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200601182552.GA28020@ziepe.ca>
Date:   Mon, 1 Jun 2020 15:25:52 -0300
From:   Jason Gunthorpe <jgg@...lanox.com>
To:     Linus Torvalds <torvalds@...ux-foundation.org>,
        linux-kernel@...r.kernel.org,
        Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org
Cc:     linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [GIT PULL] Please pull hmm changes

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

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ