linux_dsm_epyc7002/drivers/infiniband/hw/mlx5
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
..
ah.c RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
cmd.c IB/mlx5: Use uid as part of alloc/dealloc transport domain 2018-12-20 13:39:41 -07:00
cmd.h IB/mlx5: Set uid as part of TD commands 2018-09-25 14:06:38 -06:00
cong.c IB/mlx5: fix uaccess beyond "count" in debugfs read/write handlers 2018-07-09 13:15:12 -06:00
cq.c Merge branch 'mlx5-next' into rdma.git 2018-12-20 13:24:50 -07:00
devx.c IB/mlx5: Use the correct commands for UMEM and UCTX allocation 2018-12-20 13:49:48 -07:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
flow.c IB/uverbs: Add helper to get array size from ptr attribute 2018-12-18 15:19:45 -07:00
gsi.c RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
ib_rep.c IB/mlx5: Unify e-switch representors load approach between uplink and VFs 2018-12-14 09:58:57 -08:00
ib_rep.h RDMA/mlx5: Update SPDX tags to show proper license 2018-06-05 14:04:20 -06:00
ib_virt.c IB/mlx5: Restore IB guid/policy for virtual functions 2017-07-24 10:34:28 -04:00
Kconfig net/mlx5: Fix tristate and description for MLX5 module 2018-07-18 14:33:25 -07:00
mad.c IB/{mlx5,ocrdma,qedr,rxe}: Omit port validation from IB verbs 2018-12-11 14:38:16 -07:00
main.c Merge branch 'mlx5-next' into rdma.git 2018-12-20 13:24:50 -07:00
Makefile net/mlx5: Move SRQ functions to RDMA part 2018-12-04 09:14:30 +02:00
mem.c RDMA/umem: Get rid of struct ib_umem.odp_data 2018-09-21 11:54:46 -04:00
mlx5_ib.h Merge branch 'mlx5-next' into rdma.git 2018-12-20 13:24:50 -07:00
mr.c IB/mlx5: Add advise_mr() support 2018-12-18 15:26:19 -07:00
odp.c IB/mlx5: Add advise_mr() support 2018-12-18 15:26:19 -07:00
qp.c RDMA: Cleanup undesired pd->uobject usage 2018-12-18 19:15:48 -07:00
srq_cmd.c RDMA/mlx5: Unfold modify RMP function 2018-12-04 09:26:00 +02:00
srq.c RDMA: Cleanup undesired pd->uobject usage 2018-12-18 19:15:48 -07:00
srq.h RDMA/mlx5: Initialize SRQ tables on mlx5_ib 2018-12-04 09:25:50 +02:00