ARM / OFFLINE REFERENCE

On this page
← Home

GIC LDPRI

Interrupt Set priority in the Logical Interrupt Domain

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

Configuration

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

Attributes

GIC LDPRI 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 upper bits are RES0.

Executing GIC LDPRI

When executed at EL3, if SCR_EL3.{NS, NSE} select a reserved value, the behavior is CONSTRAINED UNPREDICTABLE with the permitted options:

This instruction has no effect if the INTID is unreachable.

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 LDPRI{, <Xt>}

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


if !(IsFeatureImplemented(FEAT_GCIE) && IsFeatureImplemented(FEAT_AA64) && HaveEL(EL3)) 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_GIC(X{64}(t), GICInstrDomain_LD, GICInstr_PRI);
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.