Archived Arm source pages for the PMU register pages. Part 7 of 7. This part covers PMPIDR7 through PMZR_EL0.
PMPIDR7
Performance Monitors Peripheral Identification Register 7
Provides information to identify a Performance Monitor component.
For more information, see 'About the Peripheral identification scheme'.
Configuration
This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented. Otherwise, direct accesses to PMPIDR7 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.
Attributes
PMPIDR7 is a 32-bit register.
This register is part of the PMU block.
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 |
Bits [31:0]:
Reserved, RES0.
Access Instructions
Accesses to this register use the following encodings:
Accessible at offset 0xFDC from PMU
- When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
PMSSCR_EL1
Performance Monitors Snapshot Status and Capture Register
Holds status information about the captured counters and provides a mechanism for software to initiate a sample.
Configuration
External register PMSSCR_EL1 bits [63:0] are architecturally mapped to AArch64 System register PMSSCR_EL1[63:0].
This register is present only when FEAT_PMUv3_SS is implemented and FEAT_PMUv3_EXT is implemented. Otherwise, direct accesses to PMSSCR_EL1 are RES0.
Attributes
PMSSCR_EL1 is a 64-bit register.
This register is part of the PMU block.
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 | NC | ||||||||||||||||||||||||||||||
| RES0 | SS |
Bits [63:33]:
Reserved, RES0.
NC, bit [32]:
No Capture. Indicates whether the PMU counters have been captured.
| NC | Meaning |
|---|---|
| 0b0 | PMU counters captured. |
| 0b1 | PMU counters not captured. |
The reset behavior of this field is:
- On a Warm reset, this field resets to '1'.
Bits [31:1]:
Reserved, RES0.
SS, bit [0]:
Snapshot Capture and Status.
| SS | Meaning |
|---|---|
| 0b0 | On a read, the Capture event has completed. |
| 0b1 | On a read, the Capture event has not completed. On a write, request a Capture event. |
A write of 0 to this field is ignored.
It is CONSTRAINED UNPREDICTABLE whether a Capture event has completed if this field is modified when the Capture event is ongoing.
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.
-
When PMU capture events are disabled, access to this field is RO.
-
Otherwise, access to this field is RW.
Access Instructions
Accesses to this register use the following encodings:
Accessible at offset 0xE30 from PMU
- When DoubleLockStatus(), or !IsCorePowered(), or !AllowExternalPMSSAccess(addrdesc), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
PMSWINC_EL0
Performance Monitors Software Increment Register
Increments a counter that is configured to count the Software increment event, event 0x00. For more information, see 'SW_INCR'.
Configuration
External register PMSWINC_EL0 bits [31:0] are architecturally mapped to AArch64 System register PMSWINC_EL0[31:0].
External register PMSWINC_EL0 bits [31:0] are architecturally mapped to AArch32 System register PMSWINC[31:0].
This register is present only when FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3p9 is not implemented, and an implementation implements PMSWINC_EL0.
PMSWINC_EL0 is in the Core power domain.
If this register is implemented, use of it is deprecated.
If 1 is written to bit [n] from the external debug interface, it is CONSTRAINED UNPREDICTABLE whether or not a SW_INCR event is created for counter n. This is consistent with not implementing the register in the external debug interface.
Attributes
PMSWINC_EL0 is a 32-bit register.
This register is part of the PMU block.
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 | 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 |
Bit [31]:
Reserved, RES0.
P<m>, bit [m], for m = 30 to 0:
Event counter software increment bit for PMEVCNTR<m>_EL0.
| P<m> | Meaning |
|---|---|
| 0b0 | No action. The write to this bit is ignored. |
| 0b1 | It is CONSTRAINED UNPREDICTABLE whether a SW_INCR event is generated for event counter m. |
Accessing this field has the following behavior:
- When m >= NUM_PMU_COUNTERS, access to this field is RAZ/WI.
- When SoftwareLockStatus(addrdesc), access to this field is RAZ/WI.
- Otherwise, access to this field is WO/RAZ.
Access Instructions
If FEAT_PMUv3p9 or FEAT_PMUv3_EXT64 are implemented, this location is used for accesses to PMZR_EL0.
Accesses to this register use the following encodings:
Accessible at offset 0xCA0 from PMU
- When DoubleLockStatus(), or !IsCorePowered(), or !AllowExternalPMUAccess(addrdesc), accesses to this register generate an error response.
- When (FEAT_PMUv3_EXTPMN is not implemented, or !IsMostSecureAccess(addrdesc), or PMCCR().OSLO == '0') and OSLockStatus(), accesses to this register generate an error response.
- When SoftwareLockStatus(addrdesc), accesses to this register are WI.
- Otherwise, accesses to this register are WO.
PMVCIDSR
CONTEXTIDR_EL1 and VMID Sample Register
PC Sample-based Profiling Extension register that contains the sampled CONTEXTIDR_EL1 and VMID values that are captured on reading PMPCSR.
Configuration
External register PMVCIDSR bits [31:0] are architecturally mapped to External register PMCCIDSR[31:0].
This register is present only when FEAT_PMUv3_EXT64 is implemented and FEAT_PCSRv8p2 is implemented.
Attributes
PMVCIDSR is a 64-bit register.
This register is part of the PMU block.
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 | VMID[15:8] | VMID | |||||||||||||||||||||||||||||
| CONTEXTIDR_EL1 |
Bits [63:48]:
Reserved, RES0.
VMID[15:8], bits [47:40] when FEAT_VMID16 is implemented:
Extension to VMID[7:0]. For more information, see VMID[7:0].
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
VMID, bits [39:32]:
VMID sample. The VMID associated with the most recent PMPCSR sample. When the most recent PMPCSR sample was generated:
This field is set to an UNKNOWN value if any of the following apply:
-
EL2 is disabled in the current Security state.
-
The PE is executing at EL2.
-
The PE is executing at EL0, and the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}. Otherwise:
-
If EL2 is using AArch64 and either FEAT_VMID16 is not implemented or VTCR_EL2.VS is 1, this field is set to VTTBR_EL2.VMID.
-
If EL2 is using AArch64, FEAT_VMID16 is implemented, and VTCR_EL2.VS is 0, PMVIDSR.VMID[7:0] is set to VTTBR_EL2.VMID[7:0] and PMVIDSR.VMID[15:8] is RES0.
-
If EL2 is using AArch32, this field is set to VTTBR.VMID. Because the value written to PMVIDSR is an indirect read of the VMID value, it is CONSTRAINED UNPREDICTABLE whether PMVIDSR is set to the original or new value if PMPCSR samples:
-
An instruction that writes to the VMID value.
-
The next Context synchronization event.
-
Any instruction executed between these two instructions. The reset behavior of this field is:
-
On a Cold reset, this field resets to an architecturally UNKNOWN value.
CONTEXTIDR_EL1, bits [31:0]:
Context ID. The value of CONTEXTIDR that is associated with the most recent PMPCSR sample. When the most recent PMPCSR sample is generated:
-
If EL1 is using AArch64, then the Context ID is sampled from CONTEXTIDR_EL1.
-
If EL1 is using AArch32, then the Context ID is sampled from CONTEXTIDR.
-
If EL3 is implemented and is using AArch32, then CONTEXTIDR is a banked register and this register samples the current banked copy of CONTEXTIDR for the Security state that is associated with the most recent PMPCSR sample. Because the value written to this register is an indirect read of CONTEXTIDR, it is CONSTRAINED UNPREDICTABLE whether this register is set to the original or new value if PMPCSR samples:
-
An instruction that writes to CONTEXTIDR.
-
The next Context synchronization event.
-
Any instruction executed between these two instructions. The reset behavior of this field is:
-
On a Cold reset, this field resets to an architecturally UNKNOWN value.
Access Instructions
If FEAT_PCSRv8p2 and FEAT_PMUv3_EXT32 are implemented, then the same content is present in the same locations, and can be accessed using PMVIDSR[31:0] and PMCID1SR[31:0].
IMPLEMENTATION DEFINED extensions to external debug might make the value of this register UNKNOWN, see 'Permitted behavior that might make the PC Sample-based profiling registers UNKNOWN'.
Accesses to this register use the following encodings:
Accessible at offset 0x208 from PMU
- When DoubleLockStatus() or !IsCorePowered(), accesses to this register generate an error response.
- When (FEAT_PMUv3_EXTPMN is not implemented, or !IsMostSecureAccess(addrdesc), or PMCCR().OSLO == '0') and OSLockStatus(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
PMVIDSR
VMID Sample Register
PC Sample-based Profiling Extension register that contains the sampled VMID value that is captured on reading PMPCSR[31:0].
Configuration
This register is present only when FEAT_PMUv3_EXT32 is implemented, FEAT_PCSRv8p2 is implemented, and EL2 is implemented.
PMVIDSR is in the Core power domain.
Attributes
PMVIDSR is a 32-bit register.
This register is part of the PMU block.
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 | VMID[15:8] | VMID |
Bits [31:16]:
Reserved, RES0.
VMID[15:8], bits [15:8] when FEAT_VMID16 is implemented:
Extension to VMID[7:0]. For more information, see VMID[7:0].
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
VMID, bits [7:0]:
VMID sample. The VMID associated with the most recent PMPCSR sample. When the most recent PMPCSR sample was generated:
This field is set to an UNKNOWN value if any of the following apply:
-
EL2 is disabled in the current Security state.
-
The PE is executing at EL2.
-
The PE is executing at EL0, and the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}. Otherwise:
-
If EL2 is using AArch64 and either FEAT_VMID16 is not implemented or VTCR_EL2.VS is 1, this field is set to VTTBR_EL2.VMID.
-
If EL2 is using AArch64, FEAT_VMID16 is implemented, and VTCR_EL2.VS is 0, PMVIDSR.VMID[7:0] is set to VTTBR_EL2.VMID[7:0] and PMVIDSR.VMID[15:8] is RES0.
-
If EL2 is using AArch32, this field is set to VTTBR.VMID. Because the value written to PMVIDSR is an indirect read of the VMID value, it is CONSTRAINED UNPREDICTABLE whether PMVIDSR is set to the original or new value if PMPCSR samples:
-
An instruction that writes to the VMID value.
-
The next Context synchronization event.
-
Any instruction executed between these two instructions. The reset behavior of this field is:
-
On a Cold reset, this field resets to an architecturally UNKNOWN value.
Access Instructions
If FEAT_PMUv3_EXT64 is implemented, then the same content is present in the same location, and can be accessed using PMVCIDSR[63:32].
IMPLEMENTATION DEFINED extensions to external debug might make the value of this register UNKNOWN, see 'Permitted behavior that might make the PC Sample-based profiling registers UNKNOWN'.
Accesses to this register use the following encodings:
Accessible at offset 0x20C from PMU
- When DoubleLockStatus() or !IsCorePowered(), accesses to this register generate an error response.
- When (FEAT_PMUv3_EXTPMN is not implemented, or !IsMostSecureAccess(addrdesc), or PMCCR().OSLO == '0') and OSLockStatus(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
PMZR_EL0
Performance Monitors Zero with Mask
Zero the set of counters specified by the mask written to PMZR_EL0.
Configuration
External register PMZR_EL0 bits [63:0] are architecturally mapped to AArch64 System register PMZR_EL0[63:0].
This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMUv3p9 is implemented.
PMZR_EL0 is in the Core power domain.
Attributes
PMZR_EL0 is a 64-bit register.
This register is part of the PMU block.
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 | 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 |
Bits [63:33]:
Reserved, RES0.
F0, bit [32] when FEAT_PMUv3_ICNTR is implemented:
Zero PMICNTR_EL0.
| F0 | Meaning |
|---|---|
| 0b0 | Write is ignored. |
| 0b1 | Set PMICNTR_EL0 to zero. |
Accessing this field has the following behavior:
- When SoftwareLockStatus(addrdesc), access to this field is RAZ/WI.
- Otherwise, access to this field is WO/RAZ.
Otherwise:
Reserved, RES0.
C, bit [31]:
Zero PMCCNTR_EL0.
| C | Meaning |
|---|---|
| 0b0 | Write is ignored. |
| 0b1 | Set PMCCNTR_EL0 to zero. |
Accessing this field has the following behavior:
- When SoftwareLockStatus(addrdesc), access to this field is RAZ/WI.
- Otherwise, access to this field is WO/RAZ.
P<m>, bit [m], for m = 30 to 0:
Zero PMEVCNTR<m>_EL0.
| P<m> | Meaning |
|---|---|
| 0b0 | Write is ignored. |
| 0b1 | Set PMEVCNTR<m>_EL0 to zero. |
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:
- FEAT_PMUv3_EXTPMN is implemented.
- m >= UInt(EffectiveEPMN()).
- !IsMostSecureAccess(addrdesc).
-
When SoftwareLockStatus(addrdesc), access to this field is RAZ/WI.
-
Otherwise, access to this field is WO/RAZ.
Access Instructions
When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3p9 is not implemented, then this location might be used for PMSWINC_EL0. If PMSWINC_EL0 is not implemented, then accesses to this location are RES0.
Accesses to this register use the following encodings:
Accessible at offset 0xCA0 from PMU
- When DoubleLockStatus(), or !IsCorePowered(), or !AllowExternalPMUAccess(addrdesc), accesses to this register generate an error response.
- When (FEAT_PMUv3_EXTPMN is not implemented, or !IsMostSecureAccess(addrdesc), or PMCCR().OSLO == '0') and OSLockStatus(), accesses to this register generate an error response.
- When SoftwareLockStatus(addrdesc), accesses to this register are WI.
- Otherwise, accesses to this register are WO.