PMCEID2, Performance Monitors Common Event Identification register 2
The PMCEID2 characteristics are:
Defines which common architectural events and common microarchitectural events are implemented, or counted, using PMU events in the range 0x4000 to 0x401F.
When the value of a bit in the register 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 register bit is 0.
For more information about the common events and the use of the PMCEIDn registers, see 'The PMU event number space and common events'.
External register PMCEID2 bits [31:0] are architecturally mapped to AArch64 System register PMCEID0_EL0[63:32] .
External register PMCEID2 bits [63:32] are architecturally mapped to AArch32 System register PMCEID2[31:0] .
PMCEID2 is in the Core power domain.
This register is present only when FEAT_PMUv3p1 is implemented. Otherwise, direct accesses to PMCEID2 are RES0.
PMCEID2 is a 32-bit register.
The PMCEID2 bit assignments are:
|IDhi<n>, bit [n], for n = 0 to 31|
IDhi<n>, bit [n], for n = 0 to 31
IDhi[n] corresponds to common event (0x4000 + n).
For each bit:
The common event is not implemented, or not counted.
The common event is implemented.
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.
Accessing the PMCEID2
AllowExternalPMUAccess() has a new definition from Armv8.4. Refer to the Pseudocode definitions for more information.
PMCEID2 can be accessed through the external debug interface:
This interface is accessible as follows:
- When IsCorePowered(), !DoubleLockStatus(), !OSLockStatus() and AllowExternalPMUAccess() accesses to this register are RO.
- Otherwise accesses to this register generate an error response.