linux/drivers/infiniband/hw
Yishai Hadas 6e3722baac IB/mlx5: Use the correct commands for UMEM and UCTX allocation
During testing the command format was changed to close a security
hole. Revise the driver to use the command format that will actually be
supported in GA firmware.

Both the UMEM and UCTX are intended only for use by the kernel and cannot
be executed using a general command.

Since the UMEM and CTX are not part of the general object the caps bits
were moved to be some log_xxx location in the general HCA caps.

The firmware code was adapted as well to match the above.

Fixes: a8b92ca1b0 ("IB/mlx5: Introduce DEVX")
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-12-20 13:49:48 -07:00
..
bnxt_re RDMA/bnxt_re: Increase depth of control path command queue 2018-12-19 16:37:33 -07:00
cxgb3 RDMA: Cleanup undesired pd->uobject usage 2018-12-18 19:15:48 -07:00
cxgb4 RDMA: Cleanup undesired pd->uobject usage 2018-12-18 19:15:48 -07:00
hfi1 RDMA: Mark if create address handle is in a sleepable context 2018-12-19 16:17:19 -07:00
hns RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
i40iw RDMA: Cleanup undesired pd->uobject usage 2018-12-18 19:15:48 -07:00
mlx4 RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
mlx5 IB/mlx5: Use the correct commands for UMEM and UCTX allocation 2018-12-20 13:49:48 -07:00
mthca RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
nes RDMA: Cleanup undesired pd->uobject usage 2018-12-18 19:15:48 -07:00
ocrdma RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
qedr RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
qib RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
usnic IB/usnic: Fix potential deadlock 2018-12-19 16:30:16 -07:00
vmw_pvrdma RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -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