mm/hmm/test: add selftest driver for HMM
authorRalph Campbell <rcampbell@nvidia.com>
Wed, 22 Apr 2020 19:50:26 +0000 (12:50 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 May 2020 19:48:30 +0000 (16:48 -0300)
commitb2ef9f5a5cb37643ca5def3516c546457074b882
tree8df33fda37b9cba9f18f4c98ea7a158b51f60259
parent2733ea144dcce789de20988c1056e228a07b1bff
mm/hmm/test: add selftest driver for HMM

This driver is for testing device private memory migration and devices
which use hmm_range_fault() to access system memory via device page tables.

Link: https://lore.kernel.org/r/20200422195028.3684-2-rcampbell@nvidia.com
Link: https://lore.kernel.org/r/20200516010424.2013-1-rcampbell@nvidia.com
Signed-off-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Link: https://lore.kernel.org/r/20200509030225.14592-1-weiyongjun1@huawei.com
Link: https://lore.kernel.org/r/20200509030234.14747-1-weiyongjun1@huawei.com
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200511183704.GA225608@mwanda
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
lib/Kconfig.debug
lib/Makefile
lib/test_hmm.c [new file with mode: 0644]
lib/test_hmm_uapi.h [new file with mode: 0644]