mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Andi Kleen <andi@firstfloor.org>
Cc: Ingo Molnar <mingo@elte.hu>,
	kernel list <linux-kernel@vger.kernel.org>,
	Greg KH <greg@kroah.com>
Subject: Re: iommu breaks usb after resume
Date: Wed, 26 Mar 2008 11:21:51 +0100	[thread overview]
Message-ID: <20080326102151.GB18965@elf.ucw.cz> (raw)
In-Reply-To: <20080321135418.GB2346@one.firstfloor.org>

Hi!

> > On 64-bit machine with 4GB ram (8core from amd), iommu breaks USB
> > after swsusp. iommu=soft fixes that issue.
> > 
> > I guess iommu handling in arch/x86/kernel/ should have some
> > suspend/resume support, as it manipulates hardware registers...?
> 
> AGP suspend/resume should already handle restoring of the aperture
> and the IOMMU code uses the same.  It has not other state. It might not work 
> when the AGP driver is not compiled in/loaded though (I suspect
> that is what happened to you) One simple fix would be to just enforce
> that in Kconfig when suspend/resume is enabled.

I had:

CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not set
CONFIG_AGP_VIA=y
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set

...do I need to enable something more?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
pomozte zachranit klanovicky les:  http://www.ujezdskystrom.info/

  reply	other threads:[~2008-03-26 12:34 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-20 11:14 Pavel Machek
2008-03-21 13:27 ` Ingo Molnar
2008-03-21 13:54 ` Andi Kleen
2008-03-26 10:21   ` Pavel Machek [this message]
2008-03-26 13:00     ` Andi Kleen
2008-03-26 22:54       ` Pavel Machek
2008-03-26 23:00         ` Ingo Molnar
2008-03-26 23:05           ` Pavel Machek
2008-03-27  5:53             ` Andi Kleen
2008-03-27  8:41               ` Pavel Machek
2008-03-27  8:42           ` Pavel Machek
2008-03-27  8:47             ` (eats disks) " Pavel Machek
2008-03-27  9:59             ` Pavel Machek
2008-03-27 11:49               ` Andi Kleen
2008-03-27 13:29                 ` Pavel Machek
2008-03-27 13:34                   ` Andi Kleen
2008-03-27 20:30         ` Rafael J. Wysocki
2008-03-27 23:40           ` Pavel Machek
2008-03-27 23:52             ` Rafael J. Wysocki
2008-03-28 13:50               ` Pavel Machek

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=20080326102151.GB18965@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=andi@firstfloor.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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®