[hns-0114]net: hns3: add compatible handling for command HCLGE_OPC_PF_RST_DONE
Bug #1859566 reported by
Fred Kimmy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kunpeng920 |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu-18.04 |
Invalid
|
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]
Since old firmware does not support HCLGE_OPC_
return -EOPNOTSUPP to the driver when received this command.
[Steps to Reproduce]
1.using old firmware
2.run global reset
[Actual Results]
reset fail
[Expected Results]
reset ok
[Reproducibility]
Inevitably
[Additional information]
Hardware: D06
Firmware: NA
Kernel: NA
[Resolution]
This patch just print a warning and return success to the caller.
648db0514a38 net: hns3: add compatible handling for command HCLGE_OPC_
description: | updated |
tags: | added: ikeradar |
Changed in kunpeng920: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This patch fix 72e2fb07997c ("net: hns3: clear reset interrupt status in hclge_irq_ handle( )"), which landed in mainline kernel since v5.4. This is not needed for v4.15 based kernel.