The MSMON_CFG_CSU_CTL characteristics are:
Controls the CSU monitor selected by MSMON_CFG_MON_SEL.
MSMON_CFG_CSU_CTL_s controls the Secure cache storage usage monitor instance selected by the Secure instance of MSMON_CFG_MON_SEL. MSMON_CFG_CSU_CTL_ns controls Non-secure cache storage usage monitor instance selected by the Non-secure instance of MSMON_CFG_MON_SEL. MSMON_CFG_CSU_CTL_rt controls the monitor configuration for the Root PARTID selected by the Root instance of MSMON_CFG_MON_SEL. MSMON_CFG_CSU_CTL_rl controls the monitor configuration for the Realm PARTID selected by the Realm instance of MSMON_CFG_MON_SEL.
If MPAMF_IDR.HAS_RIS is 1, the monitor instance configuration accessed is for the resource instance currently selected by MSMON_CFG_MON_SEL.RIS and the monitor instance of that resource instance selected by MSMON_CFG_MON_SEL.MON_SEL.
The power domain of MSMON_CFG_CSU_CTL is IMPLEMENTATION DEFINED.
This register is present only when FEAT_MPAM is implemented, MPAMF_IDR.HAS_MSMON == 1 and MPAMF_MSMON_IDR.MSMON_CSU == 1. Otherwise, direct accesses to MSMON_CFG_CSU_CTL are RES0.
The power and reset domain of each MSC component is specific to that component.
MSMON_CFG_CSU_CTL is a 32-bit register.
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 |
EN | CAPT_EVNT | CAPT_RESET | OFLOW_STATUS | OFLOW_INTR | OFLOW_FRZ | OFLOW_CAPT | SUBTYPE | RES0 | CEVNT_OFLW | MATCH_PMG | MATCH_PARTID | RES0 | OFLOW_LNKG | TYPE |
Enabled.
EN | Meaning |
---|---|
0b0 |
The monitor instance is disabled and must not collect any information. |
0b1 |
The monitor instance is enabled to collect information according to the configuration of the instance. |
Capture event selector.
Select the event that triggers capture from the following:
CAPT_EVNT | Meaning |
---|---|
0b000 |
No capture event is triggered. |
0b001 |
External capture event 1 (optional, but recommended) |
0b010 |
External capture event 2 (optional) |
0b011 |
External capture event 3 (optional) |
0b100 |
External capture event 4 (optional) |
0b101 |
External capture event 5 (optional) |
0b110 |
External capture event 6 (optional) |
0b111 |
Capture occurs when a MSMON_CAPT_EVNT register in this MSC is written and causes a capture event for the Security state of this monitor. (optional) |
The values marked as optional indicate capture event sources that can be omitted in an implementation. Those values representing non-implemented event sources must not trigger a capture event.
When MPAMF_CSUMON_IDR.HAS_CAPTURE == 0, access to this field is RAZ/WI.
Reset after capture.
Controls whether the value of MSMON_CSU is reset to zero immediately after being copied to MSMON_CSU_CAPTURE.
CAPT_RESET | Meaning |
---|---|
0b0 |
Monitor is not reset on capture. |
0b1 |
Monitor is reset on capture. |
Because the CSU monitor type produces a measurement rather than a count, it might not make sense to ever reset the value after a capture. If there is no reason to ever reset a CSU monitor, this field is RAZ/WI.
When MPAMF_CSUMON_IDR.HAS_CAPTURE == 0, access to this field is RAZ/WI.
Overflow status.
Indicates whether the value of MSMON_CSU has overflowed.
If MPAMF_CSUMON_IDR.HAS_CEVNT_OFLW is 1 or MPAMF_CSUMON_IDR.HAS_OFLOW_LNKG is 1, then a store to MSMON_CSU when this field is 1 resets this field to 0.
OFLOW_STATUS | Meaning |
---|---|
0b0 |
No overflow has occurred. |
0b1 |
At least one overflow has occurred since this bit was last written to zero. |
If overflow is not possible for a CSU monitor in the implementation, this field is RAZ/WI.
Overflow Interrupt.
Controls whether an overflow interrupt is generated when the value of MSMON_CSU has overflowed.
OFLOW_INTR | Meaning |
---|---|
0b0 |
No interrupt is signaled on an overflow of MSMON_CSU. |
0b1 |
On overflow, an implementation-specific interrupt is signaled. |
When MSMON_CFG_CSU_CTL.OFLOW_INTR == 0, access to this field is RAZ/WI.
Freeze Monitor on Overflow.
Controls whether the value of MSMON_CSU.VALUE freezes on an overflow.
OFLOW_FRZ | Meaning |
---|---|
0b0 |
Monitor count wraps on overflow. |
0b1 |
Monitor count freezes on overflow. The frozen value might be 0 or another value if the monitor overflowed with an increment larger than 1. |
If overflow is not possible for a CSU monitor in the implementation, this field is RAZ/WI.
When a MSMON_CSU.VALUE of a monitor instance is frozen it does not change until MSMON_CSU register for that instance has been written.
Capture Monitor on Overflow.
OFLOW_CAPT | Meaning |
---|---|
0b0 |
Monitor is not captured on an overflow or when affected by an overflow linkage event. |
0b1 | Monitor is captured and the MSMON_CSU.{NRDY, VALUE} fields are copied to the monitor instance's capture register on an overflow or when affected by an overflow linkage event. The monitor instance treats an overflow of this monitor instance as a private capture event. If MSMON_CFG_MBWU_CTL.CEVNT_OFLW is 1, this monitor instance also treats an overflow linkage event as a capture event. If the OFLOW_FRZ field is 1, the monitor does not continue to count after the overflow or overflow linkage event. If the CAPT_RESET field is 1, the monitor instance resets to 0. |
Reserved, RES0.
Subtype. Type of cache storage usage counted by this monitor.
This field is not currently used for CSU monitors, but reserved for future use.
This field is RAZ/WI.
Reserved, RES0.
Capture Event performs overflow behavior.
CEVNT_OFLW | Meaning |
---|---|
0b0 | On a capture event matching the CAPT_EVNT field, the capture behaviors are performed. The MSMON_CSU.{VALUE, NRDY} fields are transferred to the monitor instance's capture register. |
0b1 | On a capture event matching the CAPT_EVNT field, the monitor instance treats a capture event as an overflow and the overflow behaviors are performed. The behavior is controlled by the MSMON_CFG_CSU_CTL.{OFLOW_FRZ, OFLOW_CAPT, CAPT_RESET} fields. The MSMON_CFG_CSU_CTL.OFLOW_STATUS field is set for this monitor instance. |
Reserved, RES0.
Match PMG.
Controls whether the monitor measures only storage used with PMG matching MSMON_CFG_CSU_FLT.PMG.
MATCH_PMG | Meaning |
---|---|
0b0 |
The monitor measures storage used with any PMG value. |
0b1 |
The monitor only measures storage used with the PMG value matching MSMON_CFG_CSU_FLT.PMG. |
If MATCH_PMG is 1 and MATCH_PARTID is 0, it is CONSTRAINED UNPREDICTABLE whether the monitor instance:
Match PARTID.
Controls whether the monitor measures only storage used with PARTID matching MSMON_CFG_CSU_FLT.PARTID.
MATCH_PARTID | Meaning |
---|---|
0b0 |
The monitor measures storage used with any PARTID value. |
0b1 |
The monitor only measures storage used with the PARTID value matching MSMON_CFG_CSU_FLT.PARTID. |
Reserved, RES0.
Overflow linkage event.
Controls signaling of a capture event on overflow of this monitor instance.
OFLOW_LNKG | Meaning |
---|---|
0b000 |
Overflow of the monitor instance only affects this monitor instance. |
0b001 |
Overflow of this monitor instance signals Capture Event 1. |
0b010 |
Overflow of this monitor instance signals Capture Event 2. |
0b011 |
Overflow of this monitor instance signals Capture Event 3. |
0b100 |
Overflow of this monitor instance signals Capture Event 4. |
0b101 |
Overflow of this monitor instance signals Capture Event 5. |
0b110 |
Overflow of this monitor instance signals Capture Event 6. |
0b111 |
Reserved. |
Reserved, RES0.
Monitor Type Code. The CSU monitor is TYPE = 0x43.
TYPE is a read-only constant indicating the type of the monitor.
Reads as 0x43.
Access to this field is RO.
This register is within the MPAM feature page memory frames.
In a system that supports Secure, Non-secure, Root, and Realm memory maps, there must be MPAM feature pages in all four address maps:
MSMON_CFG_CSU_CTL_s, MSMON_CFG_CSU_CTL_ns, MSMON_CFG_CSU_CTL_rt, and MSMON_CFG_CSU_CTL_rl must be separate registers:
When RIS is implemented, loads and stores to MSMON_CFG_CSU_CTL access the cache storage usage monitor configuration settings for the cache resource instance selected by MSMON_CFG_MON_SEL.RIS and the cache storage usage monitor instance selected by MSMON_CFG_MON_SEL.MON_SEL.
When RIS is not implemented, loads and stores to MSMON_CFG_CSU_CTL access the cache storage usage monitor configuration settings for the cache storage usage monitor instance selected by MSMON_CFG_MON_SEL.MON_SEL.
Component | Frame | Offset | Instance |
---|---|---|---|
MPAM | MPAMF_BASE_s | 0x0818 | MSMON_CFG_CSU_CTL_s |
Accesses on this interface are RW.
Component | Frame | Offset | Instance |
---|---|---|---|
MPAM | MPAMF_BASE_ns | 0x0818 | MSMON_CFG_CSU_CTL_ns |
Accesses on this interface are RW.
Component | Frame | Offset | Instance |
---|---|---|---|
MPAM | MPAMF_BASE_rt | 0x0818 | MSMON_CFG_CSU_CTL_rt |
When FEAT_RME is implemented, accesses on this interface are RW.
Component | Frame | Offset | Instance |
---|---|---|---|
MPAM | MPAMF_BASE_rl | 0x0818 | MSMON_CFG_CSU_CTL_rl |
When FEAT_RME is implemented, accesses on this interface are RW.
26/03/2024 09:49; 67c0ae5282a7629ba0ea0ba7267b43cd4f7939f6
Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.