arch-arm: With FEAT_SEL2 isStage2 -> NS doesn't hold anymore
Change-Id: If71be69808ae97a12770b477d4f08005d35bff2d Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/51148 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -2301,7 +2301,7 @@ TableWalker::insertTableEntry(DescriptorBase &descriptor, bool long_descriptor)
|
||||
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 ?
|
||||
|
||||
Reference in New Issue
Block a user