linux/drivers/infiniband/hw
Devesh Sharma c50866e285 bnxt_re: fix the regression due to changes in alloc_pbl
While adding the use of for_each_sg_dma_page iterator for Brodcom's rdma
driver, there was a regression added in the __alloc_pbl path. The change
left bnxt_re in DOA state in for-next branch.

Fixing the regression to avoid the host crash when a user space object is
created. Restricting the unconditional access to hwq.pg_arr when hwq is
initialized for user space objects.

Fixes: 161ebe2498 ("RDMA/bnxt_re: Use for_each_sg_dma_page iterator on umem SGL")
Reported-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-02-22 11:17:22 -07:00
..
bnxt_re bnxt_re: fix the regression due to changes in alloc_pbl 2019-02-22 11:17:22 -07:00
cxgb3 IB/{hw,sw}: Remove 'uobject->context' dependency in object creation APIs 2019-02-15 15:38:38 -07:00
cxgb4 iw_cxgb4: Make function read_tcb() static 2019-02-19 20:52:19 -07:00
hfi1 IB/hfi1: Add missing break in switch statement 2019-02-21 14:08:12 -07:00
hns RDMA/hns: Bugfix for set hem of SCC 2019-02-19 20:52:19 -07:00
i40iw IB/{hw,sw}: Remove 'uobject->context' dependency in object creation APIs 2019-02-15 15:38:38 -07:00
mlx4 IB/mlx4: Increase the timeout for CM cache 2019-02-22 09:35:03 -07:00
mlx5 IB/mlx5: Validate correct PD before prefetch MR 2019-02-21 16:32:45 -07:00
mthca IB/{hw,sw}: Remove 'uobject->context' dependency in object creation APIs 2019-02-15 15:38:38 -07:00
nes RDMA/nes: Remove useless usecnt variable and redundant memset 2019-02-15 21:39:15 -07:00
ocrdma RDMA/ocrdma: Use for_each_sg_dma_page iterator on umem SGL 2019-02-11 15:24:55 -07:00
qedr IB/{hw,sw}: Remove 'uobject->context' dependency in object creation APIs 2019-02-15 15:38:38 -07:00
qib drivers/IB,qib: Fix pinned/locked limit check in qib_get_user_pages() 2019-02-20 14:42:41 -07:00
usnic IB/usnic: Fix deadlock 2019-02-19 20:52:19 -07:00
vmw_pvrdma RDMA/vmw_pvrdma: Use for_each_sg_dma_page iterator on umem SGL 2019-02-11 15:24:55 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00