Re: iommu breaks usb after resume

From: Andi Kleen
Date: Fri Mar 21 2008 - 09:51:41 EST


On Thu, Mar 20, 2008 at 12:14:29PM +0100, Pavel Machek wrote:
> 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.

-Andi
--
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/