[Writeup] PMU register pages: part 3 of 7 ========================================= Section: Silicon & Architectures Started: 2026-11-28 17:41 UTC by admin Replies: 0, last post 2026-11-28 17:41 UTC Page: 1 of 1 Web: https://romdump.net/t/84 ------------------------------------------------------------------------------ #104 admin, 2026-11-28 17:41 UTC [OP] (edited) Source: https://romdump.net/raw/104
Archived Arm source pages for the PMU register pages. Part 3 of 7. This
part covers PMCNTENSET_EL0 through PMEVCNTR
Performance Monitors Count Enable Set Register
Allows software to enable the following counters:
External register PMCNTENSET_EL0 bits [31:0] are architecturally mapped to AArch64 System register PMCNTENSET_EL0[31:0] when FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3p9 is not implemented, and FEAT_PMUv3_ICNTR is not implemented.
External register PMCNTENSET_EL0 bits [31:0] are architecturally mapped to AArch64 System register PMCNTENCLR_EL0[31:0] when FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3p9 is not implemented, and FEAT_PMUv3_ICNTR is not implemented.
External register PMCNTENSET_EL0 bits [63:0] are architecturally mapped to AArch64 System register PMCNTENSET_EL0[63:0] when FEAT_PMUv3_EXT64 is implemented or FEAT_PMUv3p9 is implemented.
External register PMCNTENSET_EL0 bits [63:0] are architecturally mapped to AArch64 System register PMCNTENCLR_EL0[63:0] when FEAT_PMUv3_EXT64 is implemented or FEAT_PMUv3p9 is implemented.
External register PMCNTENSET_EL0 bits [31:0] are architecturally mapped to AArch32 System register PMCNTENCLR[31:0].
External register PMCNTENSET_EL0 bits [31:0] are architecturally mapped to AArch32 System register PMCNTENSET[31:0].
This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMCNTENSET_EL0 are RES0.
PMCNTENSET_EL0 is in the Core power domain.
PMCNTENSET_EL0 is a:
| 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 | F0 | ||||||||||||||||||||||||||||||
| C | P30 | P29 | P28 | P27 | P26 | P25 | P24 | P23 | P22 | P21 | P20 | P19 | P18 | P17 | P16 | P15 | P14 | P13 | P12 | P11 | P10 | P9 | P8 | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |
Reserved, RES0.
PMICNTR_EL0 enable. On writes, allows software to enable PMICNTR_EL0. On reads, returns the PMICNTR_EL0 enable status.
| F0 | Meaning |
|---|---|
| 0b0 | PMICNTR_EL0 disabled. |
| 0b1 | PMICNTR_EL0 enabled. |
The reset behavior of this field is:
On a Warm reset, this field resets to '0'. Accessing this field has the following behavior:
When SoftwareLockStatus(addrdesc), access to this field is RO.
Otherwise, access to this field is W1S.
Reserved, RES0.
PMCCNTR_EL0 enable. On writes, allows software to enable PMCCNTR_EL0. On reads, returns the PMCCNTR_EL0 enable status.
| C | Meaning |
|---|---|
| 0b0 | PMCCNTR_EL0 disabled. |
| 0b1 | PMCCNTR_EL0 enabled. |
The reset behavior of this field is:
On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.
On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When SoftwareLockStatus(addrdesc), access to this field is RO.
Otherwise, access to this field is W1S.
PMEVCNTR<m>_EL0 enable. On writes, allows software to enable PMEVCNTR<m>_EL0. On reads, returns the PMEVCNTR<m>_EL0 enable status.
| P<m> | Meaning |
|---|---|
| 0b0 | PMEVCNTR<m>_EL0 disabled. |
| 0b1 | PMEVCNTR<m>_EL0 enabled. |
The reset behavior of this field is:
On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.
On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= NUM_PMU_COUNTERS, access to this field is RAZ/WI. Access to this field is RAZ/WI if all the following are true:
When SoftwareLockStatus(addrdesc), access to this field is RO.
Otherwise, access to this field is W1S.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| C | P30 | P29 | P28 | P27 | P26 | P25 | P24 | P23 | P22 | P21 | P20 | P19 | P18 | P17 | P16 | P15 | P14 | P13 | P12 | P11 | P10 | P9 | P8 | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |
PMCCNTR_EL0 enable. On writes, allows software to enable PMCCNTR_EL0. On reads, returns the PMCCNTR_EL0 enable status.
| C | Meaning |
|---|---|
| 0b0 | PMCCNTR_EL0 disabled. |
| 0b1 | PMCCNTR_EL0 enabled. |
The reset behavior of this field is:
On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.
On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When SoftwareLockStatus(addrdesc), access to this field is RO.
Otherwise, access to this field is W1S.
PMEVCNTR<m>_EL0 enable. On writes, allows software to enable PMEVCNTR<m>_EL0. On reads, returns the PMEVCNTR<m>_EL0 enable status.
| P<m> | Meaning |
|---|---|
| 0b0 | PMEVCNTR<m>_EL0 disabled. |
| 0b1 | PMEVCNTR<m>_EL0 enabled. |
The reset behavior of this field is:
On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.
On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= NUM_PMU_COUNTERS, access to this field is RAZ/WI. Access to this field is RAZ/WI if all the following are true:
When SoftwareLockStatus(addrdesc), access to this field is RO.
Otherwise, access to this field is W1S.
Accesses to this register use the following encodings:
[63:0] Accessible at offset 0xC00 from PMU
[31:0] Accessible at offset 0xC00 from PMU
Performance Monitors Control Register
Configures and controls the Performance Monitors counters.
External register PMCR_EL0 bits [63:32] are architecturally mapped to AArch64 System register PMCR_EL0[63:32] when FEAT_PMUv3_EXT64 is implemented.
External register PMCR_EL0 bits [31:0] are architecturally mapped to AArch64 System register PMCR_EL0[31:0].
External register PMCR_EL0 bits [10:0] are architecturally mapped to AArch32 System register PMCR[10:0].
This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMCR_EL0 are RES0.
PMCR_EL0 is in the Core power domain.
This register is only partially mapped to the internal PMCR System register. An external agent must use other means to discover the information held in PMCR[31:11], such as accessing PMCFGR and the ID registers.
PMCR_EL0 is a:
| 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 | FZS | ||||||||||||||||||||||||||||||
| RAZ/WI | RES0 | FZO | RES0 | LP | LC | DP | X | D | C | P | E |
Reserved, RES0.
Freeze-on-SPE event. Stop counters when PMBLIMITR_EL1.{PMFZ,E} is {1,1} and profiling is stopped.
| FZS | Meaning |
|---|---|
| 0b0 | Do not freeze on a Statistical Profiling Buffer Management event. |
| 0b1 | Affected counters do not count following a Statistical Profiling Buffer Management event. |
The pseudocode function SPEProfilingStopped() describes when profiling is stopped.
The counters affected by this field are:
When FEAT_SPE_DPFZS is not implemented or PMCR_EL0.DP is 0, PMCCNTR_EL0 is not affected by this field.
For more information about event counter ranges, see MDCR_EL2.HPMN.
The reset behavior of this field is:
On a Warm reset:
Reserved, RES0.
Reserved, RAZ/WI.
Hardware must implement this field as RAZ/WI. Software must not rely on the register reading as zero, and must use a read-modify-write sequence to write to the register.
Reserved, RES0.
Freeze-on-overflow. Stop event counters on overflow.
| FZO | Meaning |
|---|---|
| 0b0 | Do not freeze on overflow. |
| 0b1 | Affected counters do not count when any of the following applies: For any event counter PMEVCNTR<m>_EL0 in the first range, PMOVSCLR_EL0[m] is 1. FEAT_PMUv3_ICNTR is implemented and PMOVSCLR_EL0.F0 is 1. |
The counters affected by this field are:
When PMCR_EL0.DP is 0, PMCCNTR_EL0 is not affected by this field.
For more information about event counter ranges, see MDCR_EL2.HPMN.
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
Long event counter enable. Determines when unsigned overflow is recorded by PMOVSCLR_EL0.P[n].
| LP | Meaning |
|---|---|
| 0b0 | Event counter overflow on increment that causes unsigned overflow of PMEVCNTR<n>_EL0[31:0]. |
| 0b1 | Event counter overflow on increment that causes unsigned overflow of PMEVCNTR<n>_EL0[63:0]. |
When FEAT_EBEP is implemented and the PMU Profiling exception is enabled, the Effective value of this field is 1.
The counters affected by this field are the event counters in the first range. For more information about event counter ranges, see MDCR_EL2.HPMN.
Other event counters and PMCCNTR_EL0 are not affected by this field.
When FEAT_PMUv3_ICNTR is implemented, PMICNTR_EL0 is not affected by this field.
The reset behavior of this field is:
On a Warm reset:
Reserved, RES0.
Long cycle counter enable. Determines when unsigned overflow is recorded by PMOVSCLR_EL0.C.
| LC | Meaning |
|---|---|
| 0b0 | Cycle counter overflow on increment that causes unsigned overflow of PMCCNTR_EL0[31:0]. |
| 0b1 | Cycle counter overflow on increment that causes unsigned overflow of PMCCNTR_EL0[63:0]. |
When FEAT_EBEP is implemented and the PMU Profiling exception is enabled, the Effective value of this field is 1.
Arm deprecates use of PMCR_EL0.LC = 0.
The reset behavior of this field is:
Reserved, RES1.
Disable cycle counter when event counting is prohibited.
| DP | Meaning |
|---|---|
| 0b0 | Cycle counting by PMCCNTR_EL0 is not affected by this mechanism. |
| 0b1 | Cycle counting by PMCCNTR_EL0 is disabled in prohibited regions and when event counting is frozen: If FEAT_PMUv3p1 is implemented, EL2 is implemented, and MDCR_EL2.HPMD or HDCR.HPMD is 1, then cycle counting by PMCCNTR_EL0 is disabled at EL2. If FEAT_SPE_DPFZS is implemented and event counting is frozen by PMCR_EL0.FZS, then cycle counting by PMCCNTR_EL0 is disabled. If FEAT_PMUv3p7 is implemented and event counting is frozen by PMCR_EL0.FZO, then cycle counting by PMCCNTR_EL0 is disabled. If FEAT_PMUv3p7 is implemented, EL3 is implemented and using AArch64, and MDCR_EL3.MPMX is 1, then cycle counting by PMCCNTR_EL0 is disabled at EL3. If EL3 is implemented, MDCR_EL3.SPME or SDCR.SPME is 0, and one of FEAT_PMUv3p7 is not implemented, EL3 is using AArch32, or MDCR_EL3.MPMX is 0, then cycle counting by PMCCNTR_EL0 is disabled at EL3 and in Secure state. |
The conditions when this field disables the cycle counter are the same as when event counting by an event counter in the first range is prohibited or frozen. For more information about event counter ranges, see MDCR_EL2.HPMN.
If FEAT_PMUv3p7 and FEAT_SPEv1p2 are implemented, meaning PMCR_EL0.FZS is implemented, and FEAT_SPE_DPFZS is not implemented, then cycle counting by PMCCNTR_EL0 is not affected by PMCR_EL0.FZS.
For more information, see 'Prohibiting event and cycle counting'.
The reset behavior of this field is:
On a Warm reset:
Reserved, RES0.
Enable export of events in an IMPLEMENTATION DEFINED PMU event export bus.
| X | Meaning |
|---|---|
| 0b0 | Do not export events. |
| 0b1 | Export events where not prohibited. |
This field enables the exporting of events over an IMPLEMENTATION DEFINED PMU event export bus to another device.
No events are exported when counting is prohibited.
This field does not affect the generation of Performance Monitors overflow interrupt requests or signaling to a cross-trigger interface (CTI) that can be implemented as signals exported from the PE.
If FEAT_ETE is implemented, this field does not affect the use of PMU events as an External Input by the trace unit.
If FEAT_ETMv4 is implemented, this field does affect the use of PMU events as an External Input by the trace unit.
The reset behavior of this field is:
On a Warm reset:
Reserved, RAZ/WI.
Clock divider.
| D | Meaning |
|---|---|
| 0b0 | When enabled, PMCCNTR_EL0 counts every clock cycle. |
| 0b1 | When enabled, PMCCNTR_EL0 counts once every 64 clock cycles. |
If the Effective value of PMCR_EL0.LC is 1, then this field is ignored and the cycle counter counts every clock cycle.
Arm deprecates use of PMCR_EL0.D = 1.
The reset behavior of this field is:
On a Warm reset:
Reserved, RES0.
Cycle counter reset. The effects of writing to this field are:
| C | Meaning |
|---|---|
| 0b0 | No action. |
| 0b1 | Reset PMCCNTR_EL0 to zero. |
Resetting PMCCNTR_EL0 does not change the cycle counter overflow field. The value of PMCR_EL0.LC is ignored, and bits [63:0] of the cycle counter are reset.
Access to this field is WO/RAZ.
Event counter reset.
| P | Meaning |
|---|---|
| 0b0 | No action. |
| 0b1 | Reset all affected event counters PMEVCNTR<n>_EL0 to zero. |
The event counters affected by this field are:
For more information about event counter ranges, see MDCR_EL2.HPMN.
Resetting the event counters does not change the event counter overflow fields. If FEAT_PMUv3p5 is implemented, the values of MDCR_EL2.HLP or HDCR.HLP and PMCR_EL0.LP are ignored, and bits [63:0] of all affected event counters are reset.
Access to this field is WO/RAZ.
Enable.
| E | Meaning |
|---|---|
| 0b0 | Affected counters are disabled and do not count. |
| 0b1 | Affected counters are enabled by PMCNTENSET_EL0. |
The counters affected by this field are:
The reset behavior of this field is:
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RAZ/WI | RES0 | FZO | RES0 | LP | LC | DP | X | D | C | P | E |
Reserved, RAZ/WI.
Hardware must implement this field as RAZ/WI. Software must not rely on the register reading as zero, and must use a read-modify-write sequence to write to the register.
Reserved, RES0.
Freeze-on-overflow. Stop event counters on overflow.
| FZO | Meaning |
|---|---|
| 0b0 | Do not freeze on overflow. |
| 0b1 | Affected counters do not count when any of the following applies: For any event counter PMEVCNTR<m>_EL0 in the first range, PMOVSCLR_EL0[m] is 1. FEAT_PMUv3_ICNTR is implemented and PMOVSCLR_EL0.F0 is 1. |
The counters affected by this field are:
When PMCR_EL0.DP is 0, PMCCNTR_EL0 is not affected by this field.
For more information about event counter ranges, see MDCR_EL2.HPMN.
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
Long event counter enable. Determines when unsigned overflow is recorded by PMOVSCLR_EL0.P[n].
| LP | Meaning |
|---|---|
| 0b0 | Event counter overflow on increment that causes unsigned overflow of PMEVCNTR<n>_EL0[31:0]. |
| 0b1 | Event counter overflow on increment that causes unsigned overflow of PMEVCNTR<n>_EL0[63:0]. |
When FEAT_EBEP is implemented and the PMU Profiling exception is enabled, the Effective value of this field is 1.
The counters affected by this field are the event counters in the first range. For more information about event counter ranges, see MDCR_EL2.HPMN.
Other event counters and PMCCNTR_EL0 are not affected by this field.
When FEAT_PMUv3_ICNTR is implemented, PMICNTR_EL0 is not affected by this field.
The reset behavior of this field is:
On a Warm reset:
Reserved, RES0.
Long cycle counter enable. Determines when unsigned overflow is recorded by PMOVSCLR_EL0.C.
| LC | Meaning |
|---|---|
| 0b0 | Cycle counter overflow on increment that causes unsigned overflow of PMCCNTR_EL0[31:0]. |
| 0b1 | Cycle counter overflow on increment that causes unsigned overflow of PMCCNTR_EL0[63:0]. |
When FEAT_EBEP is implemented and the PMU Profiling exception is enabled, the Effective value of this field is 1.
Arm deprecates use of PMCR_EL0.LC = 0.
The reset behavior of this field is:
Reserved, RES1.
Disable cycle counter when event counting is prohibited.
| DP | Meaning |
|---|---|
| 0b0 | Cycle counting by PMCCNTR_EL0 is not affected by this mechanism. |
| 0b1 | Cycle counting by PMCCNTR_EL0 is disabled in prohibited regions and when event counting is frozen: If FEAT_PMUv3p1 is implemented, EL2 is implemented, and MDCR_EL2.HPMD or HDCR.HPMD is 1, then cycle counting by PMCCNTR_EL0 is disabled at EL2. If FEAT_SPE_DPFZS is implemented and event counting is frozen by PMCR_EL0.FZS, then cycle counting by PMCCNTR_EL0 is disabled. If FEAT_PMUv3p7 is implemented and event counting is frozen by PMCR_EL0.FZO, then cycle counting by PMCCNTR_EL0 is disabled. If FEAT_PMUv3p7 is implemented, EL3 is implemented and using AArch64, and MDCR_EL3.MPMX is 1, then cycle counting by PMCCNTR_EL0 is disabled at EL3. If EL3 is implemented, MDCR_EL3.SPME or SDCR.SPME is 0, and one of FEAT_PMUv3p7 is not implemented, EL3 is using AArch32, or MDCR_EL3.MPMX is 0, then cycle counting by PMCCNTR_EL0 is disabled at EL3 and in Secure state. |
The conditions when this field disables the cycle counter are the same as when event counting by an event counter in the first range is prohibited or frozen. For more information about event counter ranges, see MDCR_EL2.HPMN.
If FEAT_PMUv3p7 and FEAT_SPEv1p2 are implemented, meaning PMCR_EL0.FZS is implemented, and FEAT_SPE_DPFZS is not implemented, then cycle counting by PMCCNTR_EL0 is not affected by PMCR_EL0.FZS.
For more information, see 'Prohibiting event and cycle counting'.
The reset behavior of this field is:
On a Warm reset:
Reserved, RES0.
Enable export of events in an IMPLEMENTATION DEFINED PMU event export bus.
| X | Meaning |
|---|---|
| 0b0 | Do not export events. |
| 0b1 | Export events where not prohibited. |
This field enables the exporting of events over an IMPLEMENTATION DEFINED PMU event export bus to another device.
No events are exported when counting is prohibited.
This field does not affect the generation of Performance Monitors overflow interrupt requests or signaling to a cross-trigger interface (CTI) that can be implemented as signals exported from the PE.
If FEAT_ETE is implemented, this field does not affect the use of PMU events as an External Input by the trace unit.
If FEAT_ETMv4 is implemented, this field does affect the use of PMU events as an External Input by the trace unit.
The reset behavior of this field is:
On a Warm reset:
Reserved, RAZ/WI.
Clock divider.
| D | Meaning |
|---|---|
| 0b0 | When enabled, PMCCNTR_EL0 counts every clock cycle. |
| 0b1 | When enabled, PMCCNTR_EL0 counts once every 64 clock cycles. |
If the Effective value of PMCR_EL0.LC is 1, then this field is ignored and the cycle counter counts every clock cycle.
Arm deprecates use of PMCR_EL0.D = 1.
The reset behavior of this field is:
On a Warm reset:
Reserved, RES0.
Cycle counter reset. The effects of writing to this field are:
| C | Meaning |
|---|---|
| 0b0 | No action. |
| 0b1 | Reset PMCCNTR_EL0 to zero. |
Resetting PMCCNTR_EL0 does not change the cycle counter overflow field. The value of PMCR_EL0.LC is ignored, and bits [63:0] of the cycle counter are reset.
Access to this field is WO/RAZ.
Event counter reset.
| P | Meaning |
|---|---|
| 0b0 | No action. |
| 0b1 | Reset all affected event counters PMEVCNTR<n>_EL0 to zero. |
The event counters affected by this field are:
For more information about event counter ranges, see MDCR_EL2.HPMN.
Resetting the event counters does not change the event counter overflow fields. If FEAT_PMUv3p5 is implemented, the values of MDCR_EL2.HLP or HDCR.HLP and PMCR_EL0.LP are ignored, and bits [63:0] of all affected event counters are reset.
Access to this field is WO/RAZ.
Enable.
| E | Meaning |
|---|---|
| 0b0 | Affected counters are disabled and do not count. |
| 0b1 | Affected counters are enabled by PMCNTENSET_EL0. |
The counters affected by this field are:
The reset behavior of this field is:
Accesses to this register use the following encodings:
Accessible at offset 0xE04 from PMU
Accessible at offset 0xE10 from PMU
Performance Monitors Device Affinity register
Copy of the PE MPIDR_EL1 register that allows a debugger to determine which PE in a multiprocessor system the Performance Monitor component relates to.
This register is present only when FEAT_PMUv3_EXT64 is implemented.
If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.
PMDEVAFF is a 64-bit register.
This register is part of the PMU block.
| 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 | Aff3 | ||||||||||||||||||||||||||||||
| RAO/WI | U | RES0 | MT | Aff2 | Aff1 | Aff0 |
Reserved, RES0.
Affinity level 3. See the description of Aff0 for more information.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Reserved, RAO/WI.
Indicates a Uniprocessor system, as distinct from PE 0 in a multiprocessor system.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| U | Meaning |
|---|---|
| 0b0 | Processor is part of a multiprocessor system. |
| 0b1 | Processor is part of a uniprocessor system. |
Access to this field is RO.
Reserved, RES0.
Indicates whether the lowest level of affinity consists of logical PEs that are implemented using an interdependent approach, such as multithreading. See the description of Aff0 for more information about affinity levels.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| MT | Meaning |
|---|---|
| 0b0 | Performance of PEs with different affinity level 0 values, and the same values for affinity level 1 and higher, is largely independent. |
| 0b1 | Performance of PEs with different affinity level 0 values, and the same values for affinity level 1 and higher, is very interdependent. |
This field does not indicate that multithreading is implemented and does not indicate that PEs with different affinity level 0 values, and the same values for affinity level 1 and higher are implemented.
Access to this field is RO.
Affinity level 2. See the description of Aff0 for more information.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Affinity level 1. See the description of Aff0 for more information.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Affinity level 0. The value of the MPIDR.{Aff2, Aff1, Aff0} or MPIDR_EL1.{Aff3, Aff2, Aff1, Aff0} set of fields of each PE must be unique within the system as a whole.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
If FEAT_PMUv3_EXT32 is implemented, then the same content is present in the same locations, and can be accessed using PMDEVAFF0[31:0] and PMDEVAFF1[31:0].
Accesses to this register use the following encodings:
Accessible at offset 0xFA8 from PMU
Performance Monitors Device Affinity register 0
Copy of the low half of the PE MPIDR_EL1 register that allows a debugger to determine which PE in a multiprocessor system the Performance Monitor component relates to.
This register is present only when FEAT_PMUv3_EXT32 is implemented.
If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.
PMDEVAFF0 is a 32-bit register.
This register is part of the PMU block.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RAO/WI | U | RES0 | MT | Aff2 | Aff1 | Aff0 |
Reserved, RAO/WI.
Indicates a Uniprocessor system, as distinct from PE 0 in a multiprocessor system.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| U | Meaning |
|---|---|
| 0b0 | Processor is part of a multiprocessor system. |
| 0b1 | Processor is part of a uniprocessor system. |
Access to this field is RO.
Reserved, RES0.
Indicates whether the lowest level of affinity consists of logical PEs that are implemented using an interdependent approach, such as multithreading. See the description of Aff0 for more information about affinity levels.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| MT | Meaning |
|---|---|
| 0b0 | Performance of PEs with different affinity level 0 values, and the same values for affinity level 1 and higher, is largely independent. |
| 0b1 | Performance of PEs with different affinity level 0 values, and the same values for affinity level 1 and higher, is very interdependent. |
This field does not indicate that multithreading is implemented and does not indicate that PEs with different affinity level 0 values, and the same values for affinity level 1 and higher are implemented.
Access to this field is RO.
Affinity level 2. See the description of Aff0 for more information.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Affinity level 1. See the description of Aff0 for more information.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Affinity level 0. The value of the MPIDR.{Aff2, Aff1, Aff0} or MPIDR_EL1.{Aff3, Aff2, Aff1, Aff0} set of fields of each PE must be unique within the system as a whole.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
If FEAT_PMUv3_EXT64 is implemented, then the same content is present in the same location, and can be accessed using PMDEVAFF[31:0].
Accesses to this register use the following encodings:
Accessible at offset 0xFA8 from PMU
Performance Monitors Device Affinity register 1
Copy of the high half of the PE MPIDR_EL1 register that allows a debugger to determine which PE in a multiprocessor system the Performance Monitor component relates to.
This register is present only when FEAT_PMUv3_EXT32 is implemented.
If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.
PMDEVAFF1 is a 32-bit register.
This register is part of the PMU block.
| 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 | Aff3 |
Reserved, RES0.
Affinity level 3. See the description of PMDEVAFF0.Aff0 for more information.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
If FEAT_PMUv3_EXT64 is implemented, then the same content is present in the same location, and can be accessed using PMDEVAFF[63:32].
Accesses to this register use the following encodings:
Accessible at offset 0xFAC from PMU
Performance Monitors Device Architecture register
Identifies the programmers' model architecture of the Performance Monitor component.
This register is present only when FEAT_PMUv3_EXT is implemented. Otherwise, direct accesses to PMDEVARCH are RES0.
If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.
PMDEVARCH is a 32-bit register.
This register is part of the PMU block.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ARCHITECT | PRESENT | REVISION | ARCHVER | ARCHPART |
Defines the architect of the component. For Performance Monitors, this is Arm Limited.
Bits [31:28] are the JEP106 continuation code, 0b0100.
Bits [27:21] are the JEP106 identification code, 0b0111011.
Reads as 0b01000111011.
Access to this field is RO.
DEVARCH presence. Indicates that the PMDEVARCH register provides architecture information.
Reads as 0b1.
Access to this field is RO.
Defines the architecture revision. For architectures defined by Arm this is the minor revision.
For Performance Monitors, the revision defined by Armv8 is 0x0.
All other values are reserved.
Reads as 0b0000.
Access to this field is RO.
Architecture Version. Defines the architecture version of the component.
| ARCHVER | Meaning |
|---|---|
| 0b0010 | Performance Monitors Extension version 3, PMUv3. |
All other values are reserved.
PMDEVARCH.ARCHVER and PMDEVARCH.ARCHPART are also defined as a single field, PMDEVARCH.ARCHID, so that PMDEVARCH.ARCHVER is PMDEVARCH.ARCHID[15:12].
Access to this field is RO.
Architecture Version. Defines the architecture version of the component.
| ARCHVER | Meaning |
|---|---|
| 0b0000 | PC Sample-based Profiling version 2, FEAT_PCSRv8p2. |
All other values are reserved.
PMDEVARCH.ARCHVER and PMDEVARCH.ARCHPART are also defined as a single field, PMDEVARCH.ARCHID, so that PMDEVARCH.ARCHVER is PMDEVARCH.ARCHID[15:12].
Architecture Part. Defines the architecture of the component.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| ARCHPART | Meaning |
|---|---|
| 0xA10 | PC Sample-based Profiling, including the 32-bit programmers' model extension. |
| 0xA16 | Armv8-A PE performance monitors, including the 32-bit programmers' model extension. |
| 0xA20 | PC Sample-based Profiling, including the 64-bit programmers' model extension. |
| 0xA26 | Armv8-A PE performance monitors, including the 64-bit programmers' model extension. |
FEAT_PMUv3_EXT32 implements the functionality described by the values 0xA10 and 0xA16.
FEAT_PMUv3_EXT64 implements the functionality described by the values 0xA20 and 0xA26.
The values 0xA10 and 0xA20 indicate that FEAT_PCSRv8p2 is implemented but the Performance Monitors Extension is not implemented.
PMDEVARCH.ARCHVER and PMDEVARCH.ARCHPART are also defined as a single field, PMDEVARCH.ARCHID, so that PMDEVARCH.ARCHPART is PMDEVARCH.ARCHID[11:0].
Access to this field is RO.
Accesses to this register use the following encodings:
Accessible at offset 0xFBC from PMU
Performance Monitors Device ID register
Provides information about features of the Performance Monitors implementation.
This register is present only when (Armv8.2 or FEAT_PCSRv8p2 is implemented) and FEAT_PMUv3_EXT is implemented. Otherwise, direct accesses to PMDEVID are RES0.
If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.
PMDEVID is a 32-bit register.
This register is part of the PMU block.
| 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 | EXTPMN | PMSS | PCSample |
Reserved, RES0.
Reserving PMU event counters for external agents.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| EXTPMN | Meaning |
|---|---|
| 0b0000 | PMUv3 Extension for reserving PMU event counters for external agents not implemented. |
| 0b0001 | PMUv3 Extension for reserving PMU event counters for external agents implemented. |
All other values are reserved.
FEAT_PMUv3_EXTPMN implements the functionality identified by the value 0b0001.
Access to this field is RO.
PMU Snapshot extension.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| PMSS | Meaning |
|---|---|
| 0b0000 | PMU snapshot extension not implemented. |
| 0b0001 | PMU snapshot extension implemented. |
All other values are reserved.
FEAT_PMUv3_SS implements the functionality identified by the value 0b0001.
Access to this field is RO.
Indicates the level of PC Sample-based Profiling support using Performance Monitors registers.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| PCSample | Meaning |
|---|---|
| 0b0000 | PC Sample-based Profiling Extension is not implemented in the Performance Monitors register space. |
| 0b0001 | PC Sample-based Profiling Extension is implemented in the Performance Monitors register space. |
| 0b0010 | As 0b0001, and adds support for PMPCSCTL. |
All other values are reserved.
FEAT_PCSRv8p2 implements the functionality identified by the value 0b0001.
FEAT_PCSRv8p9 implements the functionality identified by the value 0b0010.
If FEAT_PCSRv8p2 is not implemented, then the only permitted value is 0b0000.
From Armv8.2, when FEAT_PCSRv8p2 is implemented, the value 0b0000 is not permitted.
From Armv8.9, when FEAT_PCSRv8p9 is implemented, the value 0b0001 is not permitted.
Access to this field is RO.
Accesses to this register use the following encodings:
Accessible at offset 0xFC8 from PMU
Performance Monitors Device Type register
Indicates to a debugger that this component is part of a PE's performance monitor interface.
This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented. Otherwise, direct accesses to PMDEVTYPE are RES0.
If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.
PMDEVTYPE is a 32-bit register.
This register is part of the PMU block.
| 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 | SUB | MAJOR |
Reserved, RES0.
Subtype. Indicates this is a component within a PE.
Reads as 0b0001.
Access to this field is RO.
Major type.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| MAJOR | Meaning |
|---|---|
| 0b0000 | Unspecified. |
| 0b0110 | Performance monitor component. |
FEAT_PMUv3 implements the functionality described by the value 0b0110.
Access to this field is RO.
Accesses to this register use the following encodings:
Accessible at offset 0xFCC from PMU
Performance Monitors Event Count Registers
Holds event counter <n>, which counts events, where <n> is 0 to 30.
External register PMEVCNTR<n>_EL0 bits [63:0] are architecturally mapped to AArch64 System register PMEVCNTR<n>_EL0[63:0] when FEAT_PMUv3_EXT64 is implemented or FEAT_PMUv3p5 is implemented.
External register PMEVCNTR<n>_EL0 bits [31:0] are architecturally mapped to AArch64 System register PMEVCNTR<n>_EL0[31:0] when FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p5 is not implemented.
External register PMEVCNTR<n>_EL0 bits [31:0] are architecturally mapped to AArch32 System register PMEVCNTR<n>[31:0].
This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMEVCNTR<n>_EL0 are RES0.
PMEVCNTR<n>_EL0 is in the Core power domain.
PMEVCNTR<n>_EL0 is a:
| 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 |
| EVCNT | |||||||||||||||||||||||||||||||
| EVCNT |
Event counter n. Value of event counter n, where n is the number of this register and is a number from 0 to 30.
If the highest implemented Exception level is using AArch32, the optional external interface to the performance monitors is implemented, and the PMCR.LP and HDCR.HLP bits are RAZ/WI, then locations in the external interface to the performance monitors that map to PMEVCNTR<n>_EL0[63:32] return UNKNOWN values on reads.
If the implementation does not support AArch64, bits [63:32] of the event counters are not required to be implemented.
The reset behavior of this field is:
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| EVCNT |
Event counter n. Value of event counter n, where n is the number of this register and is a number from 0 to 30.
The reset behavior of this field is:
If FEAT_PMUv3p5 is not implemented, when IsCorePowered(), DoubleLockStatus(), OSLockStatus() or !AllowExternalPMUAccess(), 32-bit accesses to 0x004+8×n have a CONSTRAINED UNPREDICTABLE behavior.
Accesses to this register use the following encodings:
[63:0] Accessible at offset 0x000 + (8 * n) from PMU
[63:0] Accessible at offset 0x000 + (8 * n) from PMU
[31:0] Accessible at offset 0x000 + (8 * n) from PMU