lkml.org 
[lkml]   [2005]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: amd64-agp vs. swsusp
Date
On Thursday, 21 of July 2005 03:25, Michal Schmidt wrote:
> Rafael J. Wysocki wrote:
> > On Thursday, 21 of July 2005 00:07, Michal Schmidt wrote:
> >>I also tried putting a printk before restore_processor_state(), but I'm
> >>not sure if it is safe to use printk there.
> >
> >
> > Yes, it is, but you may be unable to see the message if the box reboots before
> > it can be displayed.
>
> OK, but then I also tried putting a 5s long busy wait there and the
> reset was not delayed. Therefore, the reset must be occurring before
> restore_processor_state().
> Or is there a reason why
> for(i=0; i<5000; i++)
> udelay(1000);
> wouldn't work as expected?

No, it should work, AFAIK. Then it looks like something gets copied into a wrong
place or in a wrong order while restoring the image.

Greets,
Rafael


--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-
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/

\
 
 \ /
  Last update: 2005-07-21 11:45    [W:0.059 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site