1
0
Fork 0
freescale-linux-fslc/drivers/infiniband/hw
Haggai Eran 832a6b06ab IB/mlx5: Add mlx5_ib_update_mtt to update page tables after creation
The new function allows updating the page tables of a memory region
after it was created. This can be used to handle page faults and page
invalidations.

Since mlx5_ib_update_mtt will need to work from within page invalidation,
so it must not block on memory allocation. It employs an atomic memory
allocation mechanism that is used as a fallback when kmalloc(GFP_ATOMIC) fails.

In order to reuse code from mlx5_ib_populate_pas, the patch splits
this function and add the needed parameters.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Shachar Raindel <raindel@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-12-15 18:19:02 -08:00
..
amso1100 IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
cxgb3 RDMA/cxgb3: Remove a couple unneeded conditions 2014-05-28 10:04:00 -07:00
cxgb4 RDMA/cxgb4/cxgb4vf/csiostor: Cleanup macros/register defines related to PCIE, RSS and FW 2014-11-22 16:57:47 -05:00
ehca IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
ipath IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
mlx4 net/mlx4: Add A0 hybrid steering 2014-12-11 14:47:35 -05:00
mlx5 IB/mlx5: Add mlx5_ib_update_mtt to update page tables after creation 2014-12-15 18:19:02 -08:00
mthca IB/mad: add new ioctl to ABI to support new registration options 2014-08-10 20:36:00 -07:00
nes IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
ocrdma IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
qib IB/core: Replace ib_umem's offset field with a full address 2014-12-15 18:13:35 -08:00
usnic IOMMU Updates for Linux v3.18 2014-10-15 07:23:49 +02:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00