ARM / OFFLINE REFERENCE

On this page
← Home

MSMON_CFG_CSA_CTL

MPAM Memory System Monitor Configure Cache Storage Allocation Monitor Control Register

Controls the CSA monitor selected by MSMON_CFG_MON_SEL.

Configuration

The power domain of MSMON_CFG_CSA_CTL is IMPLEMENTATION DEFINED.

This register is present only when FEAT_MPAM_CSA is implemented. Otherwise, direct accesses to MSMON_CFG_CSA_CTL are RES0.

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.

If FEAT_MPAMv2_MSC_MON_SEC is implemented, the following statement applies:

If FEAT_MPAMv0p1 or FEAT_MPAMv1p0 is implemented, the register is banked and the following statements apply:

The power and reset domain of each MSC component is specific to that component.

Attributes

MSMON_CFG_CSA_CTL is a 32-bit register.

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
EN CAPT_EVNT CAPT_RESET OFLOW_STATUS OFLOW_INTR OFLOW_FRZ OFLOW_CAPT RES0 SCLEN CEVNT_OFLW MATCH_PMG MATCH_PARTID OFLOW_STATUS_L OFLOW_INTR_L OFLOW_CAPT_L RES0 OFLOW_LNKG TYPE

EN, bit [31]:

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.

CAPT_EVNT, bits [30:28]:

Capture event selector.

When the selected capture event occurs, MSMON_CSA of the monitor instance is copied to MSMON_CSA_CAPTURE of the same instance. If the long counter is also implemented, MSMON_CSA_L is also copied to MSMON_CSA_L_CAPTURE.

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_CSAMON_IDR.HAS_CAPTURE == '0', access to this field is RAZ/WI.

CAPT_RESET, bit [27]:

Reset MSMON_CSA.VALUE after capture.

Controls whether the VALUE field of the monitor instance is reset to zero immediately after being copied to the corresponding capture register.

CAPT_RESET Meaning
0b0

MSMON_CSA.VALUE field of the monitor instance is not reset on capture.

0b1

MSMON_CSA.VALUE field of the monitor instance is reset on capture.

This control bit affects both MSMON_CSA and MSMON_CSA_L in implementations that include MSMON_CSA_L.

When MPAMF_CSAMON_IDR.HAS_CAPTURE == '0', access to this field is RAZ/WI.

OFLOW_STATUS, bit [26]:

Overflow status.

Indicates whether the value of MSMON_CSA has overflowed.

OFLOW_STATUS Meaning
0b0

MSMON_CSA.VALUE has not overflowed.

0b1

MSMON_CSA.VALUE has overflowed at least once since this bit was last written to zero.

Overflow status for MSMON_CSA_L.VALUE is reported in MSMON_CFG_CSA_CTL.OFLOW_STATUS_L.

If MPAMF_CSAMON_IDR.HAS_CEVNT_OFLW is 1 or MPAMF_CSAMON_IDR.HAS_OFLOW_LNKG is 1, then a store to MSMON_CSA when this field is 1 resets this field to 0.

OFLOW_INTR, bit [25]:

Enable interrupt on overflow of MSMON_CSA.VALUE.

OFLOW_INTR Meaning
0b0

No interrupt is signaled on an overflow of MSMON_CSA.VALUE.

0b1

An implementation-specific interrupt is signaled on an overflow of MSMON_CSA.VALUE.

Interrupt enable for overflow of MSMON_CSA_L.VALUE is controlled by MSMON_CFG_CSA_CTL.OFLOW_INTR_L.

When MSMON_CFG_CSA_CTL.OFLOW_INTR == '0', access to this field is RAZ/WI.

OFLOW_FRZ, bit [24]:

Freeze monitor instance on overflow.

Controls whether MSMON_CSA.VALUE field of the monitor instance freezes on an overflow.

OFLOW_FRZ Meaning
0b0

MSMON_CSA.VALUE field of the monitor instance wraps on overflow.

0b1

MSMON_CSA.VALUE field of the monitor instance freezes on overflow. If the increment that caused the overflow was 1, the frozen value is the post-increment value of 0. If the increment that caused the overflow was larger than 1, the frozen value of the monitor might be 0 or a larger value less than the final increment.

When a MSMON_CSA.VALUE of a monitor instance is frozen it does not change until MSMON_CSA register for that instance has been written. If the monitor implements both MSMON_CSA and MSMON_CSA_L registers, both are frozen. A write to a frozen register unfreezes the count for just that register.

This control bit affects both MSMON_CSA and MSMON_CSA_L in implementations that include MSMON_CSA_L.

OFLOW_CAPT, bit [23] when (FEAT_MPAMv0p1 is implemented, or FEAT_MPAMv1p1 is implemented, or FEAT_MPAMv2_MSC is implemented) and MPAMF_CSAMON_IDR.HAS_OFLOW_CAPT == '1':

Capture Monitor on Overflow.

OFLOW_CAPT Meaning
0b0

Monitor register MSMON_CSA is not captured on an overflow or when affected by an overflow linkage event.

0b1

Monitor register MSMON_CSA is captured and the MSMON_CSA.{NRDY, VALUE} fields are copied to the monitor instance's MSMON_CSA_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_CSA_CTL.CEVNT_OFLW is 1, this monitor instance also treats an overflow linkage event as a capture event.

If OFLOW_FRZ is 1, the monitor does not continue to count after the overflow or overflow linkage event. If CAPT_RESET is 1, the monitor instance resets to 0.

This bit does not control whether MSMON_CSA_L is captured on an overflow or overflow linkage event. See MSMON_CFG_CSA_CTL.OFLOW_CAPT_L.

Otherwise:

Reserved, RES0.

Bits [22:20]:

Reserved, RES0.

SCLEN, bit [19]:

MSMON_CSA.VALUE Scaling Enable.

Enables scaling of MSMON_CSA.VALUE by MPAMF_CSAMON_IDR.SCALE.

SCLEN Meaning
0b0

MSMON_CSA.VALUE has bytes counted by the monitor instance.

0b1

MSMON_CSA.VALUE has bytes counted by the monitor instance, shifted right by MPAMF_CSAMON_IDR.SCALE.

CEVNT_OFLW, bit [18] when (FEAT_MPAMv0p1 is implemented, or FEAT_MPAMv1p1 is implemented, or FEAT_MPAMv2_MSC is implemented) and MPAMF_CSAMON_IDR.HAS_CEVNT_OFLW == '1':

Capture Event performs overflow behavior.

CEVNT_OFLW Meaning
0b0

On a capture event matching the CAPT_EVNT field the capture behaviors are performed.

The NRDY and VALUE 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_CSA_CTL.{OFLOW_FRZ, OFLOW_CAPT, OFLOW_CAPT_L, CAPT_RESET} fields. The MSMON_CFG_CSA_CTL.{OFLOW_STATUS, OFLOW_STATUS_L} fields are set for this monitor instance.

Otherwise:

Reserved, RES0.

MATCH_PMG, bit [17] when MPAMF_CSAMON_IDR.NO_MATCH_PMG == '0':

Controls whether the monitor instance only counts allocations caused by the PMG matching MSMON_CFG_CSA_FLT.PMG.

MATCH_PMG Meaning
0b0

The monitor instance counts allocations caused by any PMG value.

0b1

The monitor instance only counts allocations caused by the PMG value matching MSMON_CFG_CSA_FLT.PMG.

Otherwise:

Reserved, RES0.

MATCH_PARTID, bit [16] when MPAMF_CSAMON_IDR.NO_MATCH_PARTID == '0':

Controls whether the monitor instance only counts allocations caused by the PARTID matching MSMON_CFG_CSA_FLT.PARTID.

MATCH_PARTID Meaning
0b0

The monitor instance counts allocations caused by any PARTID value.

0b1

The monitor instance only counts allocations caused by the PARTID value matching MSMON_CFG_CSA_FLT.PARTID.

Otherwise:

Reserved, RES0.

OFLOW_STATUS_L, bit [15] when (FEAT_MPAMv0p1 is implemented, or FEAT_MPAMv1p1 is implemented, or FEAT_MPAMv2_MSC is implemented) and MPAMF_CSAMON_IDR.HAS_LONG == '0':

Reports whether MSMON_CSA_L.VALUE has overflowed.

OFLOW_STATUS_L Meaning
0b0

MSMON_CSA_L.VALUE has not overflowed.

0b1

MSMON_CSA_L.VALUE has overflowed at least once since this bit was last written to zero.

Overflow status of MSMON_CSA.VALUE is reported in MSMON_CFG_CSA_CTL.OFLOW_STATUS.

If MPAMF_CSAMON_IDR.HAS_CEVNT_OFLW is 1 or MPAMF_CSAMON_IDR.HAS_OFLOW_LNKG is 1, then a store to MSMON_CSA_L when this field is 1 resets this field to 0.

Otherwise:

Reserved, RES0.

OFLOW_INTR_L, bit [14] when (FEAT_MPAMv0p1 is implemented, or FEAT_MPAMv1p1 is implemented, or FEAT_MPAMv2_MSC is implemented) and MPAMF_CSAMON_IDR.HAS_LONG == '1':

Overflow Interrupt for MSMON_CSA_L.

Controls whether an MPAM overflow interrupt is generated when MSMON_CSA_L.VALUE overflows.

OFLOW_INTR_L Meaning
0b0

No interrupt is signaled on an overflow of MSMON_CSA_L.VALUE.

0b1

An implementation-specific interrupt is signaled on overflow of MSMON_CSA_L.VALUE.

When MSMON_CFG_CSA_CTL.OFLOW_INTR_L == '0', access to this field is RAZ/WI.

Otherwise:

Reserved, RES0.

OFLOW_CAPT_L, bit [13] when (FEAT_MPAMv0p1 is implemented, or FEAT_MPAMv1p1 is implemented, or FEAT_MPAMv2_MSC is implemented), MPAMF_CSAMON_IDR.HAS_LONG == '1', and MPAMF_CSAMON_IDR.HAS_OFLOW_CAPT == '1':

Capture Long Monitor on Overflow.

Controls whether MSMON_CSA_L is copied to MSMON_CSA_L_CAPTURE on an overflow or an overflow linkage event.

OFLOW_CAPT_L Meaning
0b0

Monitor register MSMON_CSA_L is not captured on an overflow or when affected by an overflow linkage event.

0b1

Monitor register MSMON_CSA_L is captured on an overflow or when affected by an overflow linkage event. If OFLOW_FRZ is 1, the monitor does not continue to count after the overflow or overflow linkage event. If CAPT_RESET is 1, the monitor instance resets to 0.

If this bit is 1, this monitor instance treats an overflow of this monitor instance as a private capture event.

If this bit is 1, this monitor instance also treats overflow linkage events for which it qualifies as a private capture event.

Otherwise:

Reserved, RES0.

Bits [12:11]:

Reserved, RES0.

OFLOW_LNKG, bits [10:8] when (FEAT_MPAMv0p1 is implemented, or FEAT_MPAMv1p1 is implemented, or FEAT_MPAMv2_MSC is implemented) and MPAMF_CSAMON_IDR.HAS_OFLOW_LNKG == '1':

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.

Otherwise:

Reserved, RES0.

TYPE, bits [7:0]:

Monitor Type Code. The CSA monitor is TYPE = 0x44.

TYPE is a read-only constant indicating the type of the monitor.

Reads as 0x44.

Access to this field is RO.

Accessing MSMON_CFG_CSA_CTL

This register is within the MPAM feature page memory frames.

If FEAT_MPAM is implemented, the following statements apply:

If both FEAT_MPAM and FEAT_RME are implemented, the following statements apply:

If FEAT_MPAMv2_MSC_MON_SEC is implemented, all of the following apply:

If any one of these features is implemented:

then, the following statements apply:

Otherwise, the following statements apply:

MSMON_CFG_CSA_CTL can be accessed through the memory-mapped interfaces:

Component Offset
MPAM 0x0838

When FEAT_MPAMv2_MSC is implemented, accesses to this register are RW.

Component Frame Offset Instance
MPAM MPAMF_BASE_s 0x0838 MSMON_CFG_CSA_CTL_s

When FEAT_MPAMv1p0 is implemented or FEAT_MPAMv0p1 is implemented, accesses to this register are RW.

Component Frame Offset Instance
MPAM MPAMF_BASE_ns 0x0838 MSMON_CFG_CSA_CTL_ns

When FEAT_MPAMv1p0 is implemented or FEAT_MPAMv0p1 is implemented, accesses to this register are RW.

Component Frame Offset Instance
MPAM MPAMF_BASE_rt 0x0838 MSMON_CFG_CSA_CTL_rt

When FEAT_RME is implemented and (FEAT_MPAMv1p0 is implemented or FEAT_MPAMv0p1 is implemented), accesses to this register are RW.

Component Frame Offset Instance
MPAM MPAMF_BASE_rl 0x0838 MSMON_CFG_CSA_CTL_rl

When FEAT_RME is implemented and (FEAT_MPAMv1p0 is implemented or FEAT_MPAMv0p1 is implemented), accesses to this register are RW.


Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.

This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.