The PMCCR characteristics are:
Contains PMU configuration controls.
This register is present only when FEAT_PMUv3_EXTPMN is implemented. Otherwise, direct accesses to PMCCR are RES0.
PMCCR is a 64-bit register.
This register is part of the PMU block.
63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RES0 | |||||||||||||||||||||||||||||||
RES0 | OSLO | EPME | RES0 | EPMN |
Reserved, RES0.
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:
Reserved, RES0.
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:
Reserved, RES0.
Reserved, RES0.
Defines the number of event counters PMEVCNTR<n>_EL0 and, if FEAT_PMUv3_SS is implemented, snapshot registers PMEVCNTSVR<n>_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:
If PMCCR.EPMN is zero, then all of the following apply:
All the following apply for an event counter PMEVCNTR<n>_EL0 in the third range:
If FEAT_PMUv3_SS is implemented, then all of the following apply for an event counter snapshot register PMEVCNTSVR<n>_EL1 in the third range:
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:
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:
Reserved, RES0.
Accesses to this register use the following encodings:
Accessible at offset 0xE58 from PMU
15/12/2024 22:27; 5e0a212688c6bd7aee92394b6f5e491b4d0fee1d
Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.