[Writeup] PMU register pages: part 1 of 7 ========================================= Section: Silicon & Architectures Started: 2026-11-28 17:40 UTC by admin Replies: 0, last post 2026-11-28 17:40 UTC Page: 1 of 1 Web: https://romdump.net/t/82 ------------------------------------------------------------------------------ #102 admin, 2026-11-28 17:40 UTC [OP] Source: https://romdump.net/raw/102 Archived Arm source pages for the PMU register pages. Part 1 of 7. This part covers PMU through PMCEID1. PMU Attributes PMU is a block of size: 4096 bytes Contents Offset | Name | Accessor condition | Register condition | Most permissive access 0x000 + (8 * n) for n in 30:0 | PMEVCNTR_EL0 | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0x000 + (8 * n) for n in 30:0 | PMEVCNTR_EL0 | When FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p5 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0x000 + (8 * n) for n in 30:0 | PMEVCNTR_EL0 | When FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p5 is not implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0x0F8 | PMCCNTR_EL0 | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0x0F8 | PMCCNTR_EL0 | When FEAT_PMUv3_EXT32 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0x100 | PMICNTR_EL0 | When FEAT_PMUv3_ICNTR is implemented | When FEAT_PMUv3_ICNTR is implemented and FEAT_PMUv3_EXT is implemented | RW 0x200 | PMPCSR[63:0] | When FEAT_PMUv3_EXT is implemented and FEAT_PCSRv8p2 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PCSRv8p2 is implemented | RO 0x208 | PMVCIDSR | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT64 is implemented and FEAT_PCSRv8p2 is implemented | RO 0x208 | PMCID1SR | When FEAT_PMUv3_EXT32 is implemented and FEAT_PCSRv8p2 is implemented | When FEAT_PMUv3_EXT32 is implemented and FEAT_PCSRv8p2 is implemented | RO 0x20C | PMVIDSR | When FEAT_PMUv3_EXT32 is implemented and FEAT_PCSRv8p2 is implemented | When FEAT_PMUv3_EXT32 is implemented, FEAT_PCSRv8p2 is implemented, and EL2 is implemented | RO 0x220 | PMPCSR[63:0] | When FEAT_PMUv3_EXT is implemented and FEAT_PCSRv8p2 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PCSRv8p2 is implemented | RO 0x228 | PMCCIDSR | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT64 is implemented and FEAT_PCSRv8p2 is implemented | RO 0x228 | PMCID1SR | When FEAT_PMUv3_EXT32 is implemented and FEAT_PCSRv8p2 is implemented | When FEAT_PMUv3_EXT32 is implemented and FEAT_PCSRv8p2 is implemented | RO 0x22C | PMCID2SR | When FEAT_PMUv3_EXT32 is implemented and FEAT_PCSRv8p2 is implemented | When FEAT_PMUv3_EXT32 is implemented and FEAT_PCSRv8p2 is implemented | RO 0x400 + (8 * n) for n in 30:0 | PMEVTYPER_EL0[63:0] | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0x400 + (4 * n) for n in 30:0 | PMEVTYPER_EL0[31:0] | When FEAT_PMUv3_EXT32 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0x47C | PMCCFILTR_EL0[31:0] | When FEAT_PMUv3_EXT32 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0x480 | PMICFILTR_EL0[31:0] | When FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3_ICNTR is implemented | When FEAT_PMUv3_ICNTR is implemented and FEAT_PMUv3_EXT is implemented | RW 0x4F8 | PMCCFILTR_EL0[63:0] | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0x500 | PMICFILTR_EL0[63:0] | When FEAT_PMUv3_EXT64 is implemented and FEAT_PMUv3_ICNTR is implemented | When FEAT_PMUv3_ICNTR is implemented and FEAT_PMUv3_EXT is implemented | RW 0x600 + (8 * n) for n in 30:0 | PMEVCNTSVR_EL1 | When FEAT_PMUv3_SS is implemented | When FEAT_PMUv3_SS is implemented and FEAT_PMUv3_EXT is implemented | RO 0x6F8 | PMCCNTSVR_EL1 | When FEAT_PMUv3_SS is implemented | When FEAT_PMUv3_SS is implemented and FEAT_PMUv3_EXT is implemented | RO 0x700 | PMICNTSVR_EL1 | When FEAT_PMUv3_SS is implemented and FEAT_PMUv3_ICNTR is implemented | When FEAT_PMUv3_ICNTR is implemented, FEAT_PMUv3_SS is implemented, and FEAT_PMUv3_EXT is implemented | RO 0x800 + (4 * n) for n in 63:0 | PMEVFILT2R[31:0] | When FEAT_PMUv3_EXT32 is implemented | When FEAT_PMUv3_EXT is implemented, FEAT_PMUv3 is implemented, and an implementation implements PMEVFILT2R | RW 0x800 + (8 * n) for n in 63:0 | PMEVFILT2R[63:0] | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT is implemented, FEAT_PMUv3 is implemented, and an implementation implements PMEVFILT2R | RW 0xA00 + (4 * n) for n in 30:0 | PMEVTYPER_EL0[63:32] | When FEAT_PMUv3_EXT32 is implemented and (FEAT_PMUv3_TH is implemented, or FEAT_PMUv3p8 is implemented, or FEAT_PMUv3_SME is implemented) | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xA7C | PMCCFILTR_EL0[63:32] | When FEAT_PMUv3_EXT32 is implemented and (FEAT_PMUv3_TH is implemented, or FEAT_PMUv3p8 is implemented, or FEAT_PMUv3_SME is implemented) | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xA80 | PMICFILTR_EL0[63:32] | When FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3_ICNTR is implemented | When FEAT_PMUv3_ICNTR is implemented and FEAT_PMUv3_EXT is implemented | RW 0xC00 | PMCNTENSET_EL0 | When FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3_ICNTR is implemented, or FEAT_PMUv3p9 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xC00 | PMCNTENSET_EL0 | When FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3_ICNTR is not implemented, and FEAT_PMUv3p9 is not implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xC10 | PMCNTEN | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT64 is implemented and FEAT_PMUv3 is implemented | RW 0xC20 | PMCNTENCLR_EL0 | When FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3_ICNTR is implemented, or FEAT_PMUv3p9 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xC20 | PMCNTENCLR_EL0 | When FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3_ICNTR is not implemented, and FEAT_PMUv3p9 is not implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xC40 | PMINTENSET_EL1 | When FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3_ICNTR is implemented, or FEAT_PMUv3p9 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xC40 | PMINTENSET_EL1 | When FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3_ICNTR is not implemented, and FEAT_PMUv3p9 is not implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xC50 | PMINTEN | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT64 is implemented and FEAT_PMUv3 is implemented | RW 0xC60 | PMINTENCLR_EL1 | When FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3_ICNTR is implemented, or FEAT_PMUv3p9 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xC60 | PMINTENCLR_EL1 | When FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3_ICNTR is not implemented, and FEAT_PMUv3p9 is not implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xC80 | PMOVSCLR_EL0 | When FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3_ICNTR is implemented, or FEAT_PMUv3p9 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xC80 | PMOVSCLR_EL0 | When FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3_ICNTR is not implemented, and FEAT_PMUv3p9 is not implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xC90 | PMOVS | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT64 is implemented and FEAT_PMUv3 is implemented | RW 0xCA0 | PMSWINC_EL0 | When FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p9 is not implemented | When FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3p9 is not implemented, and an implementation implements PMSWINC_EL0 | WO 0xCA0 | PMZR_EL0 | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3p9 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3p9 is implemented | WO 0xCC0 | PMOVSSET_EL0 | When FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3_ICNTR is implemented, or FEAT_PMUv3p9 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xCC0 | PMOVSSET_EL0 | When FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3_ICNTR is not implemented, and FEAT_PMUv3p9 is not implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xCE0 | PMCGCR0 | When FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3_ICNTR is implemented | When FEAT_PMUv3_ICNTR is implemented, FEAT_PMUv3_EXT is implemented, and FEAT_PMUv3 is implemented | RO 0xCE0 | PMCGCR0 | When FEAT_PMUv3_EXT64 is implemented and FEAT_PMUv3_ICNTR is implemented | When FEAT_PMUv3_ICNTR is implemented, FEAT_PMUv3_EXT is implemented, and FEAT_PMUv3 is implemented | RO 0xE00 | PMCFGR | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RO 0xE00 | PMCFGR | When FEAT_PMUv3_EXT32 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RO 0xE04 | PMCR_EL0 | When FEAT_PMUv3_EXT32 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xE08 | PMIIDR | When FEAT_PMUv3_EXT is implemented | When (FEAT_PMUv3_EXT32 is implemented and an implementation implements PMIIDR) or FEAT_PMUv3_EXT64 is implemented | RO 0xE10 | PMCR_EL0 | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RW 0xE20 | PMCEID0 | When FEAT_PMUv3_EXT32 is implemented | When FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3 is implemented | RO 0xE24 | PMCEID1 | When FEAT_PMUv3_EXT32 is implemented | When FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3 is implemented | RO 0xE28 | PMCEID2 | When FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p1 is implemented | When FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p1 is implemented | RO 0xE2C | PMCEID3 | When FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p1 is implemented | When FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p1 is implemented | RO 0xE30 | PMSSCR_EL1 | When FEAT_PMUv3_SS is implemented | When FEAT_PMUv3_SS is implemented and FEAT_PMUv3_EXT is implemented | RW 0xE40 | PMMIR | When FEAT_PMUv3p4 is implemented and (FEAT_PMUv3_EXT64 is implemented or FEAT_PMUv3p9 is implemented) | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3p4 is implemented | RO 0xE40 | PMMIR | When FEAT_PMUv3p4 is implemented, FEAT_PMUv3_EXT32 is implemented, and FEAT_PMUv3p9 is not implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3p4 is implemented | RO 0xE50 | PMPCSCTL | When FEAT_PCSRv8p9 is implemented | When FEAT_PCSRv8p9 is implemented and FEAT_PMUv3_EXT is implemented | RW 0xE58 | PMCCR | When FEAT_PMUv3_EXTPMN is implemented | When FEAT_PMUv3_EXTPMN is implemented | RW 0xF00 | PMITCTRL | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented, FEAT_PMUv3 is implemented, and an implementation implements PMITCTRL | RW 0xFA8 | PMDEVAFF | When FEAT_PMUv3_EXT64 is implemented | When FEAT_PMUv3_EXT64 is implemented | RO 0xFA8 | PMDEVAFF0 | When FEAT_PMUv3_EXT32 is implemented | When FEAT_PMUv3_EXT32 is implemented | RO 0xFAC | PMDEVAFF1 | When FEAT_PMUv3_EXT32 is implemented | When FEAT_PMUv3_EXT32 is implemented | RO 0xFB0 | PMLAR | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | WO 0xFB4 | PMLSR | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RO 0xFB8 | PMAUTHSTATUS | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented | RO 0xFBC | PMDEVARCH | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented | RO 0xFC8 | PMDEVID | When FEAT_PMUv3_EXT is implemented and (Armv8.2 or FEAT_PCSRv8p2 is implemented) | When (Armv8.2 or FEAT_PCSRv8p2 is implemented) and FEAT_PMUv3_EXT is implemented | RO 0xFCC | PMDEVTYPE | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented | RO 0xFD0 | PMPIDR4 | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented | RO 0xFD4 | PMPIDR5 | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented | RO 0xFD8 | PMPIDR6 | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented | RO 0xFDC | PMPIDR7 | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented | RO 0xFE0 | PMPIDR0 | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented | RO 0xFE4 | PMPIDR1 | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented | RO 0xFE8 | PMPIDR2 | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented | RO 0xFEC | PMPIDR3 | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented | RO 0xFF0 | PMCIDR0 | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented | RO 0xFF4 | PMCIDR1 | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented | RO 0xFF8 | PMCIDR2 | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented | RO 0xFFC | PMCIDR3 | When FEAT_PMUv3_EXT is implemented | When FEAT_PMUv3_EXT is implemented | RO Direct accesses to other offsets in this block are RES0. ---- PMAUTHSTATUS Performance Monitors Authentication Status register Provides information about the state of the IMPLEMENTATION DEFINED authentication interface for Performance Monitors. Configuration This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMAUTHSTATUS 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. This register is OPTIONAL, and is required for CoreSight compliance. Arm recommends that this register is implemented. Attributes PMAUTHSTATUS 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 | | | | RTNID | | RTID | | RES0 | | | | | | | | RLNID | | RLID | | RES0 | | | | SNID | | SID | | NSNID | | NSID | Bits [31:28]: Reserved, RES0. RTNID, bits [27:26]: Root non-invasive debug. This field has the same value as DBGAUTHSTATUS_EL1.RTNID. RTID, bits [25:24]: Root invasive debug. RTID | Meaning 0b00 | Not implemented. Bits [23:16]: Reserved, RES0. RLNID, bits [15:14]: Realm non-invasive debug. This field has the same value as DBGAUTHSTATUS_EL1.RLNID. RLID, bits [13:12]: Realm invasive debug. RLID | Meaning 0b00 | Not implemented. Bits [11:8]: Reserved, RES0. SNID, bits [7:6]: Holds the same value as DBGAUTHSTATUS_EL1.SNID. SID, bits [5:4]: Secure invasive debug. SID | Meaning 0b00 | Not implemented. All other values are reserved. Access to this field is RO. NSNID, bits [3:2]: Holds the same value as DBGAUTHSTATUS_EL1.NSNID. NSID, bits [1:0]: Non-secure invasive debug. NSID | Meaning 0b00 | Not implemented. All other values are reserved. Access to this field is RO. Access Instructions Accesses to this register use the following encodings: Accessible at offset 0xFB8 from PMU - When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response. - Otherwise, accesses to this register are RO. ---- PMCCFILTR_EL0 Performance Monitors Cycle Counter Filter Register Determines the modes in which the Cycle Counter, PMCCNTR_EL0, increments. Configuration External register PMCCFILTR_EL0 bits [31:0] are architecturally mapped to AArch64 System register PMCCFILTR_EL0[31:0] when FEAT_PMUv3_EXT32 is implemented. External register PMCCFILTR_EL0 bits [63:0] are architecturally mapped to AArch64 System register PMCCFILTR_EL0[63:0] when FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3_TH is implemented, or FEAT_PMUv3p8 is implemented. External register PMCCFILTR_EL0 bits [31:0] are architecturally mapped to AArch32 System register PMCCFILTR[31:0]. This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMCCFILTR_EL0 are RES0. PMCCFILTR_EL0 is in the Core power domain. Attributes PMCCFILTR_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 | | | | | | VS | | RES0 | | | | | | | | | | | | | | | | | | | | | | | P | U | NSK | NSU | NSH | M | RES0 | SH | RES0 | RLK | RLU | RLH | RES0 | | | | | | | | | | | | | | | | | | | Bits [63:58]: Reserved, RES0. VS, bits [57:56] when FEAT_PMUv3_SME is implemented: SVE mode filtering. Controls counting cycles in Streaming and Non-streaming SVE modes. VS | Meaning 0b00 | This mechanism has no effect on the filtering of cycles. 0b01 | The PE does not count cycles in Streaming SVE mode. 0b10 | The PE does not count cycles in Non-streaming SVE mode. All other values are reserved. 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. Otherwise: Reserved, RES0. Bits [55:32]: Reserved, RES0. P, bit [31]: EL1 filtering. Controls counting cycles in EL1. P | Meaning 0b0 | This mechanism has no effect on filtering of cycles. 0b1 | The PE does not count cycles in EL1. If Secure and Non-secure states are implemented, then counting cycles in Non-secure EL1 is further controlled by PMCCFILTR_EL0.NSK. If FEAT_RME is implemented, then counting cycles in Realm EL1 is further controlled by PMCCFILTR_EL0.RLK. If EL3 is implemented, then counting cycles at EL3 is further controlled by PMCCFILTR_EL0.M. 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_AA64 is not implemented, this field resets to '0'. - When FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. U, bit [30]: EL0 filtering. Controls counting cycles in EL0. U | Meaning 0b0 | This mechanism has no effect on filtering of cycles. 0b1 | The PE does not count cycles in EL0. If Secure and Non-secure states are implemented, then counting cycles in Non-secure EL0 is further controlled by PMCCFILTR_EL0.NSU. If FEAT_RME is implemented, then counting cycles in Realm EL0 is further controlled by PMCCFILTR_EL0.RLU. 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_AA64 is not implemented, this field resets to '0'. - When FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. NSK, bit [29] when EL3 is implemented: Non-secure EL1 filtering. Controls counting cycles in Non-secure EL1. If PMCCFILTR_EL0.NSK is not equal to PMCCFILTR_EL0.P, then the PE does not count cycles in Non-secure EL1. Otherwise, this mechanism has no effect on filtering of cycles in Non-secure EL1. NSK | Meaning 0b0 | When PMCCFILTR_EL0.P == 0, this mechanism has no effect on filtering of cycles. When PMCCFILTR_EL0.P == 1, the PE does not count cycles in Non-secure EL1. 0b1 | When PMCCFILTR_EL0.P == 0, the PE does not count cycles in Non-secure EL1. When PMCCFILTR_EL0.P == 1, this mechanism has no effect on filtering of cycles. 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_AA64 is not implemented, this field resets to '0'. - When FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Otherwise: Reserved, RES0. NSU, bit [28] when EL3 is implemented: Non-secure EL0 filtering. Controls counting cycles in Non-secure EL0. If PMCCFILTR_EL0.NSU is not equal to PMCCFILTR_EL0.U, then the PE does not count cycles in Non-secure EL0. Otherwise, this mechanism has no effect on filtering of cycles in Non-secure EL0. NSU | Meaning 0b0 | When PMCCFILTR_EL0.U == 0, this mechanism has no effect on filtering of cycles. When PMCCFILTR_EL0.U == 1, the PE does not count cycles in Non-secure EL0. 0b1 | When PMCCFILTR_EL0.U == 0, the PE does not count cycles in Non-secure EL0. When PMCCFILTR_EL0.U == 1, this mechanism has no effect on filtering of cycles. 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_AA64 is not implemented, this field resets to '0'. - When FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Otherwise: Reserved, RES0. NSH, bit [27] when EL2 is implemented: EL2 filtering. Controls counting cycles in EL2. NSH | Meaning 0b0 | The PE does not count cycles in EL2. 0b1 | This mechanism has no effect on filtering of cycles. If EL3 is implemented and FEAT_SEL2 is implemented, then counting cycles in Secure EL2 is further controlled by PMCCFILTR_EL0.SH. If FEAT_RME is implemented, then counting cycles in Realm EL2 is further controlled by PMCCFILTR_EL0.RLH. 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_AA64 is not implemented, this field resets to '0'. - When FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Otherwise: Reserved, RES0. M, bit [26] when EL3 is implemented and FEAT_AA64 is implemented: EL3 filtering. Controls counting cycles in EL3. If PMCCFILTR_EL0.M is not equal to PMCCFILTR_EL0.P, then the PE does not count cycles in EL3. Otherwise, this mechanism has no effect on filtering of cycles in EL3. M | Meaning 0b0 | When PMCCFILTR_EL0.P == 0, this mechanism has no effect on filtering of cycles. When PMCCFILTR_EL0.P == 1, the PE does not count cycles in EL3. 0b1 | When PMCCFILTR_EL0.P == 0, the PE does not count cycles in EL3. When PMCCFILTR_EL0.P == 1, this mechanism has no effect on filtering of cycles. 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. Otherwise: Reserved, RES0. Bit [25]: Reserved, RES0. SH, bit [24] when EL3 is implemented and FEAT_SEL2 is implemented: Secure EL2 filtering. Controls counting cycles in Secure EL2. If PMCCFILTR_EL0.SH is equal to PMCCFILTR_EL0.NSH, then the PE does not count cycles in Secure EL2. Otherwise, this mechanism has no effect on filtering of cycles in Secure EL2. SH | Meaning 0b0 | When PMCCFILTR_EL0.NSH == 0, the PE does not count cycles in Secure EL2. When PMCCFILTR_EL0.NSH == 1, this mechanism has no effect on filtering of cycles. 0b1 | When PMCCFILTR_EL0.NSH == 0, this mechanism has no effect on filtering of cycles. When PMCCFILTR_EL0.NSH == 1, the PE does not count cycles in Secure EL2. 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. When Secure EL2 is not implemented, access to this field is RES0 . Otherwise: Reserved, RES0. Bit [23]: Reserved, RES0. RLK, bit [22] when FEAT_RME is implemented: Realm EL1 filtering. Controls counting cycles in Realm EL1. If PMCCFILTR_EL0.RLK is not equal to PMCCFILTR_EL0.P, then the PE does not count cycles in Realm EL1. Otherwise, this mechanism has no effect on filtering of cycles in Realm EL1. RLK | Meaning 0b0 | When PMCCFILTR_EL0.P == 0, this mechanism has no effect on filtering of cycles. When PMCCFILTR_EL0.P == 1, the PE does not count cycles in Realm EL1. 0b1 | When PMCCFILTR_EL0.P == 0, the PE does not count cycles in Realm EL1. When PMCCFILTR_EL0.P == 1, this mechanism has no effect on filtering of cycles. 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. Otherwise: Reserved, RES0. RLU, bit [21] when FEAT_RME is implemented: Realm EL0 filtering. Controls counting cycles in Realm EL0. If PMCCFILTR_EL0.RLU is not equal to PMCCFILTR_EL0.U, then the PE does not count cycles in Realm EL0. Otherwise, this mechanism has no effect on filtering of cycles in Realm EL0. RLU | Meaning 0b0 | When PMCCFILTR_EL0.U == 0, this mechanism has no effect on filtering of cycles. When PMCCFILTR_EL0.U == 1, the PE does not count cycles in Realm EL0. 0b1 | When PMCCFILTR_EL0.U == 0, the PE does not count cycles in Realm EL0. When PMCCFILTR_EL0.U == 1, this mechanism has no effect on filtering of cycles. 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. Otherwise: Reserved, RES0. RLH, bit [20] when FEAT_RME is implemented: Realm EL2 filtering. Controls counting cycles in Realm EL2. If PMCCFILTR_EL0.RLH is equal to PMCCFILTR_EL0.NSH, then the PE does not count cycles in Realm EL2. Otherwise, this mechanism has no effect on filtering of cycles in Realm EL2. RLH | Meaning 0b0 | When PMCCFILTR_EL0.NSH == 0, the PE does not count cycles in Realm EL2. When PMCCFILTR_EL0.NSH == 1, this mechanism has no effect on filtering of cycles. 0b1 | When PMCCFILTR_EL0.NSH == 0, this mechanism has no effect on filtering of cycles. When PMCCFILTR_EL0.NSH == 1, the PE does not count cycles in Realm EL2. 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. Otherwise: Reserved, RES0. Bits [19:0]: Reserved, RES0. Access Instructions If FEAT_PMUv3_EXT32 is implemented, and any of the following apply, then bits [63:32] of this register are accessible at offset 0xA7C: - FEAT_PMUv3_TH is implemented. - FEAT_PMUv3p8 is implemented. - FEAT_PMUv3_SME is implemented. Otherwise accesses at this offset are IMPLEMENTATION DEFINED. Accesses to this register use the following encodings: When FEAT_PMUv3_EXT32 is implemented: [31:0] Accessible at offset 0x47C 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. When FEAT_PMUv3_EXT64 is implemented: [63:0] Accessible at offset 0x4F8 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. When FEAT_PMUv3_EXT32 is implemented and (FEAT_PMUv3_TH is implemented, or FEAT_PMUv3p8 is implemented, or FEAT_PMUv3_SME is implemented): [63:32] Accessible at offset 0xA7C 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. ---- PMCCIDSR CONTEXTIDR_ELx Sample Register PC Sample-based Profiling Extension register that contains the sampled value of CONTEXTIDR_EL1 and CONTEXTIDR_EL2, captured on reading PMPCSR. Configuration External register PMCCIDSR bits [31:0] are architecturally mapped to External register PMVCIDSR[31:0]. This register is present only when FEAT_PMUv3_EXT64 is implemented and FEAT_PCSRv8p2 is implemented. Attributes PMCCIDSR 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 CONTEXTIDR_EL2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CONTEXTIDR_EL1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CONTEXTIDR_EL2, bits [63:32]: 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. 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 PMCID2SR[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 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. ---- PMCCNTR_EL0 Performance Monitors Cycle Counter Holds the value of the processor Cycle Counter, CCNT, that counts processor clock cycles. For more information, see 'Time as measured by the Performance Monitors cycle counter'. PMCCFILTR_EL0 determines the modes and states in which the PMCCNTR_EL0 can increment. Configuration External register PMCCNTR_EL0 bits [63:0] are architecturally mapped to AArch64 System register PMCCNTR_EL0[63:0]. External register PMCCNTR_EL0 bits [63:0] are architecturally mapped to AArch32 System register PMCCNTR[63:0]. This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMCCNTR_EL0 are RES0. PMCCNTR_EL0 is in the Core power domain. Attributes PMCCNTR_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 CCNT | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CCNT | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CCNT, bits [63:0]: Cycle count. Depending on the values of PMCR_EL0.{LC,D}, the cycle count increments in one of the following ways: - Every processor clock cycle. - Every 64th processor clock cycle. Writing 1 to PMCR_EL0.C sets this field to 0. 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. Access Instructions Accesses to this register use the following encodings: When FEAT_PMUv3_EXT64 is implemented: [63:0] Accessible at offset 0x0F8 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. When FEAT_PMUv3_EXT32 is implemented: [63:0] Accessible at offset 0x0F8 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. ---- PMCCNTSVR_EL1 Performance Monitors Cycle Count Saved Value Register Captures the PMU Cycle counter, PMCCNTR_EL0. Configuration External register PMCCNTSVR_EL1 bits [63:0] are architecturally mapped to AArch64 System register PMCCNTSVR_EL1[63:0]. This register is present only when FEAT_PMUv3_SS is implemented and FEAT_PMUv3_EXT is implemented. Otherwise, direct accesses to PMCCNTSVR_EL1 are RES0. Attributes PMCCNTSVR_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 CCNT | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CCNT | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CCNT, bits [63:0]: Sampled Cycle Count. The value of PMCCNTR_EL0 at the last successful Capture event. 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. Access Instructions Accesses to this register use the following encodings: Accessible at offset 0x6F8 from PMU - When DoubleLockStatus(), or !IsCorePowered(), or !AllowExternalPMSSAccess(addrdesc), accesses to this register generate an error response. - Otherwise, accesses to this register are RO. ---- PMCCR PMU Configuration Control Register Contains PMU configuration controls. Configuration This register is present only when FEAT_PMUv3_EXTPMN is implemented. Otherwise, direct accesses to PMCCR are RES0. Attributes PMCCR 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 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RES0 | | | | | | | | | | | | | | | | | | | | | | | OSLO | EPME | RES0 | | EPMN | | | | Bits [63:9]: Reserved, RES0. OSLO, bit [8] when FEAT_PMUv3_EXTPMN is implemented: OS Lock Override. OSLO | Meaning 0b0 | No external access to any Performance Monitor register is affected by this control. 0b1 | For the purpose of determining the access permissions of Performance Monitor registers, an external access that is a Most secure access ignores OSLSR_EL1.OSLK. The reset behavior of this field is: - On a Cold reset, this field resets to '0'. Otherwise: Reserved, RES0. EPME, bit [7] when FEAT_PMUv3_EXTPMN is implemented: External Enable. EPME | 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 event counters in the third range. Other event counters, PMCCNTR_EL0, and, if FEAT_PMUv3_ICNTR is implemented, PMICNTR_EL0 are not affected by this field. If the Effective value of PMCCR.EPMN is equal to NUM_PMU_COUNTERS, then this field has no effect. The reset behavior of this field is: - On a Cold reset, this field resets to '0'. Otherwise: Reserved, RES0. Bits [6:5]: Reserved, RES0. EPMN, bits [4:0] when FEAT_PMUv3_EXTPMN is implemented: Defines the number of event counters PMEVCNTR_EL0 and, if FEAT_PMUv3_SS is implemented, snapshot registers PMEVCNTSVR_EL1, that are reserved for external use. PMCCR.EPMN divides the event counters into event counters that are accessible from self-hosted software, and which might be further divided into first and second ranges by MDCR_EL2.HPMN, and a third range that is inaccessible from self-hosted software. If PMCCR.EPMN is not 0 and is less than the number of PMU event counters implemented by the PE, NUM_PMU_COUNTERS, then event counters [0..(PMCCR.EPMN-1)] are in the first and second ranges, and event counters [PMCCR.EPMN..(NUM_PMU_COUNTERS-1)] are in the third range. If PMCCR.EPMN is equal to NUM_PMU_COUNTERS, or FEAT_PMUv3_EXTPMN is not implemented, then all of the following apply: - All counters are in the first and second ranges. - No counters are in the third range. If PMCCR.EPMN is zero, then all of the following apply: - No counters are in the first and second ranges. - All counters are in the third range. All the following apply for an event counter PMEVCNTR_EL0 in the third range: The counter is accessible to a Most secure access of PMEVCNTR_EL0. That is, an external access which is one of the following: - Root access, when FEAT_RME is implemented. - Secure access, when FEAT_RME is not implemented and Secure state is implemented. - Non-secure access, otherwise. - The counter is not accessible to other external accesses, or as the System register PMEVCNTR_EL0 at any Exception level. - The counter overflow flag PMOVSSET_EL0[n] is set on unsigned overflow of PMEVCNTR_EL0[63:0]. - PMCCR.EPME and PMCNTENSET_EL0 enable operation of the event counter. If FEAT_PMUv3_SS is implemented, then all of the following apply for an event counter snapshot register PMEVCNTSVR_EL1 in the third range: - The event counter snapshot register is accessible to a Most secure access of PMEVCNTSVR_EL1. - The event counter snapshot register is not accessible to other external accesses, or as the System register PMEVCNTSVR_EL1 at any Exception level. For information about counters in the first and second ranges, see the description of MDCR_EL2.HPMN. Values greater than NUM_PMU_COUNTERS are reserved. If this field is set to a reserved value, then the following CONSTRAINED UNPREDICTABLE behaviors apply: - The value returned by an external read of PMCCR.EPMN is UNKNOWN and less than or equal to 31. For the purpose of indirect reads of PMCCR.EPMN as a result of the following reads, the Effective value of PMCCR.EPMN is UNKNOWN and less than or equal to 31: - Direct reads of PMCR_EL0.N or PMCR.N. - Direct reads of MDCR_EL2.HPMN. - External reads of PMCFGR.N. - If FEAT_PMUv3_ICNTR is implemented, external reads of PMCGCR0.CG0NC. - For all other purposes the Effective value of PMCCR.EPMN is UNKNOWN and less than or equal to NUM_PMU_COUNTERS. If FEAT_PMUv3_EXTPMN is not implemented, then the Effective value of PMCCR.EPMN is NUM_PMU_COUNTERS. The reset behavior of this field is: - On a Cold reset, this field resets to the expression NUM_PMU_COUNTERS. Otherwise: Reserved, RES0. Access Instructions Accesses to this register use the following encodings: Accessible at offset 0xE58 from PMU - When DoubleLockStatus() or !IsCorePowered(), accesses to this register generate an error response. - When !IsMostSecureAccess(addrdesc), accesses to this register are RAZ/WI. - Otherwise, accesses to this register are RW. ---- PMCEID0 Performance Monitors Common Event Identification register 0 Defines which Common architectural events and Common microarchitectural events are implemented, or counted, using PMU events in the range 0x0000 to 0x001F. 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. This view of the register was previously called PMCEID0_EL0. Configuration External register PMCEID0 bits [31:0] are architecturally mapped to AArch64 System register PMCEID0_EL0[31:0]. External register PMCEID0 bits [31:0] are architecturally mapped to AArch32 System register PMCEID0[31:0]. This register is present only when FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMCEID0 are RES0. PMCEID0 is in the Core power domain. Attributes PMCEID0 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 ID31 | ID30 | ID29 | ID28 | ID27 | ID26 | ID25 | ID24 | ID23 | ID22 | ID21 | ID20 | ID19 | ID18 | ID17 | ID16 | ID15 | ID14 | ID13 | ID12 | ID11 | ID10 | ID9 | ID8 | ID7 | ID6 | ID5 | ID4 | ID3 | ID2 | ID1 | ID0 ID, bit [n], for n = 31 to 0: ID[n] corresponds to Common event n. For each bit: ID | 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 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 0xE20 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. ---- PMCEID1 Performance Monitors Common Event Identification register 1 Defines which Common architectural events and Common microarchitectural events are implemented, or counted, using PMU events in the range 0x020 to 0x03F. 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. This view of the register was previously called PMCEID1_EL0. Configuration External register PMCEID1 bits [31:0] are architecturally mapped to AArch64 System register PMCEID1_EL0[31:0]. External register PMCEID1 bits [31:0] are architecturally mapped to AArch32 System register PMCEID1[31:0]. This register is present only when FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMCEID1 are RES0. PMCEID1 is in the Core power domain. Attributes PMCEID1 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 ID31 | ID30 | ID29 | ID28 | ID27 | ID26 | ID25 | ID24 | ID23 | ID22 | ID21 | ID20 | ID19 | ID18 | ID17 | ID16 | ID15 | ID14 | ID13 | ID12 | ID11 | ID10 | ID9 | ID8 | ID7 | ID6 | ID5 | ID4 | ID3 | ID2 | ID1 | ID0 ID, bit [n], for n = 31 to 0: ID[n] corresponds to Common event (0x0020 + n). For each bit: ID | 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 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 0xE24 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. ------------------------------------------------------------------------------ Page 1 of 1. End of thread.