Hi Srini, Could you perhaps post a patch of what you have done so far?
Andreas On 17/04/2014 04:30, "Srinivasan Narayanamoorthy" <[email protected]> wrote: >Hi all, > >I am trying to run some android benchmarks in gem5 and often, the cpu is >put to sleep by executing a 'WFI'(Wait for interrupt) instruction. The >task requires me to take checkpoints frequently during program execution. > > >I found that when performing drain before writing the checkpoint, all >cores (cpu0,cpu1,cpu3) except the one which has executed WFI(cpu2), drain >successfully. The WFI core does not drain at all since other cores cannot >interrupt to wake the sleeping core (because they are drained). > > >As a stop gap solution, I am calling the wakeup() routine in cpu.cc >during drain operation. Though this solution does not cause any immediate >problems, this does not appear to be a good solution as there may be >other cases that might break. > > >I would be very grateful if a solution is suggested. > > >Thanks >Srini >_______________________________________________ >gem5-dev mailing list >[email protected] >http://m5sim.org/mailman/listinfo/gem5-dev > -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782 _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
