(old) | htmldiff from- | (new) |
The PMMIR_EL1 characteristics are:
Describes Performance Monitors parameters specific to the implementation to software.
This register is present only when FEAT_PMUv3p4 is implemented. Otherwise, direct accesses to PMMIR_EL1 are UNDEFINED.
PMMIR_EL1 is a 64-bit register.
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 | THWIDTH | BUS_WIDTH | BUS_SLOTS | SLOTS |
Reserved, RES0.
PMEVTYPER<n>_EL0.TH width. Indicates implementation of the FEAT_PMUv3_TH feature, and, if implemented, the size of the PMEVTYPER<n>_EL0.TH field.
THWIDTH | Meaning |
---|---|
0b0000 | FEAT_PMUv3_TH is not implemented. |
0b0001 | 1 bit. PMEVTYPER<n>_EL0.TH[11:1] are RES0. |
0b0010 | 2 bits. PMEVTYPER<n>_EL0.TH[11:2] are RES0. |
0b0011 | 3 bits. PMEVTYPER<n>_EL0.TH[11:3] are RES0. |
0b0100 | 4 bits. PMEVTYPER<n>_EL0.TH[11:4] are RES0. |
0b0101 | 5 bits. PMEVTYPER<n>_EL0.TH[11:5] are RES0. |
0b0110 | 6 bits. PMEVTYPER<n>_EL0.TH[11:6] are RES0. |
0b0111 | 7 bits. PMEVTYPER<n>_EL0.TH[11:7] are RES0. |
0b1000 | 8 bits. PMEVTYPER<n>_EL0.TH[11:8] are RES0. |
0b1001 | 9 bits. PMEVTYPER<n>_EL0.TH[11:9] are RES0. |
0b1010 | 10 bits. PMEVTYPER<n>_EL0.TH[11:10] are RES0. |
0b1011 | 11 bits. PMEVTYPER<n>_EL0.TH[11] is RES0. |
0b1100 | 12 bits. |
All other values are reserved.
If FEAT_PMUv3_TH is not implemented, this field is zero.
Otherwise, the largest value that can be written to PMEVTYPER<n>_EL0.TH is 2(PMMIR_EL1.THWIDTH) minus one.
Access to this field is RO.
Bus width. Indicates the number of bytes each BUS_ACCESS event relates to. Encoded as Log2(number of bytes), plus one. Defined values are:
BUS_WIDTH | Meaning |
---|---|
0b0000 | The information is not available. |
0b0011 | Four bytes. |
0b0100 | 8 bytes. |
0b0101 | 16 bytes. |
0b0110 | 32 bytes. |
0b0111 | 64 bytes. |
0b1000 | 128 bytes. |
0b1001 | 256 bytes. |
0b1010 | 512 bytes. |
0b1011 | 1024 bytes. |
0b1100 | 2048 bytes. |
All other values are reserved.
Each transfer is up to this number of bytes. An access might be smaller than the bus width.
When this field is nonzero, each access counted by BUS_ACCESS is at most BUS_WIDTH bytes. An implementation might treat a wide bus as multiple narrower buses, such that a wide access on the bus increments the BUS_ACCESS counter by more than one.
Access to this field is RO.
Bus count. The largest value by which the BUS_ACCESS event might increment in a single BUS_CYCLES cycle.
When this field is nonzero, the largest value by which the BUS_ACCESS event might increment in a single BUS_CYCLES cycle is BUS_SLOTS.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Operation width. The largest value by which the STALL_SLOT event might increment in a single cycle. If the STALL_SLOT event is not implemented, this field might readbe as zero.RAZ.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Accesses to this register use the following encodings in the System register encoding space:
op0 | op1 | CRn | CRm | op2 |
---|---|---|---|---|
0b11 | 0b000 | 0b1001 | 0b1110 | 0b110 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if Halted() && HaveEL(EL3) && EDSCR.SDD == '1' && boolean IMPLEMENTATION_DEFINED "EL3 trap priority when SDD == '1'" && MDCR_EL3.TPM == '1' then UNDEFINED; elsif EL2Enabled() && (!HaveEL(EL3) || SCR_EL3.FGTEn == '1') && HDFGRTR_EL2.PMMIR_EL1 == '1' then AArch64.SystemAccessTrap(EL2, 0x18); elsif EL2Enabled() && MDCR_EL2.TPM == '1' then AArch64.SystemAccessTrap(EL2, 0x18); elsif HaveEL(EL3) && MDCR_EL3.TPM == '1' then if Halted() && EDSCR.SDD == '1' then UNDEFINED; else AArch64.SystemAccessTrap(EL3, 0x18); else return PMMIR_EL1; elsif PSTATE.EL == EL2 then if Halted() && HaveEL(EL3) && EDSCR.SDD == '1' && boolean IMPLEMENTATION_DEFINED "EL3 trap priority when SDD == '1'" && MDCR_EL3.TPM == '1' then UNDEFINED; elsif HaveEL(EL3) && MDCR_EL3.TPM == '1' then if Halted() && EDSCR.SDD == '1' then UNDEFINED; else AArch64.SystemAccessTrap(EL3, 0x18); else return PMMIR_EL1; elsif PSTATE.EL == EL3 then return PMMIR_EL1;
3020/09/2021 1511:3302; 092b4e1bbfbb45a293b198f9330c5f529ead2b0fd4a233ffbdfb36e47856c443a7ce9a85f5e501ca
Copyright © 2010-2021 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.
(old) | htmldiff from- | (new) |