From: Gabor Dozsa Date: Tue, 30 Apr 2019 09:20:40 +0000 (+0100) Subject: x86: Mark translation as delayed in case of a hw page table walk X-Git-Tag: v19.0.0.0~882 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bf8508fdcc0909103090e2747584ac4596a204d;p=gem5.git x86: Mark translation as delayed in case of a hw page table walk This information is used by the LSQ in the O3 cpu (since commit "51becd2... cpu-o3: O3 LSQ Generalisation") Change-Id: I35fe7e2f8428641d863af0e79e28b0b259fb0b00 Signed-off-by: Gabor Dozsa Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18508 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- diff --git a/src/arch/x86/tlb.cc b/src/arch/x86/tlb.cc index 33de0583e..84965b881 100644 --- a/src/arch/x86/tlb.cc +++ b/src/arch/x86/tlb.cc @@ -443,6 +443,8 @@ TLB::translateTiming(const RequestPtr &req, ThreadContext *tc, TLB::translate(req, tc, translation, mode, delayedResponse, true); if (!delayedResponse) translation->finish(fault, req, tc, mode); + else + translation->markDelayed(); } Walker *