cpu: Fix a livelock in the o3 cpu.
Review Request #1660 - Created Jan. 22, 2013 and submitted
| Information | |
|---|---|
| Ali Saidi | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9513:86c772cdcb3e --------------------------- cpu: Fix a livelock in the o3 cpu. Check if an instruction just enabled interrupts and we've previously had an interrupt pending that was not handled because interrupts were subsequently disabled before the pipeline reached a place to handle the interrupt. In that case squash now to make sure the interrupt is handled.
Posted (Jan. 24, 2013, 1:14 a.m.)
What's the point of the avoidQuiesceLiveLock flag? Is there anything preventing us from doing a squashAfter whenever there is an interrupt pending and interrupts are turned on again?
Solves the problem :-)
Ship It!
