Merge tag 'v4.20-rc6' into rdma.git for-next

For dependencies in following patches.
This commit is contained in:
Jason Gunthorpe
2018-12-11 14:24:57 -07:00
1305 changed files with 15717 additions and 7810 deletions

View File

@@ -720,6 +720,15 @@ next_mr:
goto srcu_unlock;
}
if (!mr->umem->is_odp) {
mlx5_ib_dbg(dev, "skipping non ODP MR (lkey=0x%06x) in page fault handler.\n",
key);
if (bytes_mapped)
*bytes_mapped += bcnt;
ret = 0;
goto srcu_unlock;
}
ret = pagefault_mr(dev, mr, io_virt, bcnt, bytes_mapped);
if (ret < 0)
goto srcu_unlock;
@@ -781,6 +790,7 @@ next_mr:
head = frame;
bcnt -= frame->bcnt;
offset = 0;
}
break;