[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: iommu=no-igfx

  • To: Jan Beulich <jbeulich@xxxxxxxx>, buy computer <buycomputer40@xxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Mon, 25 May 2020 02:15:59 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dv4DsR2Os+Y+RPx06qPQuuoviqK7msY4b3UoAh36O4U=; b=g+qxA5N6Iu+pppSvpxsEeMoFJVdMcySHRLKFC7fmHJadXJ53KUMDdrrm4ISasOz62a/Gek4L7NjGs6aUasdA2A2XbhmoGOU9s/nZBK42OZAIYOe6WH39pwki6XzcrQp+7p+ZHRAprjVtriRVg2gR6FGVyGmTsuHZrZ5FA2wi6najCfLLoG/bl0SC0TFE7gGGE0SUXS5QFDVBwjnB5EyureEYxMYKmOd8qUxzwHF17MRJAY0mPJb5Pc316T/j8RMTe4+WUXlfE88T2xH3OMh7mP9gS84I3bfYVWo7YVQwiLFaYlzTPFXHwlEHGrDD8w1ZdMz2JhFR2YHroyPQZtqoeA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jT+xX5BJsYcSZGgogAeoPyN24Y8y/PMly0xsMV5Mrs6ccdWx1kc1ccpIEBohoNSZdcqmshoU/TCpGa++iJYwBjslpH6n2mt5fr13taxMg4d7ZU7FHNTlGpilkek82OnkIgUV6XISsmIR81QgKFQNrTEjx34Cvz/GW0PHVZpuEtnpJ0vHnTWHWflzeMavKQ4xaXqyO9RZ1AjZM5EQtonGPKKd8bdkch5FtJT3s/Q3A30pTj8IDLiSfaH7yvgb9i/laX/jfD2sCwVKJbfPb+fTiPkdO05Jr2O1O4u0QBdsSrOPJelRzlJlmio9fRsRQrc8yNG6V8AOF3DKiDwZqtvXqA==
  • Authentication-results: suse.com; dkim=none (message not signed) header.d=none;suse.com; dmarc=none action=none header.from=intel.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 25 May 2020 02:16:34 +0000
  • Dlp-product: dlpe-windows
  • Dlp-reaction: no-action
  • Dlp-version:
  • Ironport-sdr: PzJLQh5JAQ0f2ZMICeFKYd4tW21tuW8yAjhWpOa8ge+30XuPo7+sikBcWqyGwIn52Y8Hj0Y7sl 0yq0xyQ9dv0w==
  • Ironport-sdr: 3iRDry9kWQHFIJQ+1+wxKBRaHYULvy/bSsV1KHhCZiwsxK2QpWBk06JCiMVT1mDtInNyhmQeyU qrvCeQ+FSdvQ==
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHWKBPp26X0x5YGAUu393CB+jzHkKiw3nQAgAdCTsA=
  • Thread-topic: iommu=no-igfx

> From: Jan Beulich <jbeulich@xxxxxxxx>
> Sent: Wednesday, May 20, 2020 7:11 PM
> On 11.05.2020 19:43, buy computer wrote:
> > I've been working on a Windows 10 HVM on a Debian 10 dom0. When I
> was first
> > trying to make the VM, I was getting IOMMU errors. I had a hard time
> > figuring out what to do about this, and finally discovered that putting
> > iommu=no-igfx in the grub stopped the errors.
> >
> > Unfortunately, without the graphics support the VM is understandably
> slow,
> > and can crash. I was also only now pointed to the page
> > <https://xenbits.xen.org/docs/unstable/misc/xen-command-
> line.html#iommu>
> > which says to report any errors that get fixed by using iommu=no-igfx.

what is the platform and linux kernel version in this context?

> Thanks for the report. For context I'll quote the commit message of
> the commit introducing the option as well as the request to report
> issues fixed with it:
> "As we still cannot find a proper fix for this problem, this patch adds
>  iommu=igfx option to control whether Intel graphics IOMMU is enabled.
>  Running Xen with iommu=no-igfx is similar to running Linux with
>  intel_iommu=igfx_off, which disables IOMMU for Intel GPU. This can be
>  used by users to manually workaround the problem before a fix is
>  available for i915 driver."
> This was in 2015, referencing Linux >= 3.19. I have no idea whether
> the underlying driver issue(s) has/have been fixed. The addresses
> referenced are variable enough and all within RAM, so I'd conclude
> this is not a "missing RMRR" issue.

Variable enough but not within RAM. From E820:

(XEN)  0000000100000000 - 0000000871800000 (usable)

But the referenced addresses are way higher:

(XEN) [VT-D]DMAR:[DMA Read] Request device [0000:00:02.0] fault 
addr 76c615d000, iommu reg = ffff82c000a0c000
(XEN) [VT-D]DMAR: reason 06 - PTE Read access is not set

> Cc-ing the VT-d maintainer for possible insights or thoughts.
> Jan

I don't have other thoughts except the weird addresses. It might be
good to add some trace in dom0's i915 driver to see whether those
addresses are intended or not.




Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.