ARM / OFFLINE REFERENCE

On this page
← Home

GIC VDPRI

Interrupt Set priority in the Virtual Interrupt Domain

Sets the priority for the specified INTID in the Virtual Interrupt Domain.

This operation applies to the virtual INTID in the VM identified by the resident VPE.

Configuration

This instruction is present only when FEAT_GCIE is implemented, FEAT_AA64 is implemented, and EL2 is implemented. Otherwise, direct accesses to GIC VDPRI are UNDEFINED.

Attributes

GIC VDPRI 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
RES0 PRIORITY RES0
TYPE RES0 ID

Bits [63:40]:

Reserved, RES0.

PRIORITY, bits [39:35]:

The priority of the specified INTID.

Bits [34:32]:

Reserved, RES0.

TYPE, bits [31:29]:

Type of the interrupt

TYPE Meaning
0b010

LPI

0b011

SPI

All other values are reserved.

Bits [28:24]:

Reserved, RES0.

ID, bits [23:0]:

The ID of the interrupt.

ID and TYPE together form an INTID.

The number of ID bits implemented is reported in ICC_IDR0_EL1.ID_BITS. Unimplemented lower bits are RES0.

Executing GIC VDPRI

This instruction has no effect if the INTID is unreachable.

This instruction is treated as a NOP if there is no resident VPE.

This system instruction is an alias of the SYS instruction.

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

GIC VDPRI{, <Xt>}

(op0 = 0b01, op1 = 0b100, CRn = 0b1100, CRm = 0b0001, op2 = 0b010)


if !(IsFeatureImplemented(FEAT_GCIE) && IsFeatureImplemented(FEAT_AA64) && HaveEL(EL2)) then
    Undefined();
elsif PSTATE.EL == EL0 then
    Undefined();
elsif PSTATE.EL == EL1 then
    if EffectiveHCR_EL2_NVx() IN {'xx1'} && (!IsFeatureImplemented(FEAT_GCIE_LEGACY) || (IsFeatureImplemented(FEAT_GCIE_LEGACY) && ICH_VCTLR_EL2().V3 == '0')) then
        AArch64_SystemAccessTrap(EL2, 0x18);
    else
        Undefined();
    end;
elsif PSTATE.EL == EL2 then
    AArch64_GIC(X{64}(t), GICInstrDomain_VD, GICInstr_PRI);
elsif PSTATE.EL == EL3 then
    if !EL2Enabled() then
        Undefined();
    else
        AArch64_GIC(X{64}(t), GICInstrDomain_VD, GICInstr_PRI);
    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.