Re: [gem5-dev] x86 Checkpoint Restore Trouble

2012-04-07 Thread Nilay Vaish
Reading the code, it seems to me that one can never checkpoint the state of an atomic CPU while an atomic operation is going on. Here is some code for help -- AtomicCPU::tick() { for (int i = 0; i width || locked; ++i) { // break if cpu in idle state

[gem5-dev] x86 Checkpoint Restore Trouble

2012-04-03 Thread Joel Hestness
Hey guys, I've tried searching around, but I'm having trouble finding any help on this. Anyone have insights or pointers? Is checkpoint restore supposed to be working? --- joel@vein:~/research/gem5/gem5-latest$ ./build/X86/gem5.debug

Re: [gem5-dev] x86 Checkpoint Restore Trouble

2012-04-03 Thread Nilay Vaish
Joel, you might know that system being restored from a check point starts with an atomic cpu by default. I think the problem you are facing is in initializing a timing CPU. IIRC, the interrupt controller is moved from atomic CPU to timing CPU after X number of ticks. You might want to try

Re: [gem5-dev] x86 Checkpoint Restore Trouble

2012-04-03 Thread Beckmann, Brad
Developer List Subject: Re: [gem5-dev] x86 Checkpoint Restore Trouble Joel, you might know that system being restored from a check point starts with an atomic cpu by default. I think the problem you are facing is in initializing a timing CPU. IIRC, the interrupt controller is moved from atomic CPU

Re: [gem5-dev] x86 Checkpoint Restore Trouble

2012-04-03 Thread Nilay Vaish
- From: gem5-dev-boun...@gem5.org [mailto:gem5-dev-boun...@gem5.org] On Behalf Of Nilay Vaish Sent: Tuesday, April 03, 2012 6:51 PM To: gem5 Developer List Subject: Re: [gem5-dev] x86 Checkpoint Restore Trouble Joel, you might know that system being restored from a check point starts with an atomic

Re: [gem5-dev] x86 Checkpoint Restore Trouble

2012-04-03 Thread Gabe Black
multiple experiments using the timing cpu. Brad -Original Message- From: gem5-dev-boun...@gem5.org [mailto:gem5-dev-boun...@gem5.org] On Behalf Of Nilay Vaish Sent: Tuesday, April 03, 2012 6:51 PM To: gem5 Developer List Subject: Re: [gem5-dev] x86 Checkpoint Restore Trouble