Bug 215919

Summary: DMAR: [DMA Read NO_PASID] Request device [00:1f.3] fault addr 0x3be8a6000 [fault reason 0x06] PTE Read access is not set
Product: Drivers Reporter: Laurent Bonnaud (L.Bonnaud)
Component: IOMMUAssignee: drivers_iommu
Status: RESOLVED CODE_FIX    
Severity: normal    
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 5.17.5 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: Full dmesg log

Description Laurent Bonnaud 2022-04-29 10:45:30 UTC
Hi,

when I try to play some kind of video on my system, the video stops after a few frames and I see the following error messages in the kernel logs:

[16833.381935] DMAR: DRHD: handling fault status reg 3
[16833.381942] DMAR: [DMA Read NO_PASID] Request device [00:1f.3] fault addr 0x3be8a6000 [fault reason 0x06] PTE Read access is not set
[17107.957688] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: last cmd=0x202f8100
[17108.969581] snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x202f8100
[17109.981609] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to single_cmd mode: last cmd=0x202f8100
[17110.087704] snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=1058400, period=529200
[17110.088081] snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=1058400, period=529200
[17110.088416] snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=1058400, period=35280
[17110.089556] snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=3704400, period=529200
[17110.090984] snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=4194300, period=135300

Then audio output fails for all applications.

Here is the affected device:

$ lspci | grep 00:1f.3
00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)

that is part of this SoC:

  Model name:            11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz

on this system:

System Information
        Manufacturer: Intel(R) Client Systems
        Product Name: NUC11TNHv5
        Version: M11919-402

BIOS Information
        Vendor: Intel Corp.
        Version: TNTGLV57.0064.2022.0217.1533
        Release Date: 02/17/2022
Comment 1 Laurent Bonnaud 2022-04-29 10:48:39 UTC
Created attachment 300850 [details]
Full dmesg log

Here is the full dmesg log
Comment 2 Laurent Bonnaud 2022-04-29 11:05:54 UTC
Here are kernel messages related to IOMMU:

# dmesg | grep -i iommu
[    0.134036] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 3
[    0.623471] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[    0.687487] iommu: Default domain type: Translated
[    0.687487] iommu: DMA domain TLB invalidation policy: lazy mode
[    0.711265] DMAR: IOMMU feature fl1gp_support inconsistent
[    0.711266] DMAR: IOMMU feature pgsel_inv inconsistent
[    0.711266] DMAR: IOMMU feature nwfs inconsistent
[    0.711267] DMAR: IOMMU feature dit inconsistent
[    0.711267] DMAR: IOMMU feature sc_support inconsistent
[    0.711268] DMAR: IOMMU feature dev_iotlb_support inconsistent
[    0.711411] pci 0000:00:00.0: Adding to iommu group 0
[    0.711417] pci 0000:00:02.0: Adding to iommu group 1
[    0.711425] pci 0000:00:06.0: Adding to iommu group 2
[    0.711432] pci 0000:00:07.0: Adding to iommu group 3
[    0.711439] pci 0000:00:07.2: Adding to iommu group 4
[    0.711444] pci 0000:00:08.0: Adding to iommu group 5
[    0.711455] pci 0000:00:0d.0: Adding to iommu group 6
[    0.711460] pci 0000:00:0d.2: Adding to iommu group 6
[    0.711465] pci 0000:00:0d.3: Adding to iommu group 6
[    0.711474] pci 0000:00:14.0: Adding to iommu group 7
[    0.711480] pci 0000:00:14.2: Adding to iommu group 7
[    0.711485] pci 0000:00:14.3: Adding to iommu group 8
[    0.711496] pci 0000:00:15.0: Adding to iommu group 9
[    0.711502] pci 0000:00:15.1: Adding to iommu group 9
[    0.711507] pci 0000:00:15.2: Adding to iommu group 9
[    0.711515] pci 0000:00:16.0: Adding to iommu group 10
[    0.711521] pci 0000:00:16.3: Adding to iommu group 10
[    0.711526] pci 0000:00:17.0: Adding to iommu group 11
[    0.711536] pci 0000:00:19.0: Adding to iommu group 12
[    0.711541] pci 0000:00:19.1: Adding to iommu group 12
[    0.711561] pci 0000:00:1d.0: Adding to iommu group 13
[    0.711574] pci 0000:00:1f.0: Adding to iommu group 14
[    0.711580] pci 0000:00:1f.3: Adding to iommu group 14
[    0.711586] pci 0000:00:1f.4: Adding to iommu group 14
[    0.711593] pci 0000:00:1f.5: Adding to iommu group 14
[    0.711599] pci 0000:01:00.0: Adding to iommu group 15
[    0.711620] pci 0000:58:00.0: Adding to iommu group 16
Comment 3 Laurent Bonnaud 2022-04-29 11:07:29 UTC
Are those messages:

  DMAR: IOMMU feature * inconsistent

about "inconsistent" features something to worry about?
Comment 4 Laurent Bonnaud 2022-04-29 11:09:12 UTC
Also, let me add that on this system, audio output goes to an HDMI output.
Comment 5 Laurent Bonnaud 2024-07-26 14:52:08 UTC
I am closing this bug because I no longer see the problem.