From: "Woodhouse, David" <david.woodhouse@intel.com>
To: "stefani@seibold.net" <stefani@seibold.net>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"jiang.liu@linux.intel.com" <jiang.liu@linux.intel.com>,
"daniel.vetter@ffwll.ch" <daniel.vetter@ffwll.ch>,
"Zanoni, Paulo R" <paulo.r.zanoni@intel.com>,
"greg@kroah.com" <greg@kroah.com>
Subject: Re: X86: kexec issues with i915 in 3.14
Date: Mon, 14 Apr 2014 00:28:13 +0000 [thread overview]
Message-ID: <1397435291.19944.176.camel@shinybook.infradead.org> (raw)
In-Reply-To: <1397419299.1407.18.camel@vger.seibold.net>
[-- Attachment #1: Type: text/plain, Size: 1593 bytes --]
On Sun, 2014-04-13 at 22:01 +0200, Stefani Seibold wrote:
> Rebooting my kernel vanilla kernel 3.14 will fail with tons of kernel
> log messages:
>
> [ 0.262754] IOMMU: Setting identity map for device 0000:00:1a.0 [0x7c45f000 - 0x7c46bfff]
> [ 0.262780] IOMMU: Setting identity map for device 0000:00:14.0 [0x7c45f000 - 0x7c46bfff]
> [ 0.262798] IOMMU: Prepare 0-16MiB unity mapping for LPC
> [ 0.262807] IOMMU: Setting identity map for device 0000:00:1f.0 [0x0 - 0xffffff]
> [ 0.262948] PCI-DMA: Intel(R) Virtualization Technology for Directed I/O
> [ 0.262948] dmar: DRHD: handling fault status reg 3
> [ 0.262951] dmar: DMAR:[DMA Write] Request device [00:02.0] fault addr ffffe000
> DMAR:[fault reason 05] PTE Write access is not set
I'm inferring from the subject line that you mean kexec, not
"rebooting"?
It looks like a peripheral device is being left active and doing DMA by
the previous kernel, rather than being shut down. So as soon as the new
kernel resets the IOMMU mappings, that peripheral device is causing
faults.
We really ought to rate-limit the faults and isolate the offending
device before there are 21,000 of them. As discussed elsewhere recently,
we could do with a way to tell the PCI layer that it offended us but I
suppose we could at *least* stop the IOMMU from reporting faults for it.
Is this new behaviour? I'm not sure why this should have changed...
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3437 bytes --]
next prev parent reply other threads:[~2014-04-14 0:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-13 20:01 Stefani Seibold
2014-04-14 0:28 ` Woodhouse, David [this message]
2014-04-14 19:49 ` Stefani Seibold
2014-04-15 8:54 ` Jiang Liu
2014-04-15 18:51 ` Stefani Seibold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1397435291.19944.176.camel@shinybook.infradead.org \
--to=david.woodhouse@intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=greg@kroah.com \
--cc=jiang.liu@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulo.r.zanoni@intel.com \
--cc=stefani@seibold.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®