linux_dsm_epyc7002/drivers/infiniband/hw/mlx5
Artemy Kovalyov bd174fc2ca IB/mlx5: Fix function updating xlt emergency path
In memory shortage path we fall back to use spare buffer.
mlx5_ib_update_xlt() called from ib_uverbs_reg_mr when ibmr.ucontext
not initialized yet.

Scenario how to test it:
1. trigger memory exhaustion so __get_free_pages(GFP_KERNEL, 4) will fail
2. register MR
3. there should be no kernel oops

Fixes: 7d0cc6edcc ('IB/mlx5: Add MR cache for large UMR regions')
Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-25 15:40:28 -04:00
..
ah.c IB/mlx5: Use kernel driver to help userspace create ah 2016-12-13 13:38:49 -05:00
cmd.c IB/mlx5: Support congestion related counters 2017-04-21 12:29:31 -04:00
cmd.h IB/mlx5: Support congestion related counters 2017-04-21 12:29:31 -04:00
cq.c IB/mlx5: Set correct SL in completion for RoCE 2017-04-21 12:29:31 -04:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
gsi.c IB/mlx5: Fix iteration overrun in GSI qps 2016-08-02 14:32:51 -04:00
ib_virt.c IB/mlx5: Implement callbacks for manipulating VFs 2016-03-21 17:13:14 -04:00
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
mad.c IB: Query ports via the core instead of direct into the driver 2017-02-14 11:41:22 -05:00
main.c IB/mlx5: Add support for active_width and active_speed in RoCE 2017-04-21 12:58:41 -04:00
Makefile IB/mlx5: Add null_mkey access 2017-02-14 11:41:18 -05:00
mem.c IB: Replace ib_umem page_size by page_shift 2017-04-25 15:40:28 -04:00
mlx5_ib.h IB/mlx5: Support congestion related counters 2017-04-21 12:29:31 -04:00
mr.c IB/mlx5: Fix function updating xlt emergency path 2017-04-25 15:40:28 -04:00
odp.c IB: Replace ib_umem page_size by page_shift 2017-04-25 15:40:28 -04:00
qp.c IB/mlx5: Support congestion related counters 2017-04-21 12:29:31 -04:00
srq.c IB/mlx5: Fix out-of-bound access 2017-02-14 10:14:25 -05:00