Re: iommu breaks usb after resume

From: Pavel Machek
Date: Wed Mar 26 2008 - 08:34:19 EST


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/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/