diff options
author | Dylan Johnson <Dylan.Johnson@ARM.com> | 2016-08-02 10:38:02 +0100 |
---|---|---|
committer | Dylan Johnson <Dylan.Johnson@ARM.com> | 2016-08-02 10:38:02 +0100 |
commit | 996c1ed33c251f80ebdfd972477709f95bdcbe65 (patch) | |
tree | f8bc3a721badae2896a9fe2f31bdf191e8b6dd86 /src/arch/arm/tlb.cc | |
parent | eac27759e77edfcb772021be714469f43f2e3b46 (diff) | |
download | gem5-996c1ed33c251f80ebdfd972477709f95bdcbe65.tar.xz |
arm: Fix stage 2 determination in table walker
We recompute if we are doing a stage 2 walk inside of the table walker
but we have already figured it out in the tlb. Pass the information in
to the walk instead of recomputing it.
Change-Id: I39637ce99309b2ddbc30344d45ac9ebf6a203401
Diffstat (limited to 'src/arch/arm/tlb.cc')
-rw-r--r-- | src/arch/arm/tlb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/tlb.cc b/src/arch/arm/tlb.cc index 536fa51cd..9a44b1b58 100644 --- a/src/arch/arm/tlb.cc +++ b/src/arch/arm/tlb.cc @@ -1384,7 +1384,7 @@ TLB::getTE(TlbEntry **te, RequestPtr req, ThreadContext *tc, Mode mode, Fault fault; fault = tableWalker->walk(req, tc, asid, vmid, isHyp, mode, translation, timing, functional, is_secure, - tranType); + tranType, stage2Req); // for timing mode, return and wait for table walk, if (timing || fault != NoFault) { return fault; |