ARM / OFFLINE REFERENCE

On this page
← Home

ID_AA64MMFR4_EL1

AArch64 Memory Model Feature Register 4

Provides additional information about implemented memory model and memory management support in AArch64.

Configuration

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

Prior to the introduction of the features described by this register, this register was unnamed and reserved, RES0 from EL1, EL2, and EL3.

Attributes

ID_AA64MMFR4_EL1 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
RES0 SCRX RES0 SRMASK TLBID E3DSE EAESR
RMEGDI E2H0 NV_frac FGWTE3 HACDBS ASID2 EIESB PoPS

Bits [63:60]:

Reserved, RES0.

SCRX, bits [59:56]:

Indicates support for SCR2_EL3.

The value of this field is an IMPLEMENTATION DEFINED choice of:

SCRX Meaning
0b0000

SCR2_EL3 is not supported.

0b0001

SCR2_EL3 is supported.

All other values are reserved.

FEAT_SCR2 implements the functionality identified by the value 0b0001.

Access to this field is RO.

Bits [55:48]:

Reserved, RES0.

SRMASK, bits [47:44]:

Indicates support for bitwise write masks for the following registers:

When FEAT_SRMASK2 is implemented, indicates support for bitwise write masks for the following registers:

The value of this field is an IMPLEMENTATION DEFINED choice of:

SRMASK Meaning
0b0000

Bitwise write masks for the specified registers are not supported.

0b0001

Bitwise write masks for the specified registers are supported.

0b0010

As 0b0001, and FEAT_SRMASK2 is implemented.

FEAT_SRMASK implements the functionality identified by the value 0b0001.

FEAT_SRMASK2 implements the functionality identified by the value 0b0010.

From Armv9.6, the value 0b0000 is not permitted.

Access to this field is RO.

TLBID, bits [43:40]:

Support for TLBI Domains.

The value of this field is an IMPLEMENTATION DEFINED choice of:

TLBID Meaning
0b0000

FEAT_TLBID is not implemented.

0b0001

FEAT_TLBID is implemented.

FEAT_TLBID implements the functionality identified by the value 0b0001.

The number of bits of TLBI Domains supported is described in TLBIDIDR_El1.

Access to this field is RO.

E3DSE, bits [39:36]:

Delegated SError exceptions from EL3. Describes support for delegated SError injection from EL3.

The value of this field is an IMPLEMENTATION DEFINED choice of:

E3DSE Meaning
0b0000

FEAT_E3DSE is not implemented.

0b0001

FEAT_E3DSE is implemented. The following are implemented:

All other values are reserved.

FEAT_E3DSE implements the functionality described by the value 0b0001.

Access to this field is RO.

EAESR, bits [35:32]:

Indicates support for Enhanced Abort Syndrome.

The value of this field is an IMPLEMENTATION DEFINED choice of:

EAESR Meaning
0b0000

FEAT_EAESR is not implemented.

0b0001

FEAT_EAESR is implemented.

All other values are reserved.

FEAT_EAESR implements the functionality identified by the value 0b0001.

Access to this field is RO.

RMEGDI, bits [31:28]:

RME Granular Data Isolation.

The value of this field is an IMPLEMENTATION DEFINED choice of:

RMEGDI Meaning
0b0000

The Granular Data isolation GPI encodings are reserved.

0b0001

The Granular Data Isolation GPI encodings can be configured to be either reserved or No Access from this PE.

All other values are reserved.

FEAT_RME_GDI implements the functionality described by the value 0b0001.

Access to this field is RO.

E2H0, bits [27:24] when FEAT_AA64EL2 is implemented:

Indicates support for programming HCR_EL2.E2H.

The value of this field is an IMPLEMENTATION DEFINED choice of:

E2H0 Meaning
0b0000

FEAT_E2H0 is implemented.

0b1110

FEAT_E2H0 is not implemented. HCR_EL2.NV1 is RES0.

0b1111

FEAT_E2H0 is not implemented.

All other values are reserved.

If FEAT_NV is not implemented, then the value 0b1110 is not permitted.

If FEAT_E2H0 is implemented and FEAT_VHE is not implemented, then HCR_EL2.E2H is RES0.

If FEAT_E2H0 is implemented and FEAT_VHE is implemented, then HCR_EL2.E2H can be programmed to 0 or 1.

If FEAT_E2H0 is not implemented then:

Access to this field is RO.

Otherwise:

Reserved, RES0.

NV_frac, bits [23:20]:

Indicates support for a subset of FEAT_NV and FEAT_NV2 behaviors.

The value of this field is an IMPLEMENTATION DEFINED choice of:

NV_frac Meaning
0b0000

Support for FEAT_NV and FEAT_NV2 is described in ID_AA64MMFR2_EL1.NV.

0b0001

FEAT_NV and FEAT_NV2 are implemented, but all of the following apply:

0b0010

As 0b0001 and adds stateful bits in specified _EL1 registers for software usage under nested virtualization.

0b0011

As 0b0010 and adds support for FEAT_NV3.

FEAT_NV2p1 implements the functionality indicated by the value 0b0010.

FEAT_NV3 implements the functionality indicated by the value 0b0011.

Access to this field is RO.

FGWTE3, bits [19:16]:

Indicates support for Fine Grained Write Trap EL3 feature.

The value of this field is an IMPLEMENTATION DEFINED choice of:

FGWTE3 Meaning
0b0000

Fine Grained Write Trap EL3 is not supported.

0b0001

Fine Grained Write Trap EL3 is supported.

All other values are reserved.

FEAT_FGWTE3 implements the functionality identified by the value 0b0001.

Access to this field is RO.

HACDBS, bits [15:12]:

Support for Hardware accelerator for cleaning Dirty state.

The value of this field is an IMPLEMENTATION DEFINED choice of:

HACDBS Meaning
0b0000

Hardware accelerator for cleaning Dirty state is not supported.

0b0001

Hardware accelerator for cleaning Dirty state is supported.

All other values are reserved.

FEAT_HACDBS implements the functionality identified by the value 0b0001.

Access to this field is RO.

ASID2, bits [11:8]:

Indicates support for concurrent use of two ASIDs.

The value of this field is an IMPLEMENTATION DEFINED choice of:

ASID2 Meaning
0b0000

FEAT_ASID2 is not implemented.

0b0001

FEAT_ASID2 is implemented.

All other values are reserved.

From Armv9.5, the value 0b0000 is not permitted.

Access to this field is RO.

EIESB, bits [7:4] when FEAT_IESB is implemented:

Early Implicit Error Synchronization event. Indicates whether the implicit Error synchronization event inserted on taking an exception to ELx when SCTLR_ELx.IESB is 1 is inserted before or after the exception is taken.

The value of this field is an IMPLEMENTATION DEFINED choice of:

EIESB Meaning
0b1111

When FEAT_IESB is implemented and enabled, SError exceptions are routed to EL3, and either FEAT_DoubleFault is not implemented or the Effective value of SCR_EL3.NMEA is 1, an implicit Error synchronization event might be inserted after an exception is taken to EL3, unless that exception is also an SError exception.

0b0000

FEAT_IESB is not implemented, or behavior is not described.

0b0001

When FEAT_IESB is implemented and enabled, SError exceptions are routed to EL3, and either FEAT_DoubleFault is not implemented or the Effective value of SCR_EL3.NMEA is 1, an implicit Error synchronization event is inserted before an exception taken to EL3, unless that exception is also an SError exception.

0b0010

As 0b0001, and also:

  • When FEAT_IESB is implemented and enabled, SError exceptions are routed to EL1, and either FEAT_DoubleFault2 is not implemented or the Effective value of SCTLR2_EL1.NMEA is 1, an implicit Error synchronization event is inserted before an exception taken to EL1, unless that exception is also an SError exception.
  • When FEAT_IESB is implemented and enabled, SError exceptions are routed to EL2, and either FEAT_DoubleFault2 is not implemented or the Effective value of SCTLR2_EL2.NMEA is 1, an implicit Error synchronization event is inserted before an exception taken to EL2, unless that exception is also an SError exception.
0b0011

When FEAT_IESB is implemented and enabled, an implicit Error synchronization event is inserted before taking an exception other than an SError exception, regardless of the Effective values of SCR_EL3.NMEA and SCTLR2_ELx.NMEA.

All other values are reserved.

This field describes the PE behavior on taking an exception to ELx when SCTLR_ELx.IESB is 1. This field does not describe the behavior when SCTLR_ELx.IESB is 0.

The behavior described by this field only applies for the conditions described above. For example, if ID_AA64MMFR4_EL1.EIESB reads as 0b0001, then it does not describe the behavior when SError exceptions are not routed to EL3, or when FEAT_DoubleFault is implemented and the Effective value of SCR_EL3.NMEA is 0.

Inserting the event before the exception is taken means that if the Error synchronization event causes an SError exception to become pending, and SError exceptions are not masked and not disabled, then the SError exception is taken in place of the original exception.

When FEAT_IESB is not implemented, the only permitted value of this field is 0b0000.

Access to this field is RO.

Otherwise:

Reserved, RES0.

PoPS, bits [3:0]:

Support for the clean and invalidate to the Point of Physical Storage instructions:

The value of this field is an IMPLEMENTATION DEFINED choice of:

PoPS Meaning
0b0000

The System instructions to clean and invalidate to the Point of Physical Storage are not implemented.

0b0001

The specified System instructions to clean and invalidate to the Point of Physical Storage are implemented.

FEAT_PoPS implements the functionality described by the value 0b0001.

All other values are reserved.

Access to this field is RO.

Access Instructions

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

MRS <Xt>, ID_AA64MMFR4_EL1

(op0 = 0b11, op1 = 0b000, CRn = 0b0000, CRm = 0b0111, op2 = 0b100)


if !IsFeatureImplemented(FEAT_AA64) then
    UnimplementedIDRegister();
elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && IsFeatureImplemented(FEAT_IDTE3) && SCR_EL3().TID3 == '1' then
    Undefined();
elsif PSTATE.EL == EL0 then
    if IsFeatureImplemented(FEAT_IDST) then
        AArch64_SystemAccessTraptoEL1orEL2(0x18);
    else
        Undefined();
    end;
elsif PSTATE.EL == EL1 then
    if EL2Enabled() && (IsFeatureImplemented(FEAT_FGT) || !IsZero(ID_AA64MMFR4_EL1()) || ImpDefBool("ID_AA64MMFR4_EL1 trapped by HCR_EL2.TID3")) && HCR_EL2().TID3 == '1' then
        AArch64_SystemAccessTrap(EL2, 0x18);
    elsif HaveEL(EL3) && IsFeatureImplemented(FEAT_IDTE3) && SCR_EL3().TID3 == '1' then
        if EL3SDDUndef() then
            Undefined();
        else
            AArch64_SystemAccessTrap(EL3, 0x18);
        end;
    else
        X{64}(t) = ID_AA64MMFR4_EL1();
    end;
elsif PSTATE.EL == EL2 then
    if HaveEL(EL3) && IsFeatureImplemented(FEAT_IDTE3) && SCR_EL3().TID3 == '1' then
        if EL3SDDUndef() then
            Undefined();
        else
            AArch64_SystemAccessTrap(EL3, 0x18);
        end;
    else
        X{64}(t) = ID_AA64MMFR4_EL1();
    end;
elsif PSTATE.EL == EL3 then
    X{64}(t) = ID_AA64MMFR4_EL1();
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.