APAS, Associate PA space

The APAS characteristics are:

Purpose

Associate a location with a specified PA space, for locations that are protected by a memory-side PAS filter.

Configuration

This instruction is present only when FEAT_RME_GPC3 is implemented. Otherwise, direct accesses to APAS are UNDEFINED.

Attributes

APAS is a 64-bit System instruction.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
NSNSERES0PA
PARES0TargetAttributes

NS, bit [63]

Together with the NSE field, selects the target physical address space.

NSENSMeaning
0b00b0When Secure state is implemented, Secure. Otherwise reserved.
0b00b1Non-secure.
0b10b0Root.
0b10b1Realm.

NSE, bit [62]

Together with the NS field, selects the target physical address space.

For a description of the values derived by evaluating NS and NSE together, see .NS.

Bits [61:56]

Reserved, RES0.

PA, bits [55:6]

Bits [55:6] of the Physical Address.

Bits of Xt corresponding to physical address bits above the implemented physical address size indicated in ID_AA64MMFR0_EL1.PARange are RES0. For example, if 44 bits of PA space are implemented then Xt[55:44] are RES0.

Bits [5:3]

Reserved, RES0.

TargetAttributes, bits [2:0]

The Target Attributes field is encoded as follows:

TargetAttributesMeaning
0b000

Default behavior applies.

0b001..0b111

IMPLEMENTATION DEFINED.

Executing APAS

This instruction is not subject to any translation, permission checks, or granule protection checks.

Accesses to this instruction use the following encodings in the System instruction encoding space:

APAS <Xt>

op0op1CRnCRmop2
0b010b1100b01110b00000b000

if !IsFeatureImplemented(FEAT_RME_GPC3) then UNDEFINED; elsif PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then UNDEFINED; elsif PSTATE.EL == EL2 then UNDEFINED; elsif PSTATE.EL == EL3 then AArch64.APAS(X[t, 64]);


15/12/2024 22:27; 5e0a212688c6bd7aee92394b6f5e491b4d0fee1d

Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.