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 <giacomo.travaglini@arm.com> Change-Id: I0b010d18ae71e43290f7f76f229c1a231ff42ac0 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/46899 Reviewed-by: Richard Cooper <richard.cooper@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user