Failed to enable PASID for acc VF function

Bug #1983163 reported by Fred Kimmy
6
This bug affects 1 person
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]
395ad89d11fd93f79a6b942e91fc409807a63c4b Subject: [PATCH] iommu/arm-smmu-v3: Add stall support for platform devices
8c09e896cef8d908dd9a20a9f2a5c3fcb9799de3 Subject: [PATCH] PCI: Allow PASID on fake PCIe devices without TLP prefixes
8304a3a199eeb3e6434fc855ac072e7374d0c490 Subject: [PATCH] PCI: Set dma-can-stall for HiSilicon chips

Revision history for this message
Ike Panhc (ikepanhc) wrote :

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.

Changed in kunpeng920:
assignee: nobody → Ike Panhc (ikepanhc)
Revision history for this message
Ike Panhc (ikepanhc) wrote :

All 3 patches are in Ubuntu focal HWE 5.15 kernels. Set to "Fix released".

Changed in kunpeng920:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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