Skip to contentSkip to conversation

suspend-to-ram on athlons

DISCUSSION Pavel Machek 1 participant 1 message Dec 8, 2001

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
"I do not steal MS software. It is not worth it."
                                -- Pavel Kankovsky