ARM / OFFLINE REFERENCE

On this page
← Home

VPIDR_EL2

Virtualization Processor ID Register

Holds the value of the Virtualization Processor ID. This is the value returned by EL1 reads of MIDR_EL1.

Configuration

AArch64 System register VPIDR_EL2 bits [31:0] are architecturally mapped to AArch32 System register VPIDR[31:0].

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

If EL2 is not implemented, reads of this register return the value of the MIDR_EL1 and writes to the register are ignored.

This register has no effect if EL2 is not enabled in the current Security state.

Attributes

VPIDR_EL2 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
Implementer Variant Architecture PartNum Revision

Bits [63:32]:

Reserved, RES0.

Implementer, bits [31:24]:

The Implementer code. This field must hold an implementer code that has been assigned by Arm.

Implementer Meaning
0x00

Reserved for software use.

0x41

Arm Limited.

0x42

Broadcom Corporation.

0x43

Cavium Inc.

0x44

Digital Equipment Corporation.

0x46

Fujitsu Ltd.

0x49

Infineon Technologies AG.

0x4D

Motorola or Freescale Semiconductor Inc.

0x4E

NVIDIA Corporation.

0x50

Applied Micro Circuits Corporation.

0x51

Qualcomm Inc.

0x56

Marvell International Ltd.

0x69

Intel Corporation.

0xC0

Ampere Computing.

Arm can assign codes that are not published in this manual. All values not assigned by Arm are reserved and must not be used.

The reset behavior of this field is:

Variant, bits [23:20]:

An IMPLEMENTATION DEFINED variant number. Typically, this field is used to distinguish between different product variants, or major revisions of a product.

The reset behavior of this field is:

Architecture, bits [19:16]:

Architecture version.

Architecture Meaning
0b0001

Armv4.

0b0010

Armv4T.

0b0011

Armv5 (obsolete).

0b0100

Armv5T.

0b0101

Armv5TE.

0b0110

Armv5TEJ.

0b0111

Armv6.

0b1111

Architectural features are individually identified in the ID_* registers.

All other values are reserved.

The reset behavior of this field is:

PartNum, bits [15:4]:

An IMPLEMENTATION DEFINED primary part number for the device.

On processors implemented by Arm, if the top four bits of the primary part number are 0x0 or 0x7, the variant and architecture are encoded differently.

The reset behavior of this field is:

Revision, bits [3:0]:

An IMPLEMENTATION DEFINED revision number for the device.

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>, VPIDR_EL2

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


if !IsFeatureImplemented(FEAT_AA64) then
    Undefined();
elsif PSTATE.EL == EL0 then
    Undefined();
elsif PSTATE.EL == EL1 then
    if EffectiveHCR_EL2_NVx() IN {'1x1'} then
        X{64}(t) = NVMem(0x088);
    elsif EffectiveHCR_EL2_NVx() IN {'xx1'} then
        AArch64_SystemAccessTrap(EL2, 0x18);
    else
        Undefined();
    end;
elsif PSTATE.EL == EL2 then
    X{64}(t) = VPIDR_EL2();
elsif PSTATE.EL == EL3 then
    if !HaveEL(EL2) then
        X{64}(t) = MIDR_EL1();
    else
        X{64}(t) = VPIDR_EL2();
    end;
end;
                

MSR VPIDR_EL2, <Xt>

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


if !IsFeatureImplemented(FEAT_AA64) then
    Undefined();
elsif PSTATE.EL == EL0 then
    Undefined();
elsif PSTATE.EL == EL1 then
    if EffectiveHCR_EL2_NVx() IN {'1x1'} then
        NVMem(0x088) = X{64}(t);
    elsif EffectiveHCR_EL2_NVx() IN {'xx1'} then
        AArch64_SystemAccessTrap(EL2, 0x18);
    else
        Undefined();
    end;
elsif PSTATE.EL == EL2 then
    VPIDR_EL2() = X{64}(t);
elsif PSTATE.EL == EL3 then
    if !HaveEL(EL2) then
        return;
    else
        VPIDR_EL2() = X{64}(t);
    end;
end;
                

MRS <Xt>, MIDR_EL1

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


if !IsFeatureImplemented(FEAT_AA64) then
    UnimplementedIDRegister();
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) && (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') && HFGRTR_EL2().MIDR_EL1 == '1' then
        AArch64_SystemAccessTrap(EL2, 0x18);
    elsif EL2Enabled() then
        X{64}(t) = VPIDR_EL2();
    else
        X{64}(t) = MIDR_EL1();
    end;
elsif PSTATE.EL == EL2 then
    X{64}(t) = MIDR_EL1();
elsif PSTATE.EL == EL3 then
    X{64}(t) = MIDR_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.