public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Andrew Lutomirski <amluto@gmail.com>,
	Jesse Barnes <jbarnes@virtuousgeek.org>,
	Kyle McMartin <kyle@redhat.com>,
	Fenghua Yu <fenghua.yu@intel.com>,
	Suresh Siddha <suresh.b.siddha@intel.com>,
	Yinghai Lu <yinghai@kernel.org>,
	Mark Gross <mgross@linux.intel.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.29: can't resume from suspend with DMAR (intel iommu) enabled
Date: Wed, 25 Mar 2009 19:20:03 +0100	[thread overview]
Message-ID: <20090325182003.GC28366@elte.hu> (raw)
In-Reply-To: <1238004601.2085.57.camel@macbook.infradead.org>


* David Woodhouse <dwmw2@infradead.org> wrote:

> On Wed, 2009-03-25 at 19:07 +0100, Ingo Molnar wrote:
> > * David Woodhouse <dwmw2@infradead.org> wrote:
> > 
> > > On Wed, 2009-03-25 at 18:59 +0100, Ingo Molnar wrote:
> > > > 
> > > > that's not easy - i use it right now :)
> > > > 
> > > > That's another reason why warnings and non-panic() behavior are 
> > > > better for developers too. Had it not crashed i could have sent you 
> > > > my dmesg and i would not have turned off DMAR in the BIOS.
> > > > 
> > > > Now it's turned off in my BIOS (first barrier) and i need to reboot 
> > > > the kernel (second barrier) and i need to hack up a kernel in a 
> > > > certain way to produce debug info (third barrier) - in the merge 
> > > > window (fourth barrier ;-).
> > > 
> > > Yeah, trusting BIOS monkeys for this was always going to be a bad 
> > > plan. We should have just known how to set/read the damn hardware 
> > > BARs -- the most likely explanation for this is that your BIOS is 
> > > just lying to you about where it put the registers, I believe.
> > > 
> > > I'd like to put in a basic sanity check when we first ioremap the 
> > > (alleged) DMAR registers. Hopefully, the output I asked for will 
> > > confirm that there's a simple way to do that...
> > 
> > Could you please fix the panic() and add the debug output you'd 
> > like to see? That would give me a kernel to run straight away. 
> > Without me having to think much about what i should run and 
> > when.
> 
> That's distinctly non-trivial. I need to bail out early.

yeah, DMA can start rather early, and we also need early resource 
reservations, right? Or is there some other issue that makes it 
difficult in addition to that?

	Ingo

  reply	other threads:[~2009-03-25 18:20 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 19:58 2.6.29: can't resume from suspend with DMAR (intel iommu) enabled Andrew Lutomirski
2009-03-24 20:03 ` Rafael J. Wysocki
2009-03-24 20:32 ` Ingo Molnar
2009-03-24 20:36   ` Yu, Fenghua
2009-03-24 20:40     ` Kyle McMartin
2009-04-10 22:46       ` David Woodhouse
2009-04-10 23:21         ` Yu, Fenghua
2009-04-11  0:48         ` Suresh Siddha
2009-04-11  2:12           ` David Woodhouse
2009-03-24 22:36   ` [PATCH 1/2] Intel IOMMU Suspend/Resume Support for DMAR Fenghua Yu
2009-03-24 22:37   ` [PATCH 2/2] Intel IOMMU Suspend/Resume Support for Queued Invalidation Fenghua Yu
2009-03-25 17:32   ` 2.6.29: can't resume from suspend with DMAR (intel iommu) enabled mark gross
2009-03-25 17:38     ` Ingo Molnar
2009-03-25 17:53   ` David Woodhouse
2009-03-25 17:59     ` Ingo Molnar
2009-03-25 18:03       ` David Woodhouse
2009-03-25 18:07         ` Ingo Molnar
2009-03-25 18:10           ` David Woodhouse
2009-03-25 18:20             ` Ingo Molnar [this message]
2009-03-25 18:42               ` Ingo Molnar
2009-04-06 20:56       ` David Woodhouse
2009-04-07  7:56         ` Matthew Garrett
2009-04-07 11:10           ` David Woodhouse
2009-04-10 21:27           ` David Woodhouse
2009-04-11  6:04           ` David Woodhouse
2009-04-11 14:38             ` Kyle McMartin
2009-04-11 16:52               ` David Woodhouse
2009-04-11 17:14                 ` Kyle McMartin

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=20090325182003.GC28366@elte.hu \
    --to=mingo@elte.hu \
    --cc=amluto@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=fenghua.yu@intel.com \
    --cc=jbarnes@virtuousgeek.org \
    --cc=kyle@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgross@linux.intel.com \
    --cc=suresh.b.siddha@intel.com \
    --cc=yinghai@kernel.org \
    /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