WSL2-Linux-Kernel/drivers/infiniband/hw/mlx5
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
..
Kconfig IB/mlx5: Remove dependency on X86 2014-02-13 20:48:02 -08:00
Makefile IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
ah.c mlx5: Add driver for Mellanox Connect-IB adapters 2013-07-08 10:32:24 -07:00
cq.c mlx5: don't duplicate kvfree() 2014-11-21 14:58:18 -05:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
mad.c net/mlx5_core: Update device capabilities handling 2014-10-03 15:42:31 -07:00
main.c IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
mem.c IB/mlx5: Add mlx5_ib_update_mtt to update page tables after creation 2014-12-15 18:19:02 -08:00
mlx5_ib.h IB/mlx5: Add mlx5_ib_update_mtt to update page tables after creation 2014-12-15 18:19:02 -08:00
mr.c IB/mlx5: Add mlx5_ib_update_mtt to update page tables after creation 2014-12-15 18:19:02 -08:00
odp.c IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
qp.c IB/mlx5: Add function to read WQE from user-space 2014-12-15 18:13:35 -08:00
srq.c mlx5: don't duplicate kvfree() 2014-11-21 14:58:18 -05:00
user.h IB/mlx5: add missing padding at end of struct mlx5_ib_create_srq 2014-05-27 11:53:16 -07:00