Giacomo Travaglini has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/51148 )
Change subject: arch-arm: With FEAT_SEL2 isStage2 -> NS doesn't hold anymore
......................................................................
arch-arm: With FEAT_SEL2 isStage2 -> NS doesn't hold anymore
Change-Id: If71be69808ae97a12770b477d4f08005d35bff2d
Signed-off-by: Giacomo Travaglini <[email protected]>
---
M src/arch/arm/table_walker.cc
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/arch/arm/table_walker.cc b/src/arch/arm/table_walker.cc
index 8604d6f..ba1b4a4 100644
--- a/src/arch/arm/table_walker.cc
+++ b/src/arch/arm/table_walker.cc
@@ -2301,7 +2301,7 @@
te.pfn = descriptor.pfn();
te.domain = descriptor.domain();
te.lookupLevel = descriptor.lookupLevel;
- te.ns = !descriptor.secure(haveSecurity, currState) ||
isStage2;
+ te.ns = !descriptor.secure(haveSecurity, currState);
te.nstid = !currState->isSecure;
te.xn = descriptor.xn();
te.type = currState->mode == BaseMMU::Execute ?
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/51148
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: If71be69808ae97a12770b477d4f08005d35bff2d
Gerrit-Change-Number: 51148
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