[vfio-users] Newbie steps

Alex Williamson alex.l.williamson at gmail.com
Sun Mar 12 19:50:44 UTC 2017


On Sun, Mar 12, 2017 at 1:35 PM, Patrick O'Callaghan <poc at usb.ve> wrote:

> My only quibble is a spew of error
> messages in dmesg:
>
> # dmesg|grep DMAR
> [    0.000000] ACPI: DMAR 0x00000000BD5B7800 0000B8 (v01 INTEL  SNB
> 00000001 INTL 00000001)
> [    0.000000] DMAR: IOMMU enabled
> [    0.032824] DMAR: Host address width 36
> [    0.032825] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
> [    0.032831] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap
> c0000020e60262 ecap f0101a
> [    0.032831] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
> [    0.032834] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap
> c9008020660262 ecap f0105a
> [    0.032834] DMAR: RMRR base: 0x000000bd422000 end: 0x000000bd42ffff
> [    0.032835] DMAR: RMRR base: 0x000000bf800000 end: 0x000000cf9fffff
> [    0.032837] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
> [    0.032837] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
> [    0.032838] DMAR-IR: Queued invalidation will be enabled to support
> x2apic and Intr-remapping.
> [    0.033076] DMAR-IR: Enabled IRQ remapping in x2apic mode
> [    0.720048] DMAR: No ATSR found
> [    0.720497] DMAR: dmar0: Using Queued invalidation
> [    0.720501] DMAR: dmar1: Using Queued invalidation
> [    0.784439] DMAR: Software identity mapping for device 0000:00:00.0
> [    0.784440] DMAR: Software identity mapping for device 0000:00:01.0
> [    0.784444] DMAR: Software identity mapping for device 0000:00:02.0
> [    0.784445] DMAR: Software identity mapping for device 0000:00:14.0
> [    0.784445] DMAR: Software identity mapping for device 0000:00:16.0
> [    0.784446] DMAR: Software identity mapping for device 0000:00:1a.0
> [    0.784447] DMAR: Software identity mapping for device 0000:00:1b.0
> [    0.784448] DMAR: Software identity mapping for device 0000:00:1c.0
> [    0.784448] DMAR: Software identity mapping for device 0000:00:1c.1
> [    0.784449] DMAR: Software identity mapping for device 0000:00:1d.0
> [    0.784450] DMAR: Software identity mapping for device 0000:00:1f.0
> [    0.784451] DMAR: Software identity mapping for device 0000:00:1f.2
> [    0.784451] DMAR: Software identity mapping for device 0000:00:1f.3
> [    0.784455] DMAR: Software identity mapping for device 0000:01:00.0
> [    0.784456] DMAR: Software identity mapping for device 0000:01:00.1
> [    0.784460] DMAR: Software identity mapping for device 0000:03:00.0
> [    0.784461] DMAR: Setting RMRR:
> [    0.784462] DMAR: Setting identity map for device 0000:00:02.0
> [0xbf800000 - 0xcf9fffff]
> [    0.785486] DMAR: Setting identity map for device 0000:00:14.0
> [0xbd422000 - 0xbd42ffff]
> [    0.785488] DMAR: Setting identity map for device 0000:00:1a.0
> [0xbd422000 - 0xbd42ffff]
> [    0.785489] DMAR: Setting identity map for device 0000:00:1d.0
> [0xbd422000 - 0xbd42ffff]
> [    0.785491] DMAR: Prepare 0-16MiB unity mapping for LPC
> [    0.785491] DMAR: Setting identity map for device 0000:00:1f.0 [0x0 -
> 0xffffff]
> [    0.785710] DMAR: Intel(R) Virtualization Technology for Directed I/O
> [    0.866268] DMAR: 32bit 0000:00:1a.0 uses non-identity mapping
> [    0.866294] DMAR: Setting identity map for device 0000:00:1a.0
> [0xbd422000 - 0xbd42ffff]
> [    0.877136] DMAR: 32bit 0000:00:1d.0 uses non-identity mapping
> [    0.877162] DMAR: Setting identity map for device 0000:00:1d.0
> [0xbd422000 - 0xbd42ffff]
> [    1.602494] [drm] DMAR active, disabling use of stolen memory
> [    1.622730] DMAR: DRHD: handling fault status reg 2
> [    1.622739] DMAR: [DMA Write] Request device [00:02.0] fault addr
> 7300000000 [fault reason 05] PTE Write access is not set
> [    1.729748] DMAR: DRHD: handling fault status reg 2
> [    1.729756] DMAR: [DMA Write] Request device [00:02.0] fault addr
> 7300000000 [fault reason 05] PTE Write access is not set
> [    1.940292] DMAR: DRHD: handling fault status reg 2
> [    1.940335] DMAR: [DMA Write] Request device [00:02.0] fault addr
> 7300000000 [fault reason 05] PTE Write access is not set
> [    2.746359] DMAR: DRHD: handling fault status reg 2
> [    2.746389] DMAR: [DMA Write] Request device [00:02.0] fault addr
> 7300000000 [fault reason 05] PTE Write access is not set
>
> Not sure if that's a BIOS thing I need to look at or what.
>

Try changing from "intel_iommu=on" to "intel_iommu=on,igfx_off".  You won't
be able to assign the IGD to a VM by adding that, but that doesn't seem to
be your goal anyway.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20170312/8c2af076/attachment.htm>


More information about the vfio-users mailing list