Archived Arm source pages for the PMU register pages. Part 2 of 7. This part covers PMCEID2 through PMCNTENCLR_EL0.
PMCEID2
Performance Monitors Common Event Identification register 2
Defines which Common architectural events and Common microarchitectural events are implemented, or counted, using PMU events in the range 0x4000 to 0x401F.
For more information about the Common events and the use of the PMCEIDn registers, see 'The PMU event number space and common events'.
Use of this register is deprecated.
Configuration
External register PMCEID2 bits [31:0] are architecturally mapped to AArch64 System register PMCEID0_EL0[63:32].
External register PMCEID2 bits [31:0] are architecturally mapped to AArch32 System register PMCEID2[31:0].
This register is present only when FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p1 is implemented. Otherwise, direct accesses to PMCEID2 are RES0.
PMCEID2 is in the Core power domain.
Attributes
PMCEID2 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IDhi31 | IDhi30 | IDhi29 | IDhi28 | IDhi27 | IDhi26 | IDhi25 | IDhi24 | IDhi23 | IDhi22 | IDhi21 | IDhi20 | IDhi19 | IDhi18 | IDhi17 | IDhi16 | IDhi15 | IDhi14 | IDhi13 | IDhi12 | IDhi11 | IDhi10 | IDhi9 | IDhi8 | IDhi7 | IDhi6 | IDhi5 | IDhi4 | IDhi3 | IDhi2 | IDhi1 | IDhi0 |
IDhi<n>, bit [n], for n = 31 to 0:
IDhi[n] corresponds to Common event (0x4000 + n).
For each bit:
| IDhi<n> | Meaning |
|---|---|
| 0b0 | The Common event is not implemented, or not counted. |
| 0b1 | The Common event is implemented. |
When the value of a bit in the field is 1, the corresponding Common event is implemented and counted.
Arm recommends that if a Common event is never counted, the value of the corresponding bit is 0.
A bit that corresponds to a reserved event number is reserved. The value might be used in a future revision of the architecture to identify an additional Common event.
Such an event might be added retrospectively to an earlier version of the PMU architecture, provided the event does not require any additional PMU features and has an event number that can be represented in the PMCEID<n> registers of that earlier version of the PMU architecture.
Access Instructions
AllowExternalPMUAccess() has a new definition from Armv8.4. Refer to the Pseudocode definitions for more information.
Accesses to this register use the following encodings:
Accessible at offset 0xE28 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.
- Otherwise, accesses to this register are RO.
PMCEID3
Performance Monitors Common Event Identification register 3
Defines which Common architectural events and Common microarchitectural events are implemented, or counted, using PMU events in the range 0x4020 to 0x403F.
For more information about the Common events and the use of the PMCEIDn registers, see 'The PMU event number space and common events'.
Use of this register is deprecated.
Configuration
External register PMCEID3 bits [31:0] are architecturally mapped to AArch64 System register PMCEID1_EL0[63:32].
External register PMCEID3 bits [31:0] are architecturally mapped to AArch32 System register PMCEID3[31:0].
This register is present only when FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p1 is implemented. Otherwise, direct accesses to PMCEID3 are RES0.
PMCEID3 is in the Core power domain.
Attributes
PMCEID3 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IDhi31 | IDhi30 | IDhi29 | IDhi28 | IDhi27 | IDhi26 | IDhi25 | IDhi24 | IDhi23 | IDhi22 | IDhi21 | IDhi20 | IDhi19 | IDhi18 | IDhi17 | IDhi16 | IDhi15 | IDhi14 | IDhi13 | IDhi12 | IDhi11 | IDhi10 | IDhi9 | IDhi8 | IDhi7 | IDhi6 | IDhi5 | IDhi4 | IDhi3 | IDhi2 | IDhi1 | IDhi0 |
IDhi<n>, bit [n], for n = 31 to 0:
IDhi[n] corresponds to Common event (0x4020 + n).
For each bit:
| IDhi<n> | Meaning |
|---|---|
| 0b0 | The Common event is not implemented, or not counted. |
| 0b1 | The Common event is implemented. |
When the value of a bit in the field is 1, the corresponding Common event is implemented and counted.
Arm recommends that if a Common event is never counted, the value of the corresponding bit is 0.
A bit that corresponds to a reserved event number is reserved. The value might be used in a future revision of the architecture to identify an additional Common event.
Such an event might be added retrospectively to an earlier version of the PMU architecture, provided the event does not require any additional PMU features and has an event number that can be represented in the PMCEID<n> registers of that earlier version of the PMU architecture.
Access Instructions
AllowExternalPMUAccess() has a new definition from Armv8.4. Refer to the Pseudocode definitions for more information.
Accesses to this register use the following encodings:
Accessible at offset 0xE2C 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.
- Otherwise, accesses to this register are RO.
PMCFGR
Performance Monitors Configuration Register
Contains PMU-specific configuration data.
Configuration
This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMCFGR are RES0.
PMCFGR is in the Core power domain.
Attributes
PMCFGR is a:
- 64-bit register when FEAT_PMUv3_EXT64 is implemented
- 32-bit register otherwise This register is part of the PMU block.
Field descriptions
When FEAT_PMUv3_EXT64 is implemented:
| 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 | |||||||||||||||||||||||||||||||
| NCG | RES0 | SS | FZO | RES0 | UEN | WT | NA | EX | CCD | CC | SIZE | N |
Bits [63:32]:
Reserved, RES0.
NCG, bits [31:28]:
Defines the number of counter groups implemented, minus one.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| NCG | Meaning |
|---|---|
| 0b0000 | One counter group implemented. |
| 0b0001 | Two counter groups implemented. |
All other values are reserved.
FEAT_PMUv3_ICNTR implements the functionality identified by the value 0b0001.
Access to this field is RO.
Bits [27:23]:
Reserved, RES0.
SS, bit [22]:
Snapshot supported.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| SS | Meaning |
|---|---|
| 0b0 | Snapshot mechanism not supported. The locations 0x600-0x7FC and 0xE30-0xE3C are IMPLEMENTATION DEFINED. |
| 0b1 | Snapshot mechanism supported. If FEAT_PMUv3_SS is implemented, then the following registers are implemented: PMEVCNTSVR<n>_EL1. PMCCNTSVR_EL1. If FEAT_PMUv3_ICNTR is implemented, PMICNTSVR_EL1. PMSSCR_EL1. Otherwise, locations 0x600-0x7FC and 0xE30-0xE3C contain IMPLEMENTATION DEFINED snapshot registers. |
FEAT_PMUv3_SS implements the functionality identified by the value 1.
If FEAT_PMUv3_SS is not implemented, a PMU might include an IMPLEMENTATION DEFINED snapshot mechanism, including one using the IMPLEMENTATION DEFINED registers 0x600-0x7FC and 0xE30-0xE3C.
Access to this field is RO.
FZO, bit [21]:
Freeze-on-overflow supported.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| FZO | Meaning |
|---|---|
| 0b0 | Freeze-on-overflow mechanism is not supported. PMCR_EL0.FZO is RES0. |
| 0b1 | Freeze-on-overflow mechanism is supported. PMCR_EL0.FZO is RW. |
FEAT_PMUv3p7 implements the functionality added by the value 1.
From Armv8.7, if FEAT_PMUv3 is implemented, the only permitted value is 1.
Access to this field is RO.
Bit [20]:
Reserved, RES0.
UEN, bit [19]:
User-mode Enable Register supported. PMUSERENR_EL0 is not visible in the external debug interface, so this bit is RAZ.
Reads as 0b0.
Access to this field is RO.
WT, bit [18]:
This feature is not supported, so this bit is RAZ.
Reads as 0b0.
Access to this field is RO.
NA, bit [17]:
This feature is not supported, so this bit is RAZ.
Reads as 0b0.
Access to this field is RO.
EX, bit [16]:
Export supported.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| EX | Meaning |
|---|---|
| 0b0 | PMCR_EL0.X is RES0. |
| 0b1 | PMCR_EL0.X is read/write. |
Access to this field is RO.
CCD, bit [15]:
Cycle counter has prescale.
This is RES1 if AArch32 is supported, and RAZ otherwise.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| CCD | Meaning |
|---|---|
| 0b0 | PMCR_EL0.D is RES0. |
| 0b1 | PMCR_EL0.D is read/write. |
Access to this field is RO.
CC, bit [14]:
Dedicated cycle counter (counter 31) supported.
Reads as 0b1.
Access to this field is RO.
SIZE, bits [13:8]:
Size of counters, minus one. This field defines the size of the largest counter implemented by the Performance Monitors Unit.
From Armv8.0, the largest counter is 64-bits, so the value of this field is 0b111111.
This field is used by software to determine the spacing of the counters in the memory-map. From Armv8.0, the counters are a doubleword-aligned addresses.
Reads as 0b111111.
Access to this field is RO.
N, bits [7:0]:
Number of counters accessible, minus one.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| N | Meaning |
|---|---|
| 0x00 | Only PMCCNTR_EL0 accessible. |
| 0x01..0x20 | Number of counters accessible, 2 to 33, minus one. |
All other values are reserved.
If FEAT_PMUv3_ICNTR is implemented, then the value 0x00 is not permitted.
The count includes:
-
The cycle counter, PMCCNTR_EL0.
-
If FEAT_PMUv3_ICNTR is implemented, the Instruction Counter, PMICNTR_EL0. When FEAT_PMUv3_EXTPMN is implemented and the access to this register is not a Most secure access, the following apply:
-
If FEAT_PMUv3_ICNTR is not implemented, this field reads as the Effective value of PMCCR.EPMN.
-
If FEAT_PMUv3_ICNTR is implemented, this field reads as the Effective value of PMCCR.EPMN plus one. Otherwise, the following apply:
-
If FEAT_PMUv3_ICNTR is not implemented, this field reads as the number of event counters implemented.
-
If FEAT_PMUv3_ICNTR is implemented, this field reads as the number of event counters implemented plus one. For example, if PMCFGR.N == 0x07, then:
-
There are eight counters in total.
-
If FEAT_PMUv3_ICNTR is not implemented, this comprises 7 event counters and the cycle counter.
-
If FEAT_PMUv3_ICNTR is implemented, this comprises 6 event counters, the cycle counter, and the instruction counter. The maximum number of event counters is 31.
Access to this field is RO.
Otherwise:
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NCG | RES0 | SS | FZO | RES0 | UEN | WT | NA | EX | CCD | CC | SIZE | N |
NCG, bits [31:28]:
Defines the number of counter groups implemented, minus one.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| NCG | Meaning |
|---|---|
| 0b0000 | One counter group implemented. |
| 0b0001 | Two counter groups implemented. |
All other values are reserved.
FEAT_PMUv3_ICNTR implements the functionality identified by the value 0b0001.
Access to this field is RO.
Bits [27:23]:
Reserved, RES0.
SS, bit [22]:
Snapshot supported.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| SS | Meaning |
|---|---|
| 0b0 | Snapshot mechanism not supported. The locations 0x600-0x7FC and 0xE30-0xE3C are IMPLEMENTATION DEFINED. |
| 0b1 | Snapshot mechanism supported. If FEAT_PMUv3_SS is implemented, then the following registers are implemented: PMEVCNTSVR<n>_EL1. PMCCNTSVR_EL1. If FEAT_PMUv3_ICNTR is implemented, PMICNTSVR_EL1. PMSSCR_EL1. Otherwise, locations 0x600-0x7FC and 0xE30-0xE3C contain IMPLEMENTATION DEFINED snapshot registers. |
FEAT_PMUv3_SS implements the functionality identified by the value 1.
If FEAT_PMUv3_SS is not implemented, a PMU might include an IMPLEMENTATION DEFINED snapshot mechanism, including one using the IMPLEMENTATION DEFINED registers 0x600-0x7FC and 0xE30-0xE3C.
Access to this field is RO.
FZO, bit [21]:
Freeze-on-overflow supported.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| FZO | Meaning |
|---|---|
| 0b0 | Freeze-on-overflow mechanism is not supported. PMCR_EL0.FZO is RES0. |
| 0b1 | Freeze-on-overflow mechanism is supported. PMCR_EL0.FZO is RW. |
FEAT_PMUv3p7 implements the functionality added by the value 1.
From Armv8.7, if FEAT_PMUv3 is implemented, the only permitted value is 1.
Access to this field is RO.
Bit [20]:
Reserved, RES0.
UEN, bit [19]:
User-mode Enable Register supported. PMUSERENR_EL0 is not visible in the external debug interface, so this bit is RAZ.
Reads as 0b0.
Access to this field is RO.
WT, bit [18]:
This feature is not supported, so this bit is RAZ.
Reads as 0b0.
Access to this field is RO.
NA, bit [17]:
This feature is not supported, so this bit is RAZ.
Reads as 0b0.
Access to this field is RO.
EX, bit [16]:
Export supported.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| EX | Meaning |
|---|---|
| 0b0 | PMCR_EL0.X is RES0. |
| 0b1 | PMCR_EL0.X is read/write. |
Access to this field is RO.
CCD, bit [15]:
Cycle counter has prescale.
This is RES1 if AArch32 is supported, and RAZ otherwise.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| CCD | Meaning |
|---|---|
| 0b0 | PMCR_EL0.D is RES0. |
| 0b1 | PMCR_EL0.D is read/write. |
Access to this field is RO.
CC, bit [14]:
Dedicated cycle counter (counter 31) supported.
Reads as 0b1.
Access to this field is RO.
SIZE, bits [13:8]:
Size of counters, minus one. This field defines the size of the largest counter implemented by the Performance Monitors Unit.
From Armv8.0, the largest counter is 64-bits, so the value of this field is 0b111111.
This field is used by software to determine the spacing of the counters in the memory-map. From Armv8.0, the counters are a doubleword-aligned addresses.
Reads as 0b111111.
Access to this field is RO.
N, bits [7:0]:
Number of counters accessible, minus one.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| N | Meaning |
|---|---|
| 0x00 | Only PMCCNTR_EL0 accessible. |
| 0x01..0x20 | Number of counters accessible, 2 to 33, minus one. |
All other values are reserved.
If FEAT_PMUv3_ICNTR is implemented, then the value 0x00 is not permitted.
The count includes:
-
The cycle counter, PMCCNTR_EL0.
-
If FEAT_PMUv3_ICNTR is implemented, the Instruction Counter, PMICNTR_EL0. When FEAT_PMUv3_EXTPMN is implemented and the access to this register is not a Most secure access, the following apply:
-
If FEAT_PMUv3_ICNTR is not implemented, this field reads as the Effective value of PMCCR.EPMN.
-
If FEAT_PMUv3_ICNTR is implemented, this field reads as the Effective value of PMCCR.EPMN plus one. Otherwise, the following apply:
-
If FEAT_PMUv3_ICNTR is not implemented, this field reads as the number of event counters implemented.
-
If FEAT_PMUv3_ICNTR is implemented, this field reads as the number of event counters implemented plus one. For example, if PMCFGR.N == 0x07, then:
-
There are eight counters in total.
-
If FEAT_PMUv3_ICNTR is not implemented, this comprises 7 event counters and the cycle counter.
-
If FEAT_PMUv3_ICNTR is implemented, this comprises 6 event counters, the cycle counter, and the instruction counter. The maximum number of event counters is 31.
Access to this field is RO.
Access Instructions
AllowExternalPMUAccess() has a new definition from Armv8.4. Refer to the Pseudocode definitions for more information.
Accesses to this register use the following encodings:
When FEAT_PMUv3_EXT64 is implemented:
[63:0] Accessible at offset 0xE00 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.
- Otherwise, accesses to this register are RO.
When FEAT_PMUv3_EXT32 is implemented:
[31:0] Accessible at offset 0xE00 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.
- Otherwise, accesses to this register are RO.
PMCGCR0
Counter Group Configuration Register 0
Encodes the number of counters accessible.
Configuration
This register is present only when FEAT_PMUv3_ICNTR is implemented, FEAT_PMUv3_EXT is implemented, and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMCGCR0 are RES0.
PMCGCR0 is in the Core power domain.
Attributes
PMCGCR0 is a:
- 64-bit register when FEAT_PMUv3_EXT64 is implemented
- 32-bit register otherwise This register is part of the PMU block.
Field descriptions
When FEAT_PMUv3_EXT64 is implemented:
| 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 | |||||||||||||||||||||||||||||||
| RES0 | CG1NC | CG0NC |
Bits [63:16]:
Reserved, RES0.
CG1NC, bits [15:8]:
Number of counters in group 1, which comprises the instruction counter PMICNTR_EL0.
| CG1NC | Meaning |
|---|---|
| 0x01 | PMICNTR_EL0 implemented. |
Other values are reserved.
Access to this field is RO.
CG0NC, bits [7:0]:
Number of counters in group 0, which comprises the event counters PMEVCNTR<n>_EL0 and the cycle counter PMCCNTR_EL0.
When FEAT_PMUv3_EXTPMN is implemented and the external access to this register is not a Most secure access, this field reads as the Effective value of PMCCR.EPMN plus one.
Otherwise, this field reads as the number of event counters implemented plus one.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Otherwise:
| 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 | CG1NC | CG0NC |
Bits [31:16]:
Reserved, RES0.
CG1NC, bits [15:8]:
Number of counters in group 1, which comprises the instruction counter PMICNTR_EL0.
| CG1NC | Meaning |
|---|---|
| 0x01 | PMICNTR_EL0 implemented. |
Other values are reserved.
Access to this field is RO.
CG0NC, bits [7:0]:
Number of counters in group 0, which comprises the event counters PMEVCNTR<n>_EL0 and the cycle counter PMCCNTR_EL0.
When FEAT_PMUv3_EXTPMN is implemented and the external access to this register is not a Most secure access, this field reads as the Effective value of PMCCR.EPMN plus one.
Otherwise, this field reads as the number of event counters implemented plus one.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Access Instructions
Accesses to this register use the following encodings:
When FEAT_PMUv3_EXT32 is implemented:
[31:0] Accessible at offset 0xCE0 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.
- Otherwise, accesses to this register are RO.
When FEAT_PMUv3_EXT64 is implemented:
[63:0] Accessible at offset 0xCE0 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.
- Otherwise, accesses to this register are RO.
PMCID1SR
CONTEXTIDR_EL1 Sample Register
PC Sample-based Profiling Extension register that contains the sampled value of CONTEXTIDR_EL1, captured on reading PMPCSR[31:0].
Configuration
This register is present only when FEAT_PMUv3_EXT32 is implemented and FEAT_PCSRv8p2 is implemented.
PMCID1SR is in the Core power domain.
Attributes
PMCID1SR 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CONTEXTIDR_EL1 |
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_EXT64 are implemented, then the same content is present in the same locations, and can be accessed using PMCCIDSR[31:0] or PMCVIDSR[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.
Accessible at offset 0x228 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.
PMCID2SR
CONTEXTIDR_EL2 Sample Register
PC Sample-based Profiling Extension register that contains the sampled value of CONTEXTIDR_EL2, captured on reading PMPCSR[31:0].
Configuration
This register is present only when FEAT_PMUv3_EXT32 is implemented and FEAT_PCSRv8p2 is implemented.
PMCIDR2SR is in the Core power domain.
Attributes
PMCID2SR 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CONTEXTIDR_EL2 |
CONTEXTIDR_EL2, bits [31:0]:
Context ID. The value of CONTEXTIDR_EL2 that is associated with the most recent PMPCSR sample. When the most recent PMPCSR sample is generated:
-
If the PE is not executing at EL3, EL2 is using AArch64, and EL2 is enabled in the current Security state, then this field is set to the Context ID sampled from CONTEXTIDR_EL2.
-
Otherwise, this field is set to an UNKNOWN value. Because the value written to this field is an indirect read of CONTEXTIDR_EL2, it is CONSTRAINED UNPREDICTABLE whether this field is set to the original or new value if PMPCSR samples:
-
An instruction that writes to CONTEXTIDR_EL2.
-
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 PMCCIDSR[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 0x22C 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.
PMCIDR0
Performance Monitors Component Identification Register 0
Provides information to identify a Performance Monitor component.
For more information, see 'About the Component Identification scheme'.
Configuration
This register is present only when FEAT_PMUv3_EXT is implemented. Otherwise, direct accesses to PMCIDR0 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
PMCIDR0 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 | PRMBL_0 |
Bits [31:8]:
Reserved, RES0.
PRMBL_0, bits [7:0] when FEAT_PMU_PIDR is implemented:
Preamble.
Reads as 0x0D.
Access to this field is RO.
Otherwise:
Reserved, RAZ.
Access Instructions
Accesses to this register use the following encodings:
Accessible at offset 0xFF0 from PMU
- When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
PMCIDR1
Performance Monitors Component Identification Register 1
Provides information to identify a Performance Monitor component.
For more information, see 'About the Component Identification scheme'.
Configuration
This register is present only when FEAT_PMUv3_EXT is implemented. Otherwise, direct accesses to PMCIDR1 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
PMCIDR1 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 | CLASS | PRMBL_1 |
Bits [31:8]:
Reserved, RES0.
CLASS, bits [7:4] when FEAT_PMU_PIDR is implemented:
Component class.
| CLASS | Meaning |
|---|---|
| 0b1001 | CoreSight component. |
Other values are defined by the CoreSight Architecture.
This field reads as 0x9.
Access to this field is RO.
Otherwise:
Reserved, RAZ.
PRMBL_1, bits [3:0] when FEAT_PMU_PIDR is implemented:
Preamble.
Reads as 0b0000.
Access to this field is RO.
Otherwise:
Reserved, RAZ.
Access Instructions
Accesses to this register use the following encodings:
Accessible at offset 0xFF4 from PMU
- When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
PMCIDR2
Performance Monitors Component Identification Register 2
Provides information to identify a Performance Monitor component.
For more information, see 'About the Component Identification scheme'.
Configuration
This register is present only when FEAT_PMUv3_EXT is implemented. Otherwise, direct accesses to PMCIDR2 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
PMCIDR2 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 | PRMBL_2 |
Bits [31:8]:
Reserved, RES0.
PRMBL_2, bits [7:0] when FEAT_PMU_PIDR is implemented:
Preamble.
Reads as 0x05.
Access to this field is RO.
Otherwise:
Reserved, RAZ.
Access Instructions
Accesses to this register use the following encodings:
Accessible at offset 0xFF8 from PMU
- When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
PMCIDR3
Performance Monitors Component Identification Register 3
Provides information to identify a Performance Monitor component.
For more information, see 'About the Component Identification scheme'.
Configuration
This register is present only when FEAT_PMUv3_EXT is implemented. Otherwise, direct accesses to PMCIDR3 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
PMCIDR3 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 | PRMBL_3 |
Bits [31:8]:
Reserved, RES0.
PRMBL_3, bits [7:0] when FEAT_PMU_PIDR is implemented:
Preamble.
Reads as 0xB1.
Access to this field is RO.
Otherwise:
Reserved, RAZ.
Access Instructions
Accesses to this register use the following encodings:
Accessible at offset 0xFFC from PMU
- When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
PMCNTEN
Performance Monitors Count Enable register
Enables the Cycle Count Register, PMCCNTR_EL0, and any implemented event counters PMEVCNTR<n>.
Configuration
External register PMCNTEN bits [63:0] are architecturally mapped to AArch64 System register PMCNTENSET_EL0[63:0].
External register PMCNTEN bits [63:0] are architecturally mapped to AArch64 System register PMCNTENCLR_EL0[63:0].
External register PMCNTEN bits [31:0] are architecturally mapped to AArch32 System register PMCNTENSET[31:0].
External register PMCNTEN bits [31:0] are architecturally mapped to AArch32 System register PMCNTENCLR[31:0].
This register is present only when FEAT_PMUv3_EXT64 is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMCNTEN are RES0.
Attributes
PMCNTEN 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:
PMICNTR_EL0 counter enable. Enables the instruction counter.
| 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'.
Otherwise:
Reserved, RES0.
C, bit [31]:
PMCCNTR_EL0 enable. Enables the cycle counter register. Possible values are:
| C | Meaning |
|---|---|
| 0b0 | PMCCNTR_EL0 is 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.
P<m>, bit [m], for m = 30 to 0:
Event counter enable for PMEVCNTR<m>_EL0.
| P<m> | Meaning |
|---|---|
| 0b0 | PMEVCNTR<m>_EL0 is disabled. |
| 0b1 | PMEVCNTR<m>_EL0 is 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:
- FEAT_PMUv3_EXTPMN is implemented.
- m >= UInt(EffectiveEPMN()).
- !IsMostSecureAccess(addrdesc).
-
Otherwise, access to this field is RW.
Access Instructions
Accesses to this register use the following encodings:
Accessible at offset 0xC10 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.
- Otherwise, accesses to this register are RW.
PMCNTENCLR_EL0
Performance Monitors Count Enable Clear Register
Allows software to disable the following counters:
- The cycle counter PMCCNTR_EL0.
- The event counters PMEVCNTR<n>_EL0.
- When FEAT_PMUv3_ICNTR is implemented, the instruction counter PMICNTR_EL0. Reading from this register shows which counters are enabled.
Configuration
External register PMCNTENCLR_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 PMCNTENCLR_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 PMCNTENCLR_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 PMCNTENCLR_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 PMCNTENCLR_EL0 bits [31:0] are architecturally mapped to AArch32 System register PMCNTENCLR[31:0].
External register PMCNTENCLR_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 PMCNTENCLR_EL0 are RES0.
PMCNTENCLR_EL0 is in the Core power domain.
Attributes
PMCNTENCLR_EL0 is a:
- 64-bit register when FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3p9 is implemented, or FEAT_PMUv3_ICNTR is implemented
- 32-bit register otherwise This register is part of the PMU block.
Field descriptions
When FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3p9 is implemented, or FEAT_PMUv3_ICNTR is implemented:
| 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:
PMICNTR_EL0 disable. On writes, allows software to disable 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 W1C.
Otherwise:
Reserved, RES0.
C, bit [31]:
PMCCNTR_EL0 disable. On writes, allows software to disable 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 W1C.
P<m>, bit [m], for m = 30 to 0:
PMEVCNTR<m>_EL0 disable. On writes, allows software to disable 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:
- FEAT_PMUv3_EXTPMN is implemented.
- m >= UInt(EffectiveEPMN()).
- !IsMostSecureAccess(addrdesc).
-
When SoftwareLockStatus(addrdesc), access to this field is RO.
-
Otherwise, access to this field is W1C.
Otherwise:
| 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 |
C, bit [31]:
PMCCNTR_EL0 disable. On writes, allows software to disable 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 W1C.
P<m>, bit [m], for m = 30 to 0:
PMEVCNTR<m>_EL0 disable. On writes, allows software to disable 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:
- FEAT_PMUv3_EXTPMN is implemented.
- m >= UInt(EffectiveEPMN()).
- !IsMostSecureAccess(addrdesc).
-
When SoftwareLockStatus(addrdesc), access to this field is RO.
-
Otherwise, access to this field is W1C.
Access Instructions
Accesses to this register use the following encodings:
When FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3_ICNTR is implemented, or FEAT_PMUv3p9 is implemented:
[63:0] Accessible at offset 0xC20 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 FEAT_PMUv3_EXT32 is implemented and SoftwareLockStatus(addrdesc), accesses to this register are RO.
- Otherwise, accesses to this register are RW.
When FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3_ICNTR is not implemented, and FEAT_PMUv3p9 is not implemented:
[31:0] Accessible at offset 0xC20 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 RO.
- Otherwise, accesses to this register are RW.