From 3a72e669dc835c859797f7e85026002163df1e1d Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Tue, 15 Jun 2021 10:11:00 +0100 Subject: [PATCH] arch-arm: No need to copy haveLPAE when switching TLBs When calling the TLB::takeOverFrom, there is no need to copy the fixed haveLPAE variable as it is a system level parameter (from ArmSystem) and it is assumed to be the same for all TLBs (even the switched out) Signed-off-by: Giacomo Travaglini Change-Id: I0b010d18ae71e43290f7f76f229c1a231ff42ac0 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/46899 Reviewed-by: Richard Cooper Tested-by: kokoro --- src/arch/arm/tlb.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/arch/arm/tlb.cc b/src/arch/arm/tlb.cc index bc49aae0ef..a1929a4e33 100644 --- a/src/arch/arm/tlb.cc +++ b/src/arch/arm/tlb.cc @@ -469,7 +469,6 @@ TLB::takeOverFrom(BaseTLB *_otlb) /* Make sure we actually have a valid type */ if (otlb) { _attr = otlb->_attr; - haveLPAE = otlb->haveLPAE; directToStage2 = otlb->directToStage2; stage2Req = otlb->stage2Req; stage2DescReq = otlb->stage2DescReq;