Re: agpgart: when telling user you'll corrupt his data, at least do it at KERN_CRIT

From: Andi Kleen
Date: Fri Mar 28 2008 - 10:22:18 EST


> yes that is the theory - but how did your disk get corrupted in
> practice? ;-)

I suspect after wakeup due to the wrong ordering in resume (agp resume function
called too late).

The IOMMU code unfortunately doesn't know that the GART has gone away.

The right fix for that is probably to move the GART resume code into
some shared file and make it a sysdev.

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