linux-sg2042/drivers/infiniband/hw/hns
Xi Wang ec5bc2cc69 RDMA/hns: Fixs hw access invalid dma memory error
When smmu is enable, if execute the perftest command and then use 'kill
-9' to exit, follow this operation repeatedly, the kernel will have a high
probability to print the following smmu event:

  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:  0x0000020900000080
  arm-smmu-v3 arm-smmu-v3.1.auto:  0x00000000f47cf000
  arm-smmu-v3 arm-smmu-v3.1.auto:  0x00000000f47cf000

This is because the hw will periodically refresh the qpc cache until the
next reset.

This patch fixed it by removing the action that release qpc memory in the
'hns_roce_qp_free' function.

Fixes: 9a4435375c ("IB/hns: Add driver files for hns RoCE driver")
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-07-07 09:19:38 -03:00
..
Kconfig Linux 5.2-rc6 2019-06-28 21:18:23 -03:00
Makefile RDMA/hns: Fix building modular hns 2019-07-04 13:41:50 -03:00
hns_roce_ah.c RDMA: Introduce and use GID attr helper to read RoCE L2 fields 2019-05-03 11:10:02 -03:00
hns_roce_alloc.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_cmd.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_cmd.h RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_common.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_cq.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_db.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_device.h RDMA/hns: Fix bug when wqe num is larger than 16K 2019-06-20 12:56:34 -04:00
hns_roce_hem.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_hem.h RDMa/hns: Don't stuck in endless timeout loop 2019-06-20 15:39:43 -04:00
hns_roce_hw_v1.c RDMA/hns: Use %pK format pointer print 2019-07-07 09:19:38 -03:00
hns_roce_hw_v1.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_hw_v2.c RDMA/hns: Set reset flag when hw resetting 2019-07-05 12:02:00 -03:00
hns_roce_hw_v2.h RDMA/hns: reset function when removing module 2019-06-20 15:05:48 -04:00
hns_roce_hw_v2_dfx.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_main.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_mr.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_pd.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00
hns_roce_qp.c RDMA/hns: Fixs hw access invalid dma memory error 2019-07-07 09:19:38 -03:00
hns_roce_restrack.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_srq.c RDMA/hns: Cleanup unnecessary exported symbols 2019-06-25 14:48:44 -03:00