changeset ef92e4f00551 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=ef92e4f00551
description:
        arm: Fix draining of the pagetable walker when squashing

        Since the page table walker only checks if a drain has completed in
        doL1DescriptorWrapper() and doL2DescriptorWrapper(), it sometimes
        looses track of a drain request if there is a squash. This changeset
        adds a completeDrain() call after squashing requests in the pending
        queue, which fixes this issue.

diffstat:

 src/arch/arm/table_walker.cc |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 8088e94a9de0 -r ef92e4f00551 src/arch/arm/table_walker.cc
--- a/src/arch/arm/table_walker.cc      Mon Jan 07 13:05:45 2013 -0500
+++ b/src/arch/arm/table_walker.cc      Mon Jan 07 13:05:45 2013 -0500
@@ -225,6 +225,7 @@
     // if we've still got pending translations schedule more work
     nextWalk(tc);
     currState = NULL;
+    completeDrain();
 }
 
 Fault
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to