Archived Arm source pages for the AMU register pages. Part 1 of 3. This part covers AMCFGR through AMCR.
AMCFGR
Activity Monitors Configuration Register
Global configuration register for the activity monitors.
Provides information on supported features, the number of counter groups implemented, the total number of activity monitor event counters implemented, and the size of the counters. AMCFGR is applicable to both the architected and the auxiliary counter groups.
Configuration
External register AMCFGR bits [31:0] are architecturally mapped to AArch64 System register AMCFGR_EL0[31:0] when FEAT_AMU_EXT32 is implemented.
External register AMCFGR bits [63:0] are architecturally mapped to AArch64 System register AMCFGR_EL0[63:0] when FEAT_AMU_EXT64 is implemented.
External register AMCFGR bits [31:0] are architecturally mapped to AArch32 System register AMCFGR[31:0].
It is IMPLEMENTATION DEFINED whether AMCFGR is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT is implemented. Otherwise, direct accesses to AMCFGR are RES0.
Attributes
AMCFGR is a:
- 64-bit register when FEAT_AMU_EXT64 is implemented
- 32-bit register otherwise This register is part of the AMU block.
Field descriptions
When FEAT_AMU_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 | HDBG | RAZ | 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.
Access to this field is RO.
Bits [27:25]:
Reserved, RES0.
HDBG, bit [24]:
Halt-on-debug supported.
This feature must be supported, and so this bit is 1.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| HDBG | Meaning |
|---|---|
| 0b0 | AMCR.HDBG is RES0. |
| 0b1 | AMCR.HDBG is read/write. |
Access to this field is RO.
Bits [23:14]:
Reserved, RAZ.
SIZE, bits [13:8]:
Defines the size of the activity monitor event counters, minus one.
The counters are 64-bit, 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. The counters are at doubleword-aligned addresses.
Reads as 0b111111.
Access to this field is RO.
N, bits [7:0]:
Defines the number of activity monitor event counters implemented in all groups.
If FEAT_AMUv1p1 is not implemented, the value of N is one less than the sum of AMCGCR.CG1NC and AMCGCR.CG0NC.
If FEAT_AMUv1p1 is implemented, then bits [15:0] of AMCG1IDR_EL0 define which auxiliary counters are implemented. The value of N is one less than the sum of AMCGCR.CG0NC and the number of auxiliary counters implemented.
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NCG | RES0 | HDBG | RAZ | 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.
Access to this field is RO.
Bits [27:25]:
Reserved, RES0.
HDBG, bit [24]:
Halt-on-debug supported.
This feature must be supported, and so this bit is 1.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| HDBG | Meaning |
|---|---|
| 0b0 | AMCR.HDBG is RES0. |
| 0b1 | AMCR.HDBG is read/write. |
Access to this field is RO.
Bits [23:14]:
Reserved, RAZ.
SIZE, bits [13:8]:
Defines the size of the activity monitor event counters, minus one.
The counters are 64-bit, 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. The counters are at doubleword-aligned addresses.
Reads as 0b111111.
Access to this field is RO.
N, bits [7:0]:
Defines the number of activity monitor event counters implemented in all groups.
If FEAT_AMUv1p1 is not implemented, the value of N is one less than the sum of AMCGCR.CG1NC and AMCGCR.CG0NC.
If FEAT_AMUv1p1 is implemented, then bits [15:0] of AMCG1IDR_EL0 define which auxiliary counters are implemented. The value of N is one less than the sum of AMCGCR.CG0NC and the number of auxiliary counters implemented.
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_AMU_EXT64 is implemented:
Accessible at offset 0xE00 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
When FEAT_AMU_EXT32 is implemented:
Accessible at offset 0xE00 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCGCR
Activity Monitors Counter Group Configuration Register
Provides information on the number of activity monitor event counters implemented within each counter group.
Configuration
External register AMCGCR bits [31:0] are architecturally mapped to AArch64 System register AMCGCR_EL0[31:0] when FEAT_AMU_EXT32 is implemented.
External register AMCGCR bits [63:0] are architecturally mapped to AArch64 System register AMCGCR_EL0[63:0] when FEAT_AMU_EXT64 is implemented.
External register AMCGCR bits [31:0] are architecturally mapped to AArch32 System register AMCGCR[31:0].
It is IMPLEMENTATION DEFINED whether AMCGCR is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT is implemented. Otherwise, direct accesses to AMCGCR are RES0.
Attributes
AMCGCR is a:
- 64-bit register when FEAT_AMU_EXT64 is implemented
- 32-bit register otherwise This register is part of the AMU block.
Field descriptions
When FEAT_AMU_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]:
Counter Group 1 Number of Counters. Highest index of the implemented counters in the auxiliary counter group, plus one. Zero indicates that there are no counters in the auxiliary counter group.
In an implementation that includes FEAT_AMUv1, the permitted range of values is 0 to 16.
If FEAT_AMUv1p1 is implemented, then AMCG1IDR_EL0 further defines which auxiliary counters are implemented, and the counters in the auxiliary counter group might be implemented non-contiguously.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
CG0NC, bits [7:0]:
Counter Group 0 Number of Counters. The number of counters in the architected counter group.
Reads as 0x04.
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]:
Counter Group 1 Number of Counters. Highest index of the implemented counters in the auxiliary counter group, plus one. Zero indicates that there are no counters in the auxiliary counter group.
In an implementation that includes FEAT_AMUv1, the permitted range of values is 0 to 16.
If FEAT_AMUv1p1 is implemented, then AMCG1IDR_EL0 further defines which auxiliary counters are implemented, and the counters in the auxiliary counter group might be implemented non-contiguously.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
CG0NC, bits [7:0]:
Counter Group 0 Number of Counters. The number of counters in the architected counter group.
Reads as 0x04.
Access to this field is RO.
Access Instructions
Accesses to this register use the following encodings:
When FEAT_AMU_EXT64 is implemented:
Accessible at offset 0xCE0 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
When FEAT_AMU_EXT32 is implemented:
Accessible at offset 0xCE0 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCIDR0
Activity Monitors Component Identification Register 0
Provides information to identify an activity monitors component.
For more information, see 'About the Component identification scheme'.
Configuration
It is IMPLEMENTATION DEFINED whether AMCIDR0 is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT is implemented. Otherwise, direct accesses to AMCIDR0 are RES0.
Attributes
AMCIDR0 is a 32-bit register.
This register is part of the AMU 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_AMU_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 AMU
- When ImpDefBool("AMU CoreSight management registers ignore access controls"), accesses to this register are RO.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCIDR1
Activity Monitors Component Identification Register 1
Provides information to identify an activity monitors component.
For more information, see 'About the Component identification scheme'.
Configuration
It is IMPLEMENTATION DEFINED whether AMCIDR1 is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT is implemented. Otherwise, direct accesses to AMCIDR1 are RES0.
Attributes
AMCIDR1 is a 32-bit register.
This register is part of the AMU 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_AMU_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_AMU_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 AMU
- When ImpDefBool("AMU CoreSight management registers ignore access controls"), accesses to this register are RO.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCIDR2
Activity Monitors Component Identification Register 2
Provides information to identify an activity monitors component.
For more information, see 'About the Component identification scheme'.
Configuration
It is IMPLEMENTATION DEFINED whether AMCIDR2 is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT is implemented. Otherwise, direct accesses to AMCIDR2 are RES0.
Attributes
AMCIDR2 is a 32-bit register.
This register is part of the AMU 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_AMU_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 AMU
- When ImpDefBool("AMU CoreSight management registers ignore access controls"), accesses to this register are RO.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCIDR3
Activity Monitors Component Identification Register 3
Provides information to identify an activity monitors component.
For more information, see 'About the Component identification scheme'.
Configuration
It is IMPLEMENTATION DEFINED whether AMCIDR3 is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT is implemented. Otherwise, direct accesses to AMCIDR3 are RES0.
Attributes
AMCIDR3 is a 32-bit register.
This register is part of the AMU 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_AMU_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 AMU
- When ImpDefBool("AMU CoreSight management registers ignore access controls"), accesses to this register are RO.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCNTEN
Activity Monitors Count Set and Clear Register
Control bits for the architected and auxiliary activity monitors event counters, AMEVCNTR0<n>. and AMEVCNTR1<n>.
Configuration
It is IMPLEMENTATION DEFINED whether AMCNTEN is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT64 is implemented. Otherwise, direct accesses to AMCNTEN are RES0.
Attributes
AMCNTEN is a 64-bit register.
This register is part of the AMU 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 | P115 | P114 | P113 | P112 | P111 | P110 | P19 | P18 | P17 | P16 | P15 | P14 | P13 | P12 | P11 | P10 | |||||||||||||||
| RES0 | RAZ/WI | P03 | P02 | P01 | P00 |
Bits [63:48]:
Reserved, RES0.
P1<n>, bit [n+32], for n = 15 to 0:
Activity monitor event counter control bit for AMEVCNTR1<n>.
Possible values of each bit are:
| P1<n> | Meaning |
|---|---|
| 0b0 | When read, means that AMEVCNTR1<n> is disabled. |
| 0b1 | When read, means that AMEVCNTR1<n> is enabled. |
The reset behavior of this field is:
- On an AMU reset, this field resets to the expression 0x00000000. When n >= UInt(AMU.AMCGCR.CG1NC), access to this field is RAZ/WI.
Bits [31:16]:
Reserved, RES0.
Bits [15:4]:
Reserved, RAZ/WI.
This field is reserved for additional architected activity monitor event counters, which Arm might define in a future version of the Activity Monitors architecture.
P0<n>, bit [n], for n = 3 to 0:
Activity monitor event counter control bit for AMEVCNTR0<n>.
AMCGCR.CG0NC identifies the number of architected activity monitor event counters. In an implementation that includes FEAT_AMUv1, the number of architected activity monitor event counters is 4.
Possible values of each bit are:
| P0<n> | Meaning |
|---|---|
| 0b0 | When read, means that AMEVCNTR0<n> is disabled. |
| 0b1 | When read, means that AMEVCNTR0<n> is enabled. |
The reset behavior of this field is:
- On an AMU reset, this field resets to the expression 0x00000000. When n >= 4, access to this field is RAZ/WI.
Access Instructions
If there are no auxiliary monitor event counters implemented, reads of AMCNTEN[63:32] are RAZ. Software must treat reserved accesses as RES0. See 'Access requirements for reserved and unallocated registers'.
There are no implemented auxiliary activity monitor event counters when AMCFGR.NCG == 0b0000.
Accesses to this register use the following encodings:
Accessible at offset 0xC10 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCNTENCLR
Activity Monitors Count Enable Clear Register
Disable control bits for the architected and auxiliary activity monitors event counters, AMEVCNTR0<n> and AMEVCNTR1<n>.
Configuration
External register AMCNTENCLR bits [31:0] are architecturally mapped to AArch64 System register AMCNTENCLR0_EL0[31:0].
External register AMCNTENCLR bits [63:32] are architecturally mapped to AArch64 System register AMCNTENCLR1_EL0[31:0].
It is IMPLEMENTATION DEFINED whether AMCNTENCLR is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT64 is implemented. Otherwise, direct accesses to AMCNTENCLR are RES0.
Attributes
AMCNTENCLR is a 64-bit register.
This register is part of the AMU 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 | P115 | P114 | P113 | P112 | P111 | P110 | P19 | P18 | P17 | P16 | P15 | P14 | P13 | P12 | P11 | P10 | |||||||||||||||
| RES0 | RAZ/WI | P03 | P02 | P01 | P00 |
Bits [63:48]:
Reserved, RES0.
P1<n>, bit [n+32], for n = 15 to 0:
Activity monitor event counter disable bit for AMEVCNTR1<n>.
Possible values of each bit are:
| P1<n> | Meaning |
|---|---|
| 0b0 | When read, means that AMEVCNTR1<n> is disabled. |
| 0b1 | When read, means that AMEVCNTR1<n> is enabled. |
The reset behavior of this field is:
- On an AMU reset, this field resets to the expression 0x00000000. When n >= UInt(AMU.AMCGCR.CG1NC), access to this field is RAZ/WI.
Bits [31:16]:
Reserved, RES0.
Bits [15:4]:
Reserved, RAZ/WI.
This field is reserved for additional architected activity monitor event counters, which Arm might define in a future version of the Activity Monitors architecture.
P0<n>, bit [n], for n = 3 to 0:
Activity monitor event counter disable bit for AMEVCNTR0<n>.
AMCGCR.CG0NC identifies the number of architected activity monitor event counters. In an implementation that includes FEAT_AMUv1, the number of architected activity monitor event counters is 4.
Possible values of each bit are:
| P0<n> | Meaning |
|---|---|
| 0b0 | When read, means that AMEVCNTR0<n> is disabled. |
| 0b1 | When read, means that AMEVCNTR0<n> is enabled. |
The reset behavior of this field is:
- On an AMU reset, this field resets to the expression 0x00000000. When n >= 4, access to this field is RAZ/WI.
Access Instructions
If there are no auxiliary monitor event counters implemented, reads of AMCNTENCLR[63:32] are RAZ. Software must treat reserved accesses as RES0. See 'Access requirements for reserved and unallocated registers'.
There are no implemented auxiliary activity monitor event counters when AMCFGR.NCG == 0b0000.
Accesses to this register use the following encodings:
Accessible at offset 0xC20 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCNTENCLR0
Activity Monitors Count Enable Clear Register 0
Disable control bits for the architected activity monitors event counters, AMEVCNTR0<n>.
Configuration
External register AMCNTENCLR0 bits [31:0] are architecturally mapped to AArch64 System register AMCNTENCLR0_EL0[31:0].
External register AMCNTENCLR0 bits [31:0] are architecturally mapped to AArch64 System register AMCNTENSET0_EL0[31:0].
External register AMCNTENCLR0 bits [31:0] are architecturally mapped to AArch32 System register AMCNTENCLR0[31:0].
External register AMCNTENCLR0 bits [31:0] are architecturally mapped to AArch32 System register AMCNTENSET0[31:0].
External register AMCNTENCLR0 bits [31:0] are architecturally mapped to External register AMCNTENSET0[31:0].
It is IMPLEMENTATION DEFINED whether AMCNTENCLR0 is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT32 is implemented. Otherwise, direct accesses to AMCNTENCLR0 are RES0.
Attributes
AMCNTENCLR0 is a 32-bit register.
This register is part of the AMU 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 | RAZ/WI | P3 | P2 | P1 | P0 |
Bits [31:16]:
Reserved, RES0.
Bits [15:4]:
Reserved, RAZ/WI.
This field is reserved for additional architected activity monitor event counters, which Arm might define in a future version of the Activity Monitors architecture.
P<n>, bit [n], for n = 3 to 0:
Activity monitor event counter disable bit for AMEVCNTR0<n>.
AMCGCR.CG0NC identifies the number of architected activity monitor event counters. In an implementation that includes FEAT_AMUv1, the number of architected activity monitor event counters is 4.
Possible values of each bit are:
| P<n> | Meaning |
|---|---|
| 0b0 | When read, means that AMEVCNTR0<n> is disabled. |
| 0b1 | When read, means that AMEVCNTR0<n> is enabled. |
The reset behavior of this field is:
- On an AMU reset, this field resets to the expression 0x00000000. When n >= 4, access to this field is RAZ/WI.
Access Instructions
Accesses to this register use the following encodings:
Accessible at offset 0xC20 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCNTENCLR1
Activity Monitors Count Enable Clear Register 1
Disable control bits for the auxiliary activity monitors event counters, AMEVCNTR1<n>.
Configuration
External register AMCNTENCLR1 bits [31:0] are architecturally mapped to AArch64 System register AMCNTENCLR1_EL0[31:0].
External register AMCNTENCLR1 bits [31:0] are architecturally mapped to AArch64 System register AMCNTENSET1_EL0[31:0].
External register AMCNTENCLR1 bits [31:0] are architecturally mapped to AArch32 System register AMCNTENCLR1[31:0].
External register AMCNTENCLR1 bits [31:0] are architecturally mapped to AArch32 System register AMCNTENSET1[31:0].
External register AMCNTENCLR1 bits [31:0] are architecturally mapped to External register AMCNTENSET1[31:0].
It is IMPLEMENTATION DEFINED whether AMCNTENCLR1 is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT is implemented. Otherwise, direct accesses to AMCNTENCLR1 are RES0.
Attributes
AMCNTENCLR1 is a 32-bit register.
This register is part of the AMU 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 | P15 | P14 | P13 | P12 | P11 | P10 | P9 | P8 | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |
Bits [31:16]:
Reserved, RES0.
P<n>, bit [n], for n = 15 to 0:
Activity monitor event counter disable bit for AMEVCNTR1<n>.
Possible values of each bit are:
| P<n> | Meaning |
|---|---|
| 0b0 | When read, means that AMEVCNTR1<n> is disabled. |
| 0b1 | When read, means that AMEVCNTR1<n> is enabled. |
The reset behavior of this field is:
-
On an AMU reset, this field resets to the expression 0x00000000. Accessing this field has the following behavior:
-
When n >= UInt(AMU.AMCGCR.CG1NC), access to this field is RAZ/WI.
-
When auxiliary activity monitor event counter <n> is not implemented, access to this field is RAZ/WI.
Access Instructions
If there are no auxiliary monitor event counters implemented, reads of AMCNTENCLR1 are RAZ. Software must treat reserved accesses as RES0. See 'Access requirements for reserved and unallocated registers'.
There are no implemented auxiliary activity monitor event counters when AMCFGR.NCG == 0b0000.
Accesses to this register use the following encodings:
When FEAT_AMU_EXT32 is implemented:
Accessible at offset 0xC24 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCNTENSET
Activity Monitors Count Enable Set Register
Enable control bits for the architected and auxiliary activity monitors event counters, AMEVCNTR0<n> and AMEVCNTR1<n>.
Configuration
External register AMCNTENSET bits [31:0] are architecturally mapped to AArch64 System register AMCNTENSET0_EL0[31:0].
External register AMCNTENSET bits [63:32] are architecturally mapped to AArch64 System register AMCNTENSET1_EL0[31:0].
It is IMPLEMENTATION DEFINED whether AMCNTENSET is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT64 is implemented. Otherwise, direct accesses to AMCNTENSET are RES0.
Attributes
AMCNTENSET is a 64-bit register.
This register is part of the AMU 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 | P115 | P114 | P113 | P112 | P111 | P110 | P19 | P18 | P17 | P16 | P15 | P14 | P13 | P12 | P11 | P10 | |||||||||||||||
| RES0 | RAZ/WI | P03 | P02 | P01 | P00 |
Bits [63:48]:
Reserved, RES0.
P1<n>, bit [n+32], for n = 15 to 0:
Activity monitor event counter enable bit for AMEVCNTR1<n>.
Possible values of each bit are:
| P1<n> | Meaning |
|---|---|
| 0b0 | When read, means that AMEVCNTR1<n> is disabled. |
| 0b1 | When read, means that AMEVCNTR1<n> is enabled. |
The reset behavior of this field is:
- On an AMU reset, this field resets to the expression 0x00000000. When n >= UInt(AMU.AMCGCR.CG1NC), access to this field is RAZ/WI.
Bits [31:16]:
Reserved, RES0.
Bits [15:4]:
Reserved, RAZ/WI.
This field is reserved for additional architected activity monitor event counters, which Arm might define in a future version of the Activity Monitors architecture.
P0<n>, bit [n], for n = 3 to 0:
Activity monitor event counter enable bit for AMEVCNTR0<n>.
AMCGCR.CG0NC identifies the number of architected activity monitor event counters. In an implementation that includes FEAT_AMUv1, the number of architected activity monitor event counters is 4.
Possible values of each bit are:
| P0<n> | Meaning |
|---|---|
| 0b0 | When read, means that AMEVCNTR0<n> is disabled. |
| 0b1 | When read, means that AMEVCNTR0<n> is enabled. |
The reset behavior of this field is:
- On an AMU reset, this field resets to the expression 0x00000000. When n >= 4, access to this field is RAZ/WI.
Access Instructions
If there are no auxiliary monitor event counters implemented, reads of AMCNTENSET[63:32] are RAZ. Software must treat reserved accesses as RES0. See 'Access requirements for reserved and unallocated registers'.
There are no implemented auxiliary activity monitor event counters when AMCFGR.NCG == 0b0000.
Accesses to this register use the following encodings:
Accessible at offset 0xC00 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCNTENSET0
Activity Monitors Count Enable Set Register 0
Enable control bits for the architected activity monitors event counters, AMEVCNTR0<n>.
Configuration
External register AMCNTENSET0 bits [31:0] are architecturally mapped to External register AMCNTENCLR0[31:0].
External register AMCNTENSET0 bits [31:0] are architecturally mapped to AArch64 System register AMCNTENCLR0_EL0[31:0].
External register AMCNTENSET0 bits [31:0] are architecturally mapped to AArch64 System register AMCNTENSET0_EL0[31:0].
External register AMCNTENSET0 bits [31:0] are architecturally mapped to AArch32 System register AMCNTENCLR0[31:0].
External register AMCNTENSET0 bits [31:0] are architecturally mapped to AArch32 System register AMCNTENSET0[31:0].
It is IMPLEMENTATION DEFINED whether AMCNTENSET0 is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT32 is implemented. Otherwise, direct accesses to AMCNTENSET0 are RES0.
Attributes
AMCNTENSET0 is a 32-bit register.
This register is part of the AMU 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 | RAZ/WI | P3 | P2 | P1 | P0 |
Bits [31:16]:
Reserved, RES0.
Bits [15:4]:
Reserved, RAZ/WI.
This field is reserved for additional architected activity monitor event counters, which Arm might define in a future version of the Activity Monitors architecture.
P<n>, bit [n], for n = 3 to 0:
Activity monitor event counter enable bit for AMEVCNTR0<n>.
AMCGCR.CG0NC identifies the number of architected activity monitor event counters. In an implementation that includes FEAT_AMUv1, the number of architected activity monitor event counters is 4.
Possible values of each bit are:
| P<n> | Meaning |
|---|---|
| 0b0 | When read, means that AMEVCNTR0<n> is disabled. |
| 0b1 | When read, means that AMEVCNTR0<n> is enabled. |
The reset behavior of this field is:
- On an AMU reset, this field resets to the expression 0x00000000. When n >= 4, access to this field is RAZ/WI.
Access Instructions
Accesses to this register use the following encodings:
Accessible at offset 0xC00 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCNTENSET1
Activity Monitors Count Enable Set Register 1
Enable control bits for the auxiliary activity monitors event counters, AMEVCNTR1<n>.
Configuration
External register AMCNTENSET1 bits [31:0] are architecturally mapped to External register AMCNTENCLR1[31:0].
External register AMCNTENSET1 bits [31:0] are architecturally mapped to AArch64 System register AMCNTENCLR1_EL0[31:0].
External register AMCNTENSET1 bits [31:0] are architecturally mapped to AArch64 System register AMCNTENSET1_EL0[31:0].
External register AMCNTENSET1 bits [31:0] are architecturally mapped to AArch32 System register AMCNTENCLR1[31:0].
External register AMCNTENSET1 bits [31:0] are architecturally mapped to AArch32 System register AMCNTENSET1[31:0].
It is IMPLEMENTATION DEFINED whether AMCNTENSET1 is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT32 is implemented. Otherwise, direct accesses to AMCNTENSET1 are RES0.
Attributes
AMCNTENSET1 is a 32-bit register.
This register is part of the AMU 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 | P15 | P14 | P13 | P12 | P11 | P10 | P9 | P8 | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |
Bits [31:16]:
Reserved, RES0.
P<n>, bit [n], for n = 15 to 0:
Activity monitor event counter enable bit for AMEVCNTR1<n>.
Possible values of each bit are:
| P<n> | Meaning |
|---|---|
| 0b0 | When read, means that AMEVCNTR1<n> is disabled. |
| 0b1 | When read, means that AMEVCNTR1<n> is enabled. |
The reset behavior of this field is:
-
On an AMU reset, this field resets to the expression 0x00000000. Accessing this field has the following behavior:
-
When n >= UInt(AMU.AMCGCR.CG1NC), access to this field is RAZ/WI.
-
When auxiliary activity monitor event counter <n> is not implemented, access to this field is RAZ/WI.
Access Instructions
If there are no auxiliary monitor event counters implemented, reads of AMCNTENSET1 are RAZ. Software must treat reserved accesses as RES0. See 'Access requirements for reserved and unallocated registers'.
There are no implemented auxiliary activity monitor event counters when AMCFGR.NCG == 0b0000.
Accesses to this register use the following encodings:
Accessible at offset 0xC04 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
AMCR
Activity Monitors Control Register
Global control register for the activity monitors implementation. AMCR is applicable to both the architected and the auxiliary counter groups.
Configuration
External register AMCR bits [31:0] are architecturally mapped to AArch64 System register AMCR_EL0[31:0] when FEAT_AMU_EXT32 is implemented.
External register AMCR bits [63:0] are architecturally mapped to AArch64 System register AMCR_EL0[63:0] when FEAT_AMU_EXT64 is implemented.
External register AMCR bits [31:0] are architecturally mapped to AArch32 System register AMCR[31:0].
It is IMPLEMENTATION DEFINED whether AMCR is implemented in the Core power domain or in the Debug power domain.
This register is present only when FEAT_AMUv1 is implemented and FEAT_AMU_EXT is implemented. Otherwise, direct accesses to AMCR are RES0.
Attributes
AMCR is a:
- 64-bit register when FEAT_AMU_EXT64 is implemented
- 32-bit register otherwise This register is part of the AMU block.
Field descriptions
When FEAT_AMU_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 | CG1RZ | RES0 | HDBG | RES0 |
Bits [63:18]:
Reserved, RES0.
CG1RZ, bit [17] when FEAT_AMUv1p1 is implemented:
Counter Group 1 Read Zero.
| CG1RZ | Meaning |
|---|---|
| 0b0 | System register reads of AMEVCNTR1<n> return the event count at all implemented and enabled Exception levels. |
| 0b1 | If the current Exception level is the highest implemented Exception level, System register reads of AMEVCNTR1<n> return the event count. Otherwise, reads of AMEVCNTR1<n> return a zero value. |
Reads from the memory-mapped view of AMEVCNTR1<n> are unaffected by this field.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [16:11]:
Reserved, RES0.
HDBG, bit [10]:
This bit controls whether activity monitor counting is halted when the PE is halted in Debug state.
| HDBG | Meaning |
|---|---|
| 0b0 | Activity monitors do not halt counting when the PE is halted in Debug state. |
| 0b1 | Activity monitors halt counting when the PE is halted in Debug state. |
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Bits [9:0]:
Reserved, RES0.
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 | CG1RZ | RES0 | HDBG | RES0 |
Bits [31:18]:
Reserved, RES0.
CG1RZ, bit [17] when FEAT_AMUv1p1 is implemented:
Counter Group 1 Read Zero.
| CG1RZ | Meaning |
|---|---|
| 0b0 | System register reads of AMEVCNTR1<n> return the event count at all implemented and enabled Exception levels. |
| 0b1 | If the current Exception level is the highest implemented Exception level, System register reads of AMEVCNTR1<n> return the event count. Otherwise, reads of AMEVCNTR1<n> return a zero value. |
Reads from the memory-mapped view of AMEVCNTR1<n> are unaffected by this field.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [16:11]:
Reserved, RES0.
HDBG, bit [10]:
This bit controls whether activity monitor counting is halted when the PE is halted in Debug state.
| HDBG | Meaning |
|---|---|
| 0b0 | Activity monitors do not halt counting when the PE is halted in Debug state. |
| 0b1 | Activity monitors halt counting when the PE is halted in Debug state. |
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Bits [9:0]:
Reserved, RES0.
Access Instructions
Accesses to this register use the following encodings:
When FEAT_AMU_EXT32 is implemented:
Accessible at offset 0xE04 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.
When FEAT_AMU_EXT64 is implemented:
Accessible at offset 0xE10 from AMU
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Secure, and AMROOTCR().RA IN {'001', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Realm, and AMROOTCR().RA IN {'010', '000'}, accesses to this register are RAZ/WI.
- When FEAT_RME is implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMROOTCR().RA != '011', accesses to this register are RAZ/WI.
- When FEAT_RME is not implemented, FEAT_AMU_EXTACR is implemented, an access is Non-secure, and AMSCR().NSRA == '0', accesses to this register are RAZ/WI.
- Otherwise, accesses to this register are RO.