Ubuntu 20.04: dmesg | grep -e DMAR -e IOMMU [ 0.007620] ACPI: DMAR 0x00000000D8FFEAE8 0000B8 (v01 INTEL HSW 00000001 INTL 00000001) [ 0.007633] ACPI: Reserving DMAR table memory at [mem 0xd8ffeae8-0xd8ffeb9f] [ 0.097851] DMAR: Host address width 39 [ 0.097852] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 [ 0.097855] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a [ 0.097856] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 [ 0.097858] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008020660462 ecap f010da [ 0.097858] DMAR: RMRR base: 0x000000dbcf6000 end: 0x000000dbd03fff [ 0.097859] DMAR: RMRR base: 0x000000dd000000 end: 0x000000df1fffff [ 0.097861] DMAR-IR: IOAPIC id 8 under DRHD base 0xfed91000 IOMMU 1 [ 0.097861] DMAR-IR: HPET id 0 under DRHD base 0xfed91000 [ 0.097862] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping. [ 0.098256] DMAR-IR: Enabled IRQ remapping in x2apic mode
On Sat, 3 Jul 2021 at 17:28, Bryan Cebuliak <bryan.cebul...@gmail.com> wrote: > bullseye with intel_iommu=on,igfx_off: > sudo dmesg | grep -e DMAR -e IOMMU > [ 0.007516] ACPI: DMAR 0x00000000D8FFEAE8 0000B8 (v01 INTEL HSW > 00000001 INTL 00000001) > [ 0.007531] ACPI: Reserving DMAR table memory at [mem > 0xd8ffeae8-0xd8ffeb9f] > [ 0.019109] DMAR: Disable GFX device mapping > [ 0.047926] DMAR: Host address width 39 > [ 0.047926] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 > [ 0.047930] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap > c0000020660462 ecap f0101a > [ 0.047930] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 > [ 0.047932] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap > d2008020660462 ecap f010da > [ 0.047933] DMAR: RMRR base: 0x000000dbcf6000 end: 0x000000dbd03fff > [ 0.047934] DMAR: RMRR base: 0x000000dd000000 end: 0x000000df1fffff > [ 0.047936] DMAR-IR: IOAPIC id 8 under DRHD base 0xfed91000 IOMMU 1 > [ 0.047937] DMAR-IR: HPET id 0 under DRHD base 0xfed91000 > [ 0.047937] DMAR-IR: Queued invalidation will be enabled to support > x2apic and Intr-remapping. > [ 0.048327] DMAR-IR: Enabled IRQ remapping in x2apic mode > [ 0.793666] DMAR: No ATSR found > [ 0.793696] DMAR: dmar1: Using Queued invalidation > [ 0.795240] DMAR: Intel(R) Virtualization Technology for Directed I/O > [ 0.799207] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroe...@suse.de > > > [ 0.799207] AMD-Vi: AMD IOMMUv2 functionality not available on this > system > > > bullseye with no intel_iommu command line setting: > dmesg | grep -e DMAR -e IOMMU > [ 0.007532] ACPI: DMAR 0x00000000D8FFEAE8 0000B8 (v01 INTEL HSW > 00000001 INTL 00000001) > [ 0.007546] ACPI: Reserving DMAR table memory at [mem > 0xd8ffeae8-0xd8ffeb9f] > [ 0.048030] DMAR: Host address width 39 > [ 0.048031] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 > [ 0.048034] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap > c0000020660462 ecap f0101a > [ 0.048035] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 > [ 0.048037] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap > d2008020660462 ecap f010da > [ 0.048037] DMAR: RMRR base: 0x000000dbcf6000 end: 0x000000dbd03fff > [ 0.048038] DMAR: RMRR base: 0x000000dd000000 end: 0x000000df1fffff > [ 0.048040] DMAR-IR: IOAPIC id 8 under DRHD base 0xfed91000 IOMMU 1 > [ 0.048040] DMAR-IR: HPET id 0 under DRHD base 0xfed91000 > [ 0.048041] DMAR-IR: Queued invalidation will be enabled to support > x2apic and Intr-remapping. > [ 0.048426] DMAR-IR: Enabled IRQ remapping in x2apic mode > [ 0.794120] DMAR: No ATSR found > [ 0.794149] DMAR: dmar0: Using Queued invalidation > [ 0.794154] DMAR: dmar1: Using Queued invalidation > [ 0.863652] DMAR: Intel(R) Virtualization Technology for Directed I/O > [ 0.867732] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroe...@suse.de> > > [ 0.867733] AMD-Vi: AMD IOMMUv2 functionality not available on this > system > [ 1.250394] i915 0000:00:02.0: [drm] DMAR active, disabling use of > stolen memory > > buster no intel_iommu setting: > dmesg | grep -e DMAR -e IOMMU > [ 0.009193] ACPI: DMAR 0x00000000D8FFEAE8 0000B8 (v01 INTEL HSW > 00000001 INTL 00000001) > [ 0.192242] DMAR: Host address width 39 > [ 0.192243] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 > [ 0.192246] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap > c0000020660462 ecap f0101a > [ 0.192246] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 > [ 0.192248] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap > d2008020660462 ecap f010da > [ 0.192249] DMAR: RMRR base: 0x000000dbcf6000 end: 0x000000dbd03fff > [ 0.192249] DMAR: RMRR base: 0x000000dd000000 end: 0x000000df1fffff > [ 0.192251] DMAR-IR: IOAPIC id 8 under DRHD base 0xfed91000 IOMMU 1 > [ 0.192251] DMAR-IR: HPET id 0 under DRHD base 0xfed91000 > [ 0.192252] DMAR-IR: Queued invalidation will be enabled to support > x2apic and Intr-remapping. > [ 0.192637] DMAR-IR: Enabled IRQ remapping in x2apic mode > [ 0.846867] AMD IOMMUv2 driver by Joerg Roedel <jroe...@suse.de> > [ 0.846867] AMD IOMMUv2 functionality not available on this system > > On Sat, 3 Jul 2021 at 02:22, Bryan Cebuliak <bryan.cebul...@gmail.com> > wrote: > >> If igfx_off is default, how / why is it on? >> from >> https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html >> "... >> >> intel_iommu= [DMAR] Intel IOMMU driver (DMAR) option >> on >> Enable intel iommu driver. >> off >> Disable intel iommu driver. >> igfx_off [Default Off] >> By default, gfx is mapped as normal device. If a gfx >> device has a dedicated DMAR unit, the DMAR unit is >> bypassed by not enabling DMAR with this option. In >> this case, gfx device will use physical address for >> DMA. >> ... >> >> >> On Sat, 3 Jul 2021 at 01:25, Bryan Cebuliak <bryan.cebul...@gmail.com> >> wrote: >> >>> more possibly relevant IOMMU video audio and passthrough issue links: >>> Easy ACS kernel patch guide for Ubuntu 20.04 >>> https://www.youtube.com/watch?v=JBEzshbGPhQ >>> >>> >>> https://forum.level1techs.com/t/intel-graphics-hdmi-audio-fails-after-enabling-intel-iommu-on/168827 >>> >>> kvm-gpu-passthrough-on-debian-buster.md >>> https://gist.github.com/davesilva/445276f9157e7cb3a4f6ed2fe852b340 >>> >>>