Patch has been sent out https://lists.ubuntu.com/archives/kernel-team/2019-December/106510.html
** Description changed: - "[Bug Description] + [SRU Justification] + + Impact: With SMMU enabled, kill RDMA process will cause unexpected SMMU event + Fix: Cherry-pick patches ec5bc2cc6 from upstream + Testcase: Kill RMDA process several times and check console output + + + [Bug Description] 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 + 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. - [Steps to Reproduce] 1. load hns-roce-hw-v2.ko and open smmu 2. run rdma app 3. kill RoCE process [Actual Results] fail [Expected Results] success [Reproducibility] Inevitably [Additional information] Hardware: D06 Firmware: NA Kernel: NA [Resolution] - "RDMA/hns: Fixs hw access invalid dma memory error + RDMA/hns: Fixs hw access invalid dma memory error ** Changed in: linux (Ubuntu Disco) Status: Incomplete => In Progress ** Changed in: linux (Ubuntu Disco) Assignee: (unassigned) => Ike Panhc (ikepanhc) ** Changed in: linux (Ubuntu Bionic) Status: Invalid => In Progress ** Changed in: linux (Ubuntu Bionic) Assignee: (unassigned) => Ike Panhc (ikepanhc) ** Changed in: kunpeng920 Status: New => In Progress ** Description changed: - [SRU Justification] + [Impact] + With SMMU enabled, kill RDMA process will cause unexpected SMMU event - Impact: With SMMU enabled, kill RDMA process will cause unexpected SMMU event - Fix: Cherry-pick patches ec5bc2cc6 from upstream - Testcase: Kill RMDA process several times and check console output + [Testcase] + Kill RMDA process several times and check console output + + [Regression Risk] + Only RDMA/hns driver modified. lowest risk to other drivers/platforms [Bug Description] 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. [Steps to Reproduce] 1. load hns-roce-hw-v2.ko and open smmu 2. run rdma app 3. kill RoCE process [Actual Results] fail [Expected Results] success [Reproducibility] Inevitably [Additional information] Hardware: D06 Firmware: NA Kernel: NA [Resolution] RDMA/hns: Fixs hw access invalid dma memory error -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1853990 Title: [roce-1126]RDMA/hns: Fixs hw access invalid dma memory error Status in kunpeng920: In Progress Status in kunpeng920 ubuntu-18.04 series: In Progress Status in kunpeng920 ubuntu-18.04-hwe series: Fix Committed Status in kunpeng920 ubuntu-19.04 series: In Progress Status in kunpeng920 ubuntu-19.10 series: Fix Released Status in kunpeng920 upstream-kernel series: Fix Released Status in linux package in Ubuntu: Invalid Status in linux source package in Bionic: In Progress Status in linux source package in Disco: In Progress Bug description: [Impact] With SMMU enabled, kill RDMA process will cause unexpected SMMU event [Testcase] Kill RMDA process several times and check console output [Regression Risk] Only RDMA/hns driver modified. lowest risk to other drivers/platforms [Bug Description] 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. [Steps to Reproduce] 1. load hns-roce-hw-v2.ko and open smmu 2. run rdma app 3. kill RoCE process [Actual Results] fail [Expected Results] success [Reproducibility] Inevitably [Additional information] Hardware: D06 Firmware: NA Kernel: NA [Resolution] RDMA/hns: Fixs hw access invalid dma memory error To manage notifications about this bug go to: https://bugs.launchpad.net/kunpeng920/+bug/1853990/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp