PMUSERENR
Performance Monitors User Enable Register
Enables or disables EL0 access to the Performance Monitors.
Configuration
AArch32 System register PMUSERENR bits [31:0] are architecturally mapped to AArch64 System register PMUSERENR_EL0[31:0].
This register is present only when FEAT_AA32 is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMUSERENR are UNDEFINED.
Attributes
PMUSERENR is a 32-bit register.
Field descriptions
| 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 | TID | RES0 | ER | CR | SW | EN | |||||||||||||||||||||||||
Bits [31:7]:
Reserved, RES0.
TID, bit [6] when FEAT_PMUv3p9 is implemented:
Trap ID registers. Traps EL0 read access to common event identification registers.
| TID | Meaning |
|---|---|
| 0b0 |
Accesses to PMCEID<n> are not trapped by this mechanism. |
| 0b1 |
EL0 read accesses to PMCEID<n> are trapped. |
The register accesses affected by this control are:
When trapped, reads are UNDEFINED.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [5:4]:
Reserved, RES0.
ER, bit [3]:
Event counters Read enable.
When PMUSERENR.EN is 0, PMUSERENR.ER enables EL0 reads of the event counters and EL0 reads and writes of the select register.
| ER | Meaning |
|---|---|
| 0b0 |
EL0 reads of the event counters and EL0 reads and writes of the select register are disabled, unless enabled by PMUSERENR.EN. |
| 0b1 |
EL0 reads of the event counters and EL0 reads and writes of the select register are enabled, unless trapped by another control. |
The register accesses affected by this control are:
- MRC reads of PMEVCNTR<n> and PMXEVCNTR.
- MRC and MCR accesses to PMSELR.
When disabled, reads and writes are UNDEFINED.
This field is ignored by the PE when PMUSERENR.EN == 1.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
CR, bit [2]:
Cycle counter Read enable.
When PMUSERENR.EN is 0, PMUSERENR.CR enables EL0 reads of the cycle counter.
| CR | Meaning |
|---|---|
| 0b0 |
EL0 reads of the cycle counter are disabled, unless enabled by PMUSERENR.EN. |
| 0b1 |
EL0 reads of the cycle counter are enabled, unless trapped by another control. |
The register accesses affected by this control are:
When disabled, reads are UNDEFINED.
This field is ignored by the PE when PMUSERENR.EN == 1.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
SW, bit [1]:
Software increment register Write enable.
When PMUSERENR.EN is 0, PMUSERENR.SW enables EL0 writes to the Software increment register.
| SW | Meaning |
|---|---|
| 0b0 |
EL0 writes to the Software increment register are disabled, unless enabled by PMUSERENR.EN. |
| 0b1 |
EL0 writes to the Software increment register are enabled, unless trapped by another control. |
The register accesses affected by this control are:
- MCR writes to PMSWINC.
When disabled, writes are UNDEFINED.
This field is ignored by the PE when PMUSERENR.EN == 1.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
EN, bit [0]:
Enable. Enables EL0 read/write access to PMU System registers.
| EN | Meaning |
|---|---|
| 0b0 |
EL0 accesses to the specified PMU System registers are trapped, unless enabled by PMUSERENR.{ER,CR,SW}. |
| 0b1 |
EL0 accesses to the specified PMU System registers are enabled, unless trapped by another control. |
The register accesses affected by this control are:
- MRC or MCR accesses to PMCCFILTR, PMCCNTR, PMCNTENCLR, PMCNTENSET, PMCR, PMEVCNTR<n>, PMEVTYPER<n>, PMOVSR, PMOVSSET, PMSELR, PMXEVCNTR, and PMXEVTYPER.
- MRC reads of the following registers:
- MCR writes to PMSWINC.
- MRRC or MCRR accesses to PMCCNTR.
When trapped, reads and writes are UNDEFINED.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Access Instructions
When FEAT_PMUv3p9 is implemented and EL1 is using AArch64, PMUSERENR_EL0 contains additional controls that affect the behavior of this register.
Accesses to this register use the following encodings in the System register encoding space:
MRC{<c>}{<q>} <coproc>, {#}<opc1>, <Rt>, <CRn>, <CRm>{, {#}<opc2>}
(coproc = 0b1111, opc1 = 0b000, CRn = 0b1001, CRm = 0b1110, opc2 = 0b000)
if !(IsFeatureImplemented(FEAT_AA32) && IsFeatureImplemented(FEAT_PMUv3)) then
Undefined();
elsif HaveEL(EL3) && PSTATE.EL != EL3 && EL3SDDUndefPriority() && IsFeatureImplemented(FEAT_AA64EL3) && !ELUsingAArch32(EL3) && MDCR_EL3().TPM == '1' then
Undefined();
elsif PSTATE.EL == EL0 then
if EL2Enabled() && (IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2)) && EffectivelyAtEL0NotInHost() && HSTR_EL2().T9 == '1' then
AArch64_AArch32SystemAccessTrap(EL2, 0x03);
elsif EL2Enabled() && (IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2)) && HSTR().T9 == '1' then
AArch32_TakeHypTrapException(0x03);
elsif EL2Enabled() && (IsFeatureImplemented(FEAT_AA64EL1) && !ELUsingAArch32(EL1)) && EffectivelyAtEL0NotInHost() && IsFeatureImplemented(FEAT_FGT) && (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') && HDFGRTR_EL2().PMUSERENR_EL0 == '1' then
AArch64_AArch32SystemAccessTrap(EL2, 0x03);
elsif EL2Enabled() && (IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2)) && MDCR_EL2().TPM == '1' then
AArch64_AArch32SystemAccessTrap(EL2, 0x03);
elsif EL2Enabled() && (IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2)) && HDCR().TPM == '1' then
AArch32_TakeHypTrapException(0x03);
elsif HaveEL(EL3) && IsFeatureImplemented(FEAT_AA64EL3) && !ELUsingAArch32(EL3) && MDCR_EL3().TPM == '1' then
if EL3SDDUndef() then
Undefined();
else
AArch64_AArch32SystemAccessTrap(EL3, 0x03);
end;
else
R(t) = PMUSERENR();
end;
elsif PSTATE.EL == EL1 then
if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T9 == '1' then
AArch64_AArch32SystemAccessTrap(EL2, 0x03);
elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T9 == '1' then
AArch32_TakeHypTrapException(0x03);
elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && MDCR_EL2().TPM == '1' then
AArch64_AArch32SystemAccessTrap(EL2, 0x03);
elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HDCR().TPM == '1' then
AArch32_TakeHypTrapException(0x03);
elsif HaveEL(EL3) && IsFeatureImplemented(FEAT_AA64EL3) && !ELUsingAArch32(EL3) && MDCR_EL3().TPM == '1' then
if EL3SDDUndef() then
Undefined();
else
AArch64_AArch32SystemAccessTrap(EL3, 0x03);
end;
else
R(t) = PMUSERENR();
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && IsFeatureImplemented(FEAT_AA64EL3) && !ELUsingAArch32(EL3) && MDCR_EL3().TPM == '1' then
if EL3SDDUndef() then
Undefined();
else
AArch64_AArch32SystemAccessTrap(EL3, 0x03);
end;
else
R(t) = PMUSERENR();
end;
elsif PSTATE.EL == EL3 then
R(t) = PMUSERENR();
end;
MCR{<c>}{<q>} <coproc>, {#}<opc1>, <Rt>, <CRn>, <CRm>{, {#}<opc2>}
(coproc = 0b1111, opc1 = 0b000, CRn = 0b1001, CRm = 0b1110, opc2 = 0b000)
if !(IsFeatureImplemented(FEAT_AA32) && IsFeatureImplemented(FEAT_PMUv3)) then
Undefined();
elsif HaveEL(EL3) && PSTATE.EL IN {EL1, EL2} && EL3SDDUndefPriority() && IsFeatureImplemented(FEAT_AA64EL3) && !ELUsingAArch32(EL3) && MDCR_EL3().TPM == '1' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T9 == '1' then
AArch64_AArch32SystemAccessTrap(EL2, 0x03);
elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T9 == '1' then
AArch32_TakeHypTrapException(0x03);
elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && MDCR_EL2().TPM == '1' then
AArch64_AArch32SystemAccessTrap(EL2, 0x03);
elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HDCR().TPM == '1' then
AArch32_TakeHypTrapException(0x03);
elsif HaveEL(EL3) && IsFeatureImplemented(FEAT_AA64EL3) && !ELUsingAArch32(EL3) && MDCR_EL3().TPM == '1' then
if EL3SDDUndef() then
Undefined();
else
AArch64_AArch32SystemAccessTrap(EL3, 0x03);
end;
else
PMUSERENR() = R(t);
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && !ELUsingAArch32(EL3) && MDCR_EL3().TPM == '1' then
if EL3SDDUndef() then
Undefined();
else
AArch64_AArch32SystemAccessTrap(EL3, 0x03);
end;
else
PMUSERENR() = R(t);
end;
elsif PSTATE.EL == EL3 then
PMUSERENR() = R(t);
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.