aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorRalph Campbell <[email protected]>2022-07-25 18:36:15 +0000
committerakpm <[email protected]>2022-07-30 01:07:18 +0000
commitf6c3e1ae0114cd0f5123cf38187d450c1b119e67 (patch)
tree73c02549c0758ccb1cc3af1a286fe82e30754da5 /drivers/fpga/fpga-region.c
parentselftests: add soft-dirty into run_vmtests.sh (diff)
downloadkernel-f6c3e1ae0114cd0f5123cf38187d450c1b119e67.tar.gz
kernel-f6c3e1ae0114cd0f5123cf38187d450c1b119e67.zip
mm/hmm: add a test for cross device private faults
Add a simple test case for when hmm_range_fault() is called with the HMM_PFN_REQ_FAULT flag and a device private PTE is found for a device other than the hmm_range::dev_private_owner. This should cause the page to be faulted back to system memory from the other device and the PFN returned in the output array. Also, remove a piece of code that unnecessarily unmaps part of the buffer. Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ralph Campbell <[email protected]> Reviewed-by: Alistair Popple <[email protected]> Cc: Felix Kuehling <[email protected]> Cc: Philip Yang <[email protected]> Cc: Jason Gunthorpe <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions