mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Dave Young <dyoung@redhat.com>
Cc: kexec@lists.infradead.org, iommu@lists.linux-foundation.org,
	linux-kernel@vger.kernel.org, vgoyal@redhat.com,
	horms@verge.net.au, luyu@redhat.com
Subject: Re: [PATCH retry] intel-iommu:make identity_map default for crash dump
Date: Tue, 01 Nov 2011 10:34:10 +0100	[thread overview]
Message-ID: <1320140052.2089.5.camel@shinybook.infradead.org> (raw)
In-Reply-To: <20111101091939.GA8985@darkstar.nay.redhat.com>

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

On Tue, 2011-11-01 at 17:19 +0800, Dave Young wrote:
> kdump kernel sometimes will get DMAR faults which
> is caused by random in-flight dma from 1st kernel
> 
> Here make the identity_mapping as default for this case

So you want to *allow* the random in-flight DMA? And with an identity
mapping it's really going to random addresses, since it'll be
untranslated and won't even go to the physical addresses which it was
originally intended for?

This seems entirely broken to me.

If there is "random in-flight dma" from the first kernel, the correct
thing to do is *block* it. Which is what we do.

-- 
dwmw2

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5818 bytes --]

  reply	other threads:[~2011-11-01  9:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-01  9:19 Dave Young
2011-11-01  9:34 ` David Woodhouse [this message]
2011-11-01  9:52   ` Dave Young

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=1320140052.2089.5.camel@shinybook.infradead.org \
    --to=dwmw2@infradead.org \
    --cc=dyoung@redhat.com \
    --cc=horms@verge.net.au \
    --cc=iommu@lists.linux-foundation.org \
    --cc=kexec@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luyu@redhat.com \
    --cc=vgoyal@redhat.com \
    /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®