Bug 6748 - iommu/vt-d: fix alert message of PASID PT SRE checking for EMR platform
Summary: iommu/vt-d: fix alert message of PASID PT SRE checking for EMR platform
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 5.10.y-13
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-10 14:25 UTC by Fengqian
Modified: 2023-10-10 15:47 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fengqian intel_group 2023-10-10 14:25:36 UTC
Description of problem:

On EMR platform, PASID pass-through with supervisor request is supported while kernel dmesg showing not supported during idxd driver initialization.

[   30.092976] idxd 0000:6a:02.0: Intel(R) Accelerator Device (v100)
[   30.103205] idxd 0000:6f:01.0: enabling device (0144 -> 0146)
[   30.105167] idxd 0000:6f:01.0: iommu_enable_pasid_dma: PASID 3
[   30.106590] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   30.647240] idxd 0000:6f:01.0: Intel(R) Accelerator Device (v100)
[   30.660224] idxd 0000:6f:02.0: enabling device (0140 -> 0142)
[   30.661817] idxd 0000:6f:02.0: iommu_enable_pasid_dma: PASID 4
[   30.663327] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   31.136085] idxd 0000:6f:02.0: Intel(R) Accelerator Device (v100)
[   31.139559] idxd 0000:74:01.0: enabling device (0144 -> 0146)
[   31.141639] idxd 0000:74:01.0: iommu_enable_pasid_dma: PASID 5
[   31.143525] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   31.848528] idxd 0000:74:01.0: Intel(R) Accelerator Device (v100)
[   31.861009] idxd 0000:74:02.0: enabling device (0140 -> 0142)
[   31.862512] idxd 0000:74:02.0: iommu_enable_pasid_dma: PASID 6
[   31.864353] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   31.924874] idxd 0000:74:02.0: Intel(R) Accelerator Device (v100)
[   31.936331] idxd 0000:79:01.0: enabling device (0144 -> 0146)
[   31.937627] idxd 0000:79:01.0: iommu_enable_pasid_dma: PASID 7
[   31.938925] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   32.091612] idxd 0000:79:01.0: Intel(R) Accelerator Device (v100)
[   32.104845] idxd 0000:79:02.0: enabling device (0140 -> 0142)
[   32.106897] idxd 0000:79:02.0: iommu_enable_pasid_dma: PASID 8
[   32.108719] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   32.217955] idxd 0000:79:02.0: Intel(R) Accelerator Device (v100)
[   32.221982] idxd 0000:e7:01.0: enabling device (0144 -> 0146)
[   32.223801] idxd 0000:e7:01.0: iommu_enable_pasid_dma: PASID 9
[   32.225004] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   32.237988] idxd 0000:e7:01.0: Intel(R) Accelerator Device (v100)
[   32.240855] idxd 0000:e7:02.0: enabling device (0140 -> 0142)
[   32.242234] idxd 0000:e7:02.0: iommu_enable_pasid_dma: PASID 10
[   32.243408] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   32.321257] idxd 0000:e7:02.0: Intel(R) Accelerator Device (v100)
[   32.333022] idxd 0000:ec:01.0: enabling device (0144 -> 0146)
[   32.334163] idxd 0000:ec:01.0: iommu_enable_pasid_dma: PASID 11
[   32.335247] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   32.425764] idxd 0000:ec:01.0: Intel(R) Accelerator Device (v100)
[   32.437589] idxd 0000:ec:02.0: enabling device (0140 -> 0142)
[   32.439498] idxd 0000:ec:02.0: iommu_enable_pasid_dma: PASID 12
[   32.441245] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   32.526424] idxd 0000:ec:02.0: Intel(R) Accelerator Device (v100)
[   32.530284] idxd 0000:f1:01.0: enabling device (0144 -> 0146)
[   32.532277] idxd 0000:f1:01.0: iommu_enable_pasid_dma: PASID 13
[   32.534018] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   32.609265] idxd 0000:f1:01.0: Intel(R) Accelerator Device (v100)
[   32.620935] idxd 0000:f1:02.0: enabling device (0140 -> 0142)
[   32.622120] idxd 0000:f1:02.0: iommu_enable_pasid_dma: PASID 14
[   32.623174] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   32.706099] idxd 0000:f1:02.0: Intel(R) Accelerator Device (v100)
[   32.717609] idxd 0000:f6:01.0: enabling device (0144 -> 0146)
[   32.719023] idxd 0000:f6:01.0: iommu_enable_pasid_dma: PASID 15
[   32.720128] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   32.802663] idxd 0000:f6:01.0: Intel(R) Accelerator Device (v100)
[   32.814713] idxd 0000:f6:02.0: enabling device (0140 -> 0142)
[   32.816186] idxd 0000:f6:02.0: iommu_enable_pasid_dma: PASID 16
[   32.817352] DMAR: No PASID PT SRE, in-kernel PASID DMA not supported!!!
[   32.900005] idxd 0000:f6:02.0: Intel(R) Accelerator Device (v100)
Comment 1 小龙 admin 2023-10-10 15:47:46 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2275