Giacomo Travaglini has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/46899 )

Change subject: arch-arm: No need to copy haveLPAE when switching TLBs
......................................................................

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 <[email protected]>
Change-Id: I0b010d18ae71e43290f7f76f229c1a231ff42ac0
---
M src/arch/arm/tlb.cc
1 file changed, 0 insertions(+), 1 deletion(-)



diff --git a/src/arch/arm/tlb.cc b/src/arch/arm/tlb.cc
index c8174b4..3d707c0 100644
--- a/src/arch/arm/tlb.cc
+++ b/src/arch/arm/tlb.cc
@@ -466,7 +466,6 @@
     /* 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;

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/46899
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I0b010d18ae71e43290f7f76f229c1a231ff42ac0
Gerrit-Change-Number: 46899
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to