ARM / OFFLINE REFERENCE

On this page
← Home

DC GBVA

Data Cache set Allocation Tag block by VA

Write a value to the Allocation Tags of a naturally aligned block of N bytes, where the size of N is identified in DCZID_EL0.TBS. The Allocation Tag used is determined by the input address.

This writes tags whether they are in part of a data cache or a separate tag cache.

Configuration

This instruction is present only when FEAT_MTETC is implemented. Otherwise, direct accesses to DC GBVA are UNDEFINED.

Attributes

DC GBVA is a 64-bit System instruction.

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
VA
VA

VA, bits [63:0]:

Virtual address to use. There is no alignment restriction on the address within the block of N bytes that is used.

Executing DC GBVA

When this instruction is executed, it can generate memory faults or watchpoints which are prioritized in the same way as other memory-related faults or watchpoints. If a synchronous Data Abort fault or a watchpoint is generated, the CM bit in the ESR_ELx.ISS field is not set.

For a DC GBVA instruction executed to any type of Device memory, it is CONSTRAINED UNPREDICTABLE whether it generates an Alignment Fault determined by the memory type. Allocation tags at the specified addresses are not modified.

This instruction applies to Normal memory regardless of cacheability attributes.

This instruction behaves as a set of stores to each Allocation Tag within the block being accessed, and so it:

This system instruction is an alias of the SYS instruction.

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

DC GBVA, <Xt>

(op0 = 0b01, op1 = 0b011, CRn = 0b0111, CRm = 0b0100, op2 = 0b111)


if !IsFeatureImplemented(FEAT_MTETC) then
    Undefined();
elsif PSTATE.EL == EL0 then
    if EffectivelyAtEL0NotInHost() && SCTLR_EL1().DZE == '0' then
        AArch64_SystemAccessTraptoEL1orEL2(0x18);
    elsif EL2Enabled() && EffectivelyAtEL0NotInHost() && HCR_EL2().TDZ == '1' then
        AArch64_SystemAccessTrap(EL2, 0x18);
    elsif EL2Enabled() && EffectivelyAtEL0NotInHost() && IsFeatureImplemented(FEAT_FGT2) && (!HaveEL(EL3) || SCR_EL3().FGTEn2 == '1') && HFGITR2_EL2().DCGBVA == '1' then
        AArch64_SystemAccessTrap(EL2, 0x18);
    elsif EffectivelyAtEL0InHost() && SCTLR_EL2().DZE == '0' then
        AArch64_SystemAccessTrap(EL2, 0x18);
    else
        AArch64_MemZero(X{64}(t), CacheType_TagWrite);
    end;
elsif PSTATE.EL == EL1 then
    if EL2Enabled() && HCR_EL2().TDZ == '1' then
        AArch64_SystemAccessTrap(EL2, 0x18);
    elsif EL2Enabled() && IsFeatureImplemented(FEAT_FGT2) && (!HaveEL(EL3) || SCR_EL3().FGTEn2 == '1') && HFGITR2_EL2().DCGBVA == '1' then
        AArch64_SystemAccessTrap(EL2, 0x18);
    else
        AArch64_MemZero(X{64}(t), CacheType_TagWrite);
    end;
elsif PSTATE.EL == EL2 then
    AArch64_MemZero(X{64}(t), CacheType_TagWrite);
elsif PSTATE.EL == EL3 then
    AArch64_MemZero(X{64}(t), CacheType_TagWrite);
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.