Failed to enable PASID for acc VF function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kunpeng920 |
Fix Released
|
Undecided
|
Ike Panhc | ||
Ubuntu-20.04-hwe |
Fix Released
|
Undecided
|
Ike Panhc |
Bug Description
[Bug Description]
PASID cannot be enabled when the zip, hpre, and sec drivers are enabled in VF function.
[Steps to Reproduce]
modprobe hisi_zip vfs_num=1
dmesg
[Actual Results]
[ 3517.456961] [hisi_zip 0000:b5:00.1: Failed to enable PASID
[ 3517.462670] [hisi_zip 0000:b5:00.1: Adding to iommu group 53
[ 3517.466747] [hisi_zip 0000:b5:00.1: enabling device (0000 -> 0002)
[ 3517.494306] [hisi_zip 0000:b5:00.0: VF enabled, vfs_num(=1)!
[ 3697.672057] [33mpci 0000:79:00.1: type 00 class 0x100000
[ 3697.672108] pci 0000:79:00.1: enabling Extended Tags
[Expected Results]
No error information is displayed, and the passid is enabled successfully.
[Reproducibility]
100%
[Additional information]
(Firmware version, kernel version, affected hardware, etc. if required 2022060607566):
OS:Ubuntu 20.04.3 LTS
Linux tx 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:08 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
[Resolution]
395ad89d11fd93f
8c09e896cef8d90
8304a3a199eeb3e
These patches hit mainline kernel in 5.14 or 5.15 and shall be included in Ubuntu focal HWE kernel already. I will verify that.