ARM / OFFLINE REFERENCE

On this page
← Home

PIR_EL3

Permission Indirection Register 3 (EL3)

Stage 1 Permission Indirection Register for privileged access of the EL3 translation regime.

Configuration

This register is present only when FEAT_S1PIE is implemented and FEAT_AA64 is implemented. Otherwise, direct accesses to PIR_EL3 are UNDEFINED.

Attributes

PIR_EL3 is a 64-bit register.

Field descriptions

63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Perm15 Perm14 Perm13 Perm12 Perm11 Perm10 Perm9 Perm8
Perm7 Perm6 Perm5 Perm4 Perm3 Perm2 Perm1 Perm0

Perm<m>, bits [4m+3:4m], for m = 15 to 0:

Represents stage 1 Base Permissions.

Perm<m> Meaning
0b0000

No access. Overlay applied.

0b0001

Read. Overlay applied.

0b0010

Execute. Overlay applied.

0b0011

Read and Execute. Overlay applied.

0b0100

Reserved. Treated as No access. Overlay applied.

0b0101

Read and Write. Overlay applied.

0b0110

Read, Write, and Execute. Overlay applied. WXN control applied.

0b0111

Read, Write, and Execute. Overlay applied.

0b1000

Read. Overlay not applied.

0b1001

If FEAT_GCS is implemented:

Read, GCS Read, and GCS Write. Overlay not applied.

Otherwise:

Reserved. Treated as No access. Overlay not applied.

0b1010

Read and Execute. Overlay not applied.

0b1011

Reserved. Treated as No access. Overlay not applied.

0b1100

Read and Write. Overlay not applied.

0b1101

Reserved. Treated as No access. Overlay not applied.

0b1110

Read, Write, and Execute. Overlay not applied.

0b1111

Reserved. Treated as No access. Overlay not applied.

This field is permitted to be cached in a TLB.

When stage 1 Indirect Permission mechanism is disabled, this register is ignored.

Unless otherwise specified, the WXN control is not applied.

The reset behavior of this field is:

Access Instructions

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

MRS <Xt>, PIR_EL3

(op0 = 0b11, op1 = 0b110, CRn = 0b1010, CRm = 0b0010, op2 = 0b011)


if !(IsFeatureImplemented(FEAT_S1PIE) && IsFeatureImplemented(FEAT_AA64)) 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
    X{64}(t) = PIR_EL3();
end;
                

MSR PIR_EL3, <Xt>

(op0 = 0b11, op1 = 0b110, CRn = 0b1010, CRm = 0b0010, op2 = 0b011)


if !(IsFeatureImplemented(FEAT_S1PIE) && IsFeatureImplemented(FEAT_AA64)) 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
    if IsFeatureImplemented(FEAT_FGWTE3) && FGWTE3_EL3().PIR_EL3 == '1' then
        AArch64_SystemAccessTrap(EL3, 0x18);
    else
        PIR_EL3() = X{64}(t);
    end;
end;
                

Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.

This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.