lkml.org 
[lkml]   [2011]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel panic with intel_iommu=on
On Fri, 12 Aug 2011 23:51:47 +1000 Dave Airlie (DA) wrote:

DA> Does intel_iommu=igfx_off work as well?
DA>
DA> I've been seeing a few of these with Ironlake chipsets, the reason
DA> firefox does it is probably because it causes the 3D driver to be
DA> used.

With intel_iommu=igfx_off it works as well. Looks like that keeps IOMMU 1
disabled. So the bug seems to be in the register-based invalidation of mappings
in the DMAR engine that remaps igfx. And it must be something that firefox 5.0
doesn't trigger, whereas 6.0 does.

For completeness, here's the relevant dmesg output with intel_iommu=igfx_off.

DMAR: Host address width 36
DMAR: DRHD base: 0x000000feb00000 flags: 0x0
IOMMU 0: reg_base_addr feb00000 ver 1:0 cap c9008020a30270 ecap 1000
DMAR: DRHD base: 0x000000feb01000 flags: 0x0
IOMMU 1: reg_base_addr feb01000 ver 1:0 cap c0000020230270 ecap 1000
DMAR: DRHD base: 0x000000feb03000 flags: 0x1
IOMMU 2: reg_base_addr feb03000 ver 1:0 cap c9008020230270 ecap 1000
DMAR: RMRR base: 0x000000000e0000 end: 0x000000000effff
DMAR: RMRR base: 0x0000003e600000 end: 0x0000003effffff
DMAR: No ATSR found
IOMMU 0 0xfeb00000: using Register based invalidation
IOMMU 2 0xfeb03000: using Register based invalidation
IOMMU: Setting RMRR:
IOMMU: Setting identity map for device 0000:00:1d.0 [0xe0000 - 0xeffff]
IOMMU: Setting identity map for device 0000:00:1d.1 [0xe0000 - 0xeffff]
IOMMU: Setting identity map for device 0000:00:1d.2 [0xe0000 - 0xeffff]
IOMMU: Setting identity map for device 0000:00:1d.7 [0xe0000 - 0xeffff]
IOMMU: Setting identity map for device 0000:00:1a.0 [0xe0000 - 0xeffff]
IOMMU: Setting identity map for device 0000:00:1a.1 [0xe0000 - 0xeffff]
IOMMU: Setting identity map for device 0000:00:1a.2 [0xe0000 - 0xeffff]
IOMMU: Setting identity map for device 0000:00:1a.7 [0xe0000 - 0xeffff]
IOMMU: Prepare 0-16MiB unity mapping for LPC
IOMMU: Setting identity map for device 0000:00:1f.0 [0x0 - 0xffffff]
PCI-DMA: Intel(R) Virtualization Technology for Directed I/O

Cheers,

- Udo
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2011-08-12 16:11    [W:0.044 / U:1.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site