diff --git a/src/arch/arm/table_walker.cc b/src/arch/arm/table_walker.cc index 8604d6fa9d..ba1b4a46af 100644 --- a/src/arch/arm/table_walker.cc +++ b/src/arch/arm/table_walker.cc @@ -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 ?