[roce-0114]RDMA/hns: Add reset process for function-clear

Bug #1859588 reported by Fred Kimmy
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kunpeng920
Fix Released
Undecided
Unassigned
Ubuntu-18.04-hwe
Fix Released
Undecided
Unassigned
Ubuntu-20.04
Fix Released
Undecided
Unassigned
Upstream-kernel
Fix Released
Undecided
Unassigned

Bug Description

Bug Description]
If the hardware is resetting, the driver should not perform the mailbox operation.Function-clear needs to add relevant judgment.

[Steps to Reproduce]
1. insmod hns_roce driver
2. trigger reset duirng loading driver

[Actual Results]
Reset fail.

[Expected Results]
Success

[Reproducibility]
Inevitably

[Additional information]
Hardware: D06 CS
Firmware: NA
Kernel: NA

[Resolution]
Add a check to avoid two hook functions of HNS being called at the same time.

e075da5e7c47 RDMA/hns: Add reset process for function-clear

Ike Panhc (ikepanhc)
tags: added: ikeradar
Ike Panhc (ikepanhc)
description: updated
Ike Panhc (ikepanhc)
Changed in kunpeng920:
status: New → Fix Committed
tags: removed: ikeradar
Ike Panhc (ikepanhc)
Changed in kunpeng920:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.