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-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
