Re: swsusp does not stop DMA properly during resume

From: Pavel Machek
Date: Tue Jan 20 2004 - 18:11:53 EST


Hi!

> > As Ben pointed out, swsusp is not doing the right thing with devices
> > in 2.6.1. I had patch for a long time here, and it needs to go
> > in... It stops them before copying pages back, so there are no issues
> > with running DMAs etc.
>
> I _think_ what this patch is doing is suspending all devices from within
> the boot kernel before starting into the resumed kernel. Is this
> correct?

Yes.

> > + update_screen(fg_console); /* Hmm, is this the problem? */
>
> Cryptic comment. To what "problem" does this refer?

Ugh, I am afraid I forgot waht this one means. I was seing some data
corruption but that was solved...

Pavel

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
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/