linux/drivers/infiniband/hw/hns
Yangyang Li 00fb67ec6b RDMA/hns: Bugfix for SCC hem free
The method of hem free for SCC context is different from qp context.

In the current version, if free SCC hem during the execution of qp free,
there may be smmu error as below:

 arm-smmu-v3 arm-smmu-v3.1.auto: event 0x10 received:
 arm-smmu-v3 arm-smmu-v3.1.auto:  0x00007d0000000010
 arm-smmu-v3 arm-smmu-v3.1.auto:  0x000012000000017c
 arm-smmu-v3 arm-smmu-v3.1.auto:  0x00000000000009e0
 arm-smmu-v3 arm-smmu-v3.1.auto:  0x0000000000000000

As SCC context is still used by hardware after qp free, we can solve this
problem by removing SCC hem free from hns_roce_qp_free.

Fixes: 6a157f7d1b ("RDMA/hns: Add SCC context allocation support for hip08")
Signed-off-by: Yangyang Li <liyangyang20@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-04-08 13:42:16 -03:00
..
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
Makefile infiniband: prefix header search paths with $(srctree)/ 2019-01-25 15:28:50 -07:00
hns_roce_ah.c RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
hns_roce_alloc.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
hns_roce_cmd.c RDMA/hns: Fix the chip hanging caused by sending mailbox&CMQ during reset 2019-02-04 16:13:50 -07:00
hns_roce_cmd.h RDMA/hns: Add timer allocation support for hip08 2019-01-24 09:22:30 -07:00
hns_roce_common.h RDMA/hns: Update posting & querying mailbox 2018-12-11 12:04:06 -07:00
hns_roce_cq.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
hns_roce_db.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
hns_roce_device.h RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
hns_roce_hem.c RDMA/hns: Fix bug that caused srq creation to fail 2019-04-08 13:27:58 -03:00
hns_roce_hem.h RDMA/hns: Add timer allocation support for hip08 2019-01-24 09:22:30 -07:00
hns_roce_hw_v1.c RDMA: Fix allocation failure on pointer pd 2019-02-13 09:00:43 -07:00
hns_roce_hw_v1.h RDMA/hns: Fix endian conversions and annotations 2018-07-11 14:09:25 -06:00
hns_roce_hw_v2.c RDMA/hns: Use GFP_ATOMIC in hns_roce_v2_modify_qp 2019-03-04 16:41:30 -04:00
hns_roce_hw_v2.h RDMA/hns: Modify qp&cq&pd specification according to UM 2019-02-19 20:52:19 -07:00
hns_roce_main.c RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
hns_roce_mr.c RDMA/hns: Fix bug that caused srq creation to fail 2019-04-08 13:27:58 -03:00
hns_roce_pd.c RDMA: Handle PD allocations by IB/core 2019-02-08 16:51:04 -07:00
hns_roce_qp.c RDMA/hns: Bugfix for SCC hem free 2019-04-08 13:42:16 -03:00
hns_roce_srq.c RDMA/hns: Make some function static 2019-02-04 15:33:58 -07:00