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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to