suspend-to-ram on athlons

From: Pavel Machek (pavel@suse.cz)
Date: Fri Dec 07 2001 - 16:01:30 EST


Hi!

suspend-to-ram was not working on athlons... Now I found the reason...

We wrote some data to memory, and then told hw to powerdown everything
but memory.

But somehow data were not in memory.

So I added mdelay(1000) and printk().

Data were still not in memory.

So I added wbinvd().

Yep, that helped. That means that athlons happily write-back-cache
data for 1 second.... Ouch.

Okay, I just did not expect *that* kind of trick being played at me.

                                                                Pavel

-- 
"I do not steal MS software. It is not worth it."
                                -- Pavel Kankovsky
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:13 EST