** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Disco)
   Importance: Undecided
       Status: New

-- 
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:
  New
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:
  Incomplete
Status in linux source package in Bionic:
  Incomplete
Status in linux source package in Disco:
  Incomplete

Bug description:
  "[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

Reply via email to