suspend-to-ram on athlons

From: Pavel Machek (
Date: Fri Dec 07 2001 - 16:01:30 EST


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.


"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
More majordomo info at
Please read the FAQ at

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