summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/pasemi/pasemi_mac.c
diff options
context:
space:
mode:
authorXi Wang <wangxi11@huawei.com>2019-06-24 19:47:51 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-29 10:24:28 +0100
commit75eb752ba4f47dc013141cf495725f6aff7d265d (patch)
tree739667d9d924885a66376d44f0c6d04dde581ae6 /drivers/net/ethernet/pasemi/pasemi_mac.c
parentdb62dded6dcb7c78d65a588882a7f3da39d007e2 (diff)
RDMA/hns: Fixs hw access invalid dma memory error
[ Upstream commit ec5bc2cc69b4fc494e04d10fc5226f6f9cf67c56 ] 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: 9a4435375cd1 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/pasemi/pasemi_mac.c')
0 files changed, 0 insertions, 0 deletions