This forum was built by humans, for humans. AI was used exclusively for security auditing. The forum officially launched on November 24, 2026. Read more

romdump.net
romdump.net › Forum › Silicon & Architectures › PMU register pages: part 6 of 7

Writeup PMU register pages: part 6 of 7

started by admin

admin admin admingod mode Posts 116
Rep 505
Joined Nov 2026
2d ago OP #107

Archived Arm source pages for the PMU register pages. Part 6 of 7. This part covers PMOVS through PMPIDR6.

PMOVS

Performance Monitors Overflow Flag Status register

The unsigned overflow flags for the Cycle Count Register, PMCCNTR_EL0, and each of the implemented event counters PMEVCNTR<n>.

Configuration

External register PMOVS bits [63:0] are architecturally mapped to AArch64 System register PMOVSSET_EL0[63:0].

External register PMOVS bits [63:0] are architecturally mapped to AArch64 System register PMOVSCLR_EL0[63:0].

External register PMOVS bits [31:0] are architecturally mapped to AArch32 System register PMOVSR[31:0].

External register PMOVS bits [31:0] are architecturally mapped to AArch32 System register PMOVSSET[31:0].

This register is present only when FEAT_PMUv3_EXT64 is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMOVS are RES0.

Attributes

PMOVS is a 64-bit register.

This register is part of the PMU block.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0F0
CP30P29P28P27P26P25P24P23P22P21P20P19P18P17P16P15P14P13P12P11P10P9P8P7P6P5P4P3P2P1P0

Bits [63:33]:

Reserved, RES0.

F0, bit [32] when FEAT_PMUv3_ICNTR is implemented:

PMICNTR_EL0 unsigned overflow flag.

F0Meaning
0b0PMICNTR_EL0 has not overflowed.
0b1PMICNTR_EL0 has overflowed.

The reset behavior of this field is:

  • On a Warm reset, this field resets to '0'.

Otherwise:

Reserved, RES0.

C, bit [31]:

Cycle counter unsigned overflow flag.

CMeaning
0b0The cycle counter has not overflowed since this bit was last cleared to 0.
0b1The cycle counter has overflowed since this bit was last cleared to 0.

PMCR_EL0.LC controls whether an overflow is detected from unsigned overflow of PMCCNTR_EL0[31:0] or unsigned overflow of PMCCNTR_EL0[63:0].

The reset behavior of this field is:

  • On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.
  • On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value.

P<m>, bit [m], for m = 30 to 0:

Event counter unsigned overflow bit for PMEVCNTR<m>_EL0.

P<m>Meaning
0b0PMEVCNTR<m>_EL0 has not overflowed since this bit was last cleared to 0.
0b1PMEVCNTR<m>_EL0 has overflowed since this bit was last cleared to 0.

If FEAT_PMUv3p5 is implemented, MDCR_EL2.HLP and PMCR_EL0.LP control whether an overflow is detected from unsigned overflow of PMEVCNTR<m>_EL0[31:0] or unsigned overflow of PMEVCNTR<m>_EL0[63:0].

When FEAT_PMUv3_EXTPMN is implemented, MDCR_EL2.HLP and PMCR_EL0.LP are applicable only for event counters in the second and first range. For more information about event counter ranges, see MDCR_EL2.HPMN.

The reset behavior of this field is:

  • On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.

  • On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:

  • When m >= NUM_PMU_COUNTERS, access to this field is RAZ/WI. Access to this field is RAZ/WI if all the following are true:

    • FEAT_PMUv3_EXTPMN is implemented.
    • m >= UInt(EffectiveEPMN()).
    • !IsMostSecureAccess(addrdesc).
  • Otherwise, access to this field is RW.

Access Instructions

Accesses to this register use the following encodings:

Accessible at offset 0xC90 from PMU

  • When DoubleLockStatus(), or !IsCorePowered(), or !AllowExternalPMUAccess(addrdesc), accesses to this register generate an error response.
  • When (FEAT_PMUv3_EXTPMN is not implemented, or !IsMostSecureAccess(addrdesc), or PMCCR().OSLO == '0') and OSLockStatus(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RW.

PMOVSCLR_EL0

Performance Monitors Overflow Flag Status Clear register

Allows software to clear the unsigned overflow flags for the following counters to 0:

  • The cycle counter PMCCNTR_EL0.
  • The event counters PMEVCNTR<n>_EL0.
  • When FEAT_PMUv3_ICNTR is implemented, the instruction counter PMICNTR_EL0. Reading from this register shows the current unsigned overflow flag values.

Configuration

External register PMOVSCLR_EL0 bits [31:0] are architecturally mapped to AArch64 System register PMOVSSET_EL0[31:0] when FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p9 is not implemented.

External register PMOVSCLR_EL0 bits [31:0] are architecturally mapped to AArch64 System register PMOVSCLR_EL0[31:0] when FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p9 is not implemented.

External register PMOVSCLR_EL0 bits [63:32] are architecturally mapped to AArch64 System register PMOVSSET_EL0[63:32] when FEAT_PMUv3_EXT64 is implemented or FEAT_PMUv3p9 is implemented.

External register PMOVSCLR_EL0 bits [63:32] are architecturally mapped to AArch64 System register PMOVSCLR_EL0[63:32] when FEAT_PMUv3_EXT64 is implemented or FEAT_PMUv3p9 is implemented.

External register PMOVSCLR_EL0 bits [31:0] are architecturally mapped to AArch32 System register PMOVSR[31:0].

External register PMOVSCLR_EL0 bits [31:0] are architecturally mapped to AArch32 System register PMOVSSET[31:0].

This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMOVSCLR_EL0 are RES0.

PMOVSCLR_EL0 is in the Core power domain.

Attributes

PMOVSCLR_EL0 is a:

  • 64-bit register when FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3p9 is implemented, or FEAT_PMUv3_ICNTR is implemented
  • 32-bit register otherwise This register is part of the PMU block.

Field descriptions

When FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3p9 is implemented, or FEAT_PMUv3_ICNTR is implemented:

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0F0
CP30P29P28P27P26P25P24P23P22P21P20P19P18P17P16P15P14P13P12P11P10P9P8P7P6P5P4P3P2P1P0

Bits [63:33]:

Reserved, RES0.

F0, bit [32] when FEAT_PMUv3_ICNTR is implemented:

Unsigned overflow flag for PMICNTR_EL0 clear. On writes, allows software to clear the unsigned overflow flag for PMICNTR_EL0 to 0. On reads, returns the unsigned overflow flag for PMICNTR_EL0.

F0Meaning
0b0PMICNTR_EL0 has not overflowed.
0b1PMICNTR_EL0 has overflowed.

The reset behavior of this field is:

  • On a Warm reset, this field resets to '0'. Accessing this field has the following behavior:

  • When SoftwareLockStatus(addrdesc), access to this field is RO.

  • Otherwise, access to this field is W1C.

Otherwise:

Reserved, RES0.

C, bit [31]:

Unsigned overflow flag for PMCCNTR_EL0 clear. On writes, allows software to clear the unsigned overflow flag for PMCCNTR_EL0 to 0. On reads, returns the unsigned overflow flag for PMCCNTR_EL0 overflow status.

CMeaning
0b0PMCCNTR_EL0 has not overflowed.
0b1PMCCNTR_EL0 has overflowed.

PMCR_EL0.LC controls whether an overflow is detected from unsigned overflow of PMCCNTR_EL0[31:0] or unsigned overflow of PMCCNTR_EL0[63:0].

The reset behavior of this field is:

  • On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.

  • On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:

  • When SoftwareLockStatus(addrdesc), access to this field is RO.

  • Otherwise, access to this field is W1C.

P<m>, bit [m], for m = 30 to 0:

Unsigned overflow flag for PMEVCNTR<m>_EL0 clear. On writes, allows software to clear the unsigned overflow flag for PMEVCNTR<m>_EL0 to 0. On reads, returns the unsigned overflow flag for PMEVCNTR<m>_EL0 overflow status.

P<m>Meaning
0b0PMEVCNTR<m>_EL0 has not overflowed.
0b1PMEVCNTR<m>_EL0 has overflowed.

If FEAT_PMUv3p5 is implemented, MDCR_EL2.HLP and PMCR_EL0.LP control whether an overflow is detected from unsigned overflow of PMEVCNTR<m>_EL0[31:0] or unsigned overflow of PMEVCNTR<m>_EL0[63:0].

When FEAT_PMUv3_EXTPMN is implemented, MDCR_EL2.HLP and PMCR_EL0.LP are applicable only for event counters in the second and first range. For more information about event counter ranges, see MDCR_EL2.HPMN.

The reset behavior of this field is:

  • On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.

  • On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:

  • When m >= NUM_PMU_COUNTERS, access to this field is RAZ/WI. Access to this field is RAZ/WI if all the following are true:

    • FEAT_PMUv3_EXTPMN is implemented.
    • m >= UInt(EffectiveEPMN()).
    • !IsMostSecureAccess(addrdesc).
  • When SoftwareLockStatus(addrdesc), access to this field is RO.

  • Otherwise, access to this field is W1C.

Otherwise:

313029282726252423222120191817161514131211109876543210
CP30P29P28P27P26P25P24P23P22P21P20P19P18P17P16P15P14P13P12P11P10P9P8P7P6P5P4P3P2P1P0

C, bit [31]:

Unsigned overflow flag for PMCCNTR_EL0 clear. On writes, allows software to clear the unsigned overflow flag for PMCCNTR_EL0 to 0. On reads, returns the unsigned overflow flag for PMCCNTR_EL0 overflow status.

CMeaning
0b0PMCCNTR_EL0 has not overflowed.
0b1PMCCNTR_EL0 has overflowed.

PMCR_EL0.LC controls whether an overflow is detected from unsigned overflow of PMCCNTR_EL0[31:0] or unsigned overflow of PMCCNTR_EL0[63:0].

The reset behavior of this field is:

  • On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.

  • On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:

  • When SoftwareLockStatus(addrdesc), access to this field is RO.

  • Otherwise, access to this field is W1C.

P<m>, bit [m], for m = 30 to 0:

Unsigned overflow flag for PMEVCNTR<m>_EL0 clear. On writes, allows software to clear the unsigned overflow flag for PMEVCNTR<m>_EL0 to 0. On reads, returns the unsigned overflow flag for PMEVCNTR<m>_EL0 overflow status.

P<m>Meaning
0b0PMEVCNTR<m>_EL0 has not overflowed.
0b1PMEVCNTR<m>_EL0 has overflowed.

If FEAT_PMUv3p5 is implemented, MDCR_EL2.HLP and PMCR_EL0.LP control whether an overflow is detected from unsigned overflow of PMEVCNTR<m>_EL0[31:0] or unsigned overflow of PMEVCNTR<m>_EL0[63:0].

When FEAT_PMUv3_EXTPMN is implemented, MDCR_EL2.HLP and PMCR_EL0.LP are applicable only for event counters in the second and first range. For more information about event counter ranges, see MDCR_EL2.HPMN.

The reset behavior of this field is:

  • On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.

  • On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:

  • When m >= NUM_PMU_COUNTERS, access to this field is RAZ/WI. Access to this field is RAZ/WI if all the following are true:

    • FEAT_PMUv3_EXTPMN is implemented.
    • m >= UInt(EffectiveEPMN()).
    • !IsMostSecureAccess(addrdesc).
  • When SoftwareLockStatus(addrdesc), access to this field is RO.

  • Otherwise, access to this field is W1C.

Access Instructions

Accesses to this register use the following encodings:

When FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3_ICNTR is implemented, or FEAT_PMUv3p9 is implemented:

[63:0] Accessible at offset 0xC80 from PMU

  • When DoubleLockStatus(), or !IsCorePowered(), or !AllowExternalPMUAccess(addrdesc), accesses to this register generate an error response.
  • When (FEAT_PMUv3_EXTPMN is not implemented, or !IsMostSecureAccess(addrdesc), or PMCCR().OSLO == '0') and OSLockStatus(), accesses to this register generate an error response.
  • When FEAT_PMUv3_EXT32 is implemented and SoftwareLockStatus(addrdesc), accesses to this register are RO.
  • Otherwise, accesses to this register are RW.

When FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3_ICNTR is not implemented, and FEAT_PMUv3p9 is not implemented:

[31:0] Accessible at offset 0xC80 from PMU

  • When DoubleLockStatus(), or !IsCorePowered(), or !AllowExternalPMUAccess(addrdesc), accesses to this register generate an error response.
  • When (FEAT_PMUv3_EXTPMN is not implemented, or !IsMostSecureAccess(addrdesc), or PMCCR().OSLO == '0') and OSLockStatus(), accesses to this register generate an error response.
  • When SoftwareLockStatus(addrdesc), accesses to this register are RO.
  • Otherwise, accesses to this register are RW.

PMOVSSET_EL0

Performance Monitors Overflow Flag Status Set Register

Allows software to set the unsigned overflow flags for the following counters to 1:

  • The cycle counter PMCCNTR_EL0.
  • The event counters PMEVCNTR<n>_EL0.
  • When FEAT_PMUv3_ICNTR is implemented, the instruction counter PMICNTR_EL0. Reading from this register shows the current unsigned overflow flag values.

Configuration

External register PMOVSSET_EL0 bits [31:0] are architecturally mapped to AArch64 System register PMOVSSET_EL0[31:0] when FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p9 is not implemented.

External register PMOVSSET_EL0 bits [31:0] are architecturally mapped to AArch64 System register PMOVSCLR_EL0[31:0] when FEAT_PMUv3_EXT32 is implemented and FEAT_PMUv3p9 is not implemented.

External register PMOVSSET_EL0 bits [63:32] are architecturally mapped to AArch64 System register PMOVSSET_EL0[63:32] when FEAT_PMUv3_EXT64 is implemented or FEAT_PMUv3p9 is implemented.

External register PMOVSSET_EL0 bits [63:32] are architecturally mapped to AArch64 System register PMOVSCLR_EL0[63:32] when FEAT_PMUv3_EXT64 is implemented or FEAT_PMUv3p9 is implemented.

External register PMOVSSET_EL0 bits [31:0] are architecturally mapped to AArch32 System register PMOVSR[31:0].

External register PMOVSSET_EL0 bits [31:0] are architecturally mapped to AArch32 System register PMOVSSET[31:0].

This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMUv3 is implemented. Otherwise, direct accesses to PMOVSSET_EL0 are RES0.

PMOVSSET_EL0 is in the Core power domain.

Attributes

PMOVSSET_EL0 is a:

  • 64-bit register when FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3p9 is implemented, or FEAT_PMUv3_ICNTR is implemented
  • 32-bit register otherwise This register is part of the PMU block.

Field descriptions

When FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3p9 is implemented, or FEAT_PMUv3_ICNTR is implemented:

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0F0
CP30P29P28P27P26P25P24P23P22P21P20P19P18P17P16P15P14P13P12P11P10P9P8P7P6P5P4P3P2P1P0

Bits [63:33]:

Reserved, RES0.

F0, bit [32] when FEAT_PMUv3_ICNTR is implemented:

Unsigned overflow flag for PMICNTR_EL0 set. On writes, allows software to set the unsigned overflow flag for PMICNTR_EL0 to 1. On reads, returns the unsigned overflow flag for PMICNTR_EL0.

F0Meaning
0b0PMICNTR_EL0 has not overflowed.
0b1PMICNTR_EL0 has overflowed.

The reset behavior of this field is:

  • On a Warm reset, this field resets to '0'. Accessing this field has the following behavior:

  • When SoftwareLockStatus(addrdesc), access to this field is RO.

  • Otherwise, access to this field is W1S.

Otherwise:

Reserved, RES0.

C, bit [31]:

Unsigned overflow flag for PMCCNTR_EL0 set. On writes, allows software to set the unsigned overflow flag for PMCCNTR_EL0 to 1. On reads, returns the unsigned overflow flag for PMCCNTR_EL0 overflow status.

CMeaning
0b0PMCCNTR_EL0 has not overflowed.
0b1PMCCNTR_EL0 has overflowed.

PMCR_EL0.LC controls whether an overflow is detected from unsigned overflow of PMCCNTR_EL0[31:0] or unsigned overflow of PMCCNTR_EL0[63:0].

The reset behavior of this field is:

  • On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.

  • On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:

  • When SoftwareLockStatus(addrdesc), access to this field is RO.

  • Otherwise, access to this field is W1S.

P<m>, bit [m], for m = 30 to 0:

Unsigned overflow flag for PMEVCNTR<m>_EL0 set. On writes, allows software to set the unsigned overflow flag for PMEVCNTR<m>_EL0 to 1. On reads, returns the unsigned overflow flag for PMEVCNTR<m>_EL0 overflow status.

P<m>Meaning
0b0PMEVCNTR<m>_EL0 has not overflowed.
0b1PMEVCNTR<m>_EL0 has overflowed.

If FEAT_PMUv3p5 is implemented, MDCR_EL2.HLP and PMCR_EL0.LP control whether an overflow is detected from unsigned overflow of PMEVCNTR<m>_EL0[31:0] or unsigned overflow of PMEVCNTR<m>_EL0[63:0].

When FEAT_PMUv3_EXTPMN is implemented, MDCR_EL2.HLP and PMCR_EL0.LP are applicable only for event counters in the second and first range. For more information about event counter ranges, see MDCR_EL2.HPMN.

The reset behavior of this field is:

  • On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.

  • On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:

  • When m >= NUM_PMU_COUNTERS, access to this field is RAZ/WI. Access to this field is RAZ/WI if all the following are true:

    • FEAT_PMUv3_EXTPMN is implemented.
    • m >= UInt(EffectiveEPMN()).
    • !IsMostSecureAccess(addrdesc).
  • When SoftwareLockStatus(addrdesc), access to this field is RO.

  • Otherwise, access to this field is W1S.

Otherwise:

313029282726252423222120191817161514131211109876543210
CP30P29P28P27P26P25P24P23P22P21P20P19P18P17P16P15P14P13P12P11P10P9P8P7P6P5P4P3P2P1P0

C, bit [31]:

Unsigned overflow flag for PMCCNTR_EL0 set. On writes, allows software to set the unsigned overflow flag for PMCCNTR_EL0 to 1. On reads, returns the unsigned overflow flag for PMCCNTR_EL0 overflow status.

CMeaning
0b0PMCCNTR_EL0 has not overflowed.
0b1PMCCNTR_EL0 has overflowed.

PMCR_EL0.LC controls whether an overflow is detected from unsigned overflow of PMCCNTR_EL0[31:0] or unsigned overflow of PMCCNTR_EL0[63:0].

The reset behavior of this field is:

  • On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.

  • On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:

  • When SoftwareLockStatus(addrdesc), access to this field is RO.

  • Otherwise, access to this field is W1S.

P<m>, bit [m], for m = 30 to 0:

Unsigned overflow flag for PMEVCNTR<m>_EL0 set. On writes, allows software to set the unsigned overflow flag for PMEVCNTR<m>_EL0 to 1. On reads, returns the unsigned overflow flag for PMEVCNTR<m>_EL0 overflow status.

P<m>Meaning
0b0PMEVCNTR<m>_EL0 has not overflowed.
0b1PMEVCNTR<m>_EL0 has overflowed.

If FEAT_PMUv3p5 is implemented, MDCR_EL2.HLP and PMCR_EL0.LP control whether an overflow is detected from unsigned overflow of PMEVCNTR<m>_EL0[31:0] or unsigned overflow of PMEVCNTR<m>_EL0[63:0].

When FEAT_PMUv3_EXTPMN is implemented, MDCR_EL2.HLP and PMCR_EL0.LP are applicable only for event counters in the second and first range. For more information about event counter ranges, see MDCR_EL2.HPMN.

The reset behavior of this field is:

  • On a Cold reset, when FEAT_PMUv3_EXTPMN is implemented, this field resets to an architecturally UNKNOWN value.

  • On a Warm reset, when FEAT_PMUv3_EXTPMN is not implemented, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:

  • When m >= NUM_PMU_COUNTERS, access to this field is RAZ/WI. Access to this field is RAZ/WI if all the following are true:

    • FEAT_PMUv3_EXTPMN is implemented.
    • m >= UInt(EffectiveEPMN()).
    • !IsMostSecureAccess(addrdesc).
  • When SoftwareLockStatus(addrdesc), access to this field is RO.

  • Otherwise, access to this field is W1S.

Access Instructions

Accesses to this register use the following encodings:

When FEAT_PMUv3_EXT64 is implemented, or FEAT_PMUv3_ICNTR is implemented, or FEAT_PMUv3p9 is implemented:

[63:0] Accessible at offset 0xCC0 from PMU

  • When DoubleLockStatus(), or !IsCorePowered(), or !AllowExternalPMUAccess(addrdesc), accesses to this register generate an error response.
  • When (FEAT_PMUv3_EXTPMN is not implemented, or !IsMostSecureAccess(addrdesc), or PMCCR().OSLO == '0') and OSLockStatus(), accesses to this register generate an error response.
  • When FEAT_PMUv3_EXT32 is implemented and SoftwareLockStatus(addrdesc), accesses to this register are RO.
  • Otherwise, accesses to this register are RW.

When FEAT_PMUv3_EXT32 is implemented, FEAT_PMUv3_ICNTR is not implemented, and FEAT_PMUv3p9 is not implemented:

[31:0] Accessible at offset 0xCC0 from PMU

  • When DoubleLockStatus(), or !IsCorePowered(), or !AllowExternalPMUAccess(addrdesc), accesses to this register generate an error response.
  • When (FEAT_PMUv3_EXTPMN is not implemented, or !IsMostSecureAccess(addrdesc), or PMCCR().OSLO == '0') and OSLockStatus(), accesses to this register generate an error response.
  • When SoftwareLockStatus(addrdesc), accesses to this register are RO.
  • Otherwise, accesses to this register are RW.

PMPCSCTL

PC Sample-based Profiling Control Register

Controls the PC Sample-based Profiling feature.

Configuration

This register is present only when FEAT_PCSRv8p9 is implemented and FEAT_PMUv3_EXT is implemented. Otherwise, direct accesses to PMPCSCTL are RES0.

PMPCSCTL is in the Core power domain.

Attributes

PMPCSCTL is a 64-bit register.

This register is part of the PMU block.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0
RES0SSRES0IMPEN

Bits [63:5]:

Reserved, RES0.

SS, bit [4] when FEAT_PMUv3_SS is implemented:

Sample on Snapshot.

Controls whether the following registers are sampled on a PMU snapshot Capture event:

  • If FEAT_PMUv3_EXT32 is implemented: PMCID1SR, PMCID2SR, PMPCSR, and PMVIDSR.
  • If FEAT_PMUv3_EXT64 is implemented: PMCCIDSR, PMPCSR, and PMVCIDSR.
SSMeaning
0b0Sample on Read.
0b1Sample on Snapshot.

The reset behavior of this field is:

  • On a Warm reset, this field resets to '0'.

Otherwise:

Reserved, RES0.

Bits [3:2]:

Reserved, RES0.

IMP, bit [1]:

Profiling enable implemented.

The value of this field is an IMPLEMENTATION DEFINED choice of:

IMPMeaning
0b0PMPCSCTL.EN reads-as-zero and ignores writes.
0b1PMPCSCTL.EN is a read-write control bit.

Access to this field is RO.

EN, bit [0] when PMU.PMPCSCTL.IMP == '1':

PC Sample-based Profiling Enable.

ENMeaning
0b0PC Sample-based Profiling is suspended.
0b1PC Sample-based Profiling is active.

The reset behavior of this field is:

  • On a Warm reset, this field resets to '0'.

Otherwise:

Reserved, RAZ/WI.

Access Instructions

Accesses to this register use the following encodings:

Accessible at offset 0xE50 from PMU

  • When DoubleLockStatus() or !IsCorePowered(), accesses to this register generate an error response.
  • When (FEAT_PMUv3_EXTPMN is not implemented, or !IsMostSecureAccess(addrdesc), or PMCCR().OSLO == '0') and OSLockStatus(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RW.

PMPCSR

Program Counter Sample Register

PC Sample-based Profiling Extension register that holds a sampled instruction address value.

Configuration

This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PCSRv8p2 is implemented. Otherwise, direct accesses to PMPCSR are RES0.

PMPCSR is in the Core power domain.

If FEAT_PMUv3_EXT32 is implemented, support for 64-bit atomic reads is IMPLEMENTATION DEFINED. If 64-bit atomic reads are implemented, a 64-bit read of PMPCSR has the same side-effect as a 32-bit read of PMPCSR[31:0] followed by a 32-bit read of PMPCSR[63:32], returning the combined value. For example, if the PE is in Debug state, then a 64-bit atomic read returns bits[31:0] == 0xFFFFFFFF and bits[63:32] UNKNOWN.

Attributes

PMPCSR is a 64-bit register.

This register is part of the PMU block.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
NSELRES0NSERES0PCSample[55:32]
PCSample[31:0]

NS, bit [63] when FEAT_RME is implemented:

Together with the NSE field, indicates the Security state that is associated with the most recent PMPCSR sample or, when it is read as a single atomic 64-bit read, the current PMPCSR sample.

NSENSMeaning
0b00b0When Secure state is implemented, Secure. Otherwise reserved.
0b00b1Non-secure.
0b10b0Root.
0b10b1Realm.

Otherwise:

Non-secure state sample. Indicates the Security state that is associated with the most recent PMPCSR sample or, when it is read as a single atomic 64-bit read, the current PMPCSR sample.

If EL3 is not implemented, this bit indicates the Effective value of SCR.NS.

NSMeaning
0b0Sample is from Secure state.
0b1Sample is from Non-secure state.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

EL, bits [62:61]:

Exception level status sample. Indicates the Exception level that is associated with the most recent PMPCSR sample or, when it is read as a single atomic 64-bit read, the current PMPCSR sample.

ELMeaning
0b00Sample is from EL0.
0b01Sample is from EL1.
0b10Sample is from EL2.
0b11Sample is from EL3.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Bit [60]:

Reserved, RES0.

NSE, bit [59] when FEAT_RME is implemented:

Together with the NS field, indicates the Security state that is associated with the most recent PMPCSR sample or, when it is read as a single atomic 64-bit read, the current PMPCSR sample.

For a description of the values derived by evaluating NS and NSE together, see PMPCSR.NS.

Otherwise:

Reserved, RES0.

Bits [58:56]:

Reserved, RES0.

PCSample[55:32], bits [55:32]:

Bits[55:32] of the sampled instruction address value. The translation regime that PMPCSR samples can be determined from PMPCSR.{NS,EL}.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

PCSample[31:0], bits [31:0]:

Bits[31:0] of the sampled instruction address value.

PMPCSR[31:0] reads as 0xFFFFFFFF when any of the following are true:

  • The PE is in Debug state.
  • PC Sample-based profiling is prohibited. If a branch instruction has retired since the PE left reset state, then the first read of PMPCSR[31:0] is permitted but not required to return 0xFFFFFFFF.

PMPCSR[31:0] reads as an UNKNOWN value when any of the following are true:

  • The PE is in reset state.
  • No branch instruction has retired since the PE left reset state, Debug state, or a state where PC Sample-based Profiling is prohibited.
  • No branch instruction has retired since the last read of PMPCSR[31:0]. For the cases where a read of PMPCSR[31:0] returns 0xFFFFFFFF or an UNKNOWN value, the read has the side-effect of setting PMPCSR[63:32], PMCID1SR, PMCID2SR, and PMVIDSR to UNKNOWN values.

Otherwise, a read of PMPCSR[31:0] returns bits [31:0] of the sampled instruction address value and has the side-effect of indirectly writing to PMPCSR[63:32], PMCID1SR, PMCID2SR, and PMVIDSR. The translation regime that PMPCSR samples can be determined from PMPCSR.{NS,EL}.

For a read of PMPCSR[31:0] from the memory-mapped interface, if PMLSR.SLK == 1, meaning the OPTIONAL Software Lock is locked, then the side-effect of the access does not occur and PMPCSR[63:32], PMCID1SR, PMCID2SR, and PMVIDSR are unchanged.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Access Instructions

IMPLEMENTATION DEFINED extensions to external debug might make the value of this register UNKNOWN, see 'Permitted behavior that might make the PC Sample-based profiling registers UNKNOWN'.

A 32-bit access to PMPCSR[63:32] does not update the PC sample registers. Only a 64-bit access to PMPCSR[63:0] or a 32-bit access to PMPCSR[31:0] updates the PC sample registers. This includes the value a subsequent 32-bit read of PMPCSR[63:32] will return.

Accesses to this register use the following encodings:

[63:0] Accessible at offset 0x200 from PMU

  • When DoubleLockStatus() or !IsCorePowered(), accesses to this register generate an error response.
  • When (FEAT_PMUv3_EXTPMN is not implemented, or !IsMostSecureAccess(addrdesc), or PMCCR().OSLO == '0') and OSLockStatus(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RO.

[63:0] Accessible at offset 0x220 from PMU

  • When DoubleLockStatus() or !IsCorePowered(), accesses to this register generate an error response.
  • When (FEAT_PMUv3_EXTPMN is not implemented, or !IsMostSecureAccess(addrdesc), or PMCCR().OSLO == '0') and OSLockStatus(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RO.

PMPIDR0

Performance Monitors Peripheral Identification Register 0

Provides information to identify a Performance Monitor component.

For more information, see 'About the Peripheral identification scheme'.

Configuration

This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented. Otherwise, direct accesses to PMPIDR0 are RES0.

If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.

Attributes

PMPIDR0 is a 32-bit register.

This register is part of the PMU block.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0PART_0

Bits [31:8]:

Reserved, RES0.

PART_0, bits [7:0]:

Part number, which is selected by the designer of the component and stored as follows:

For a component with a 12-bit part number:

  • PMPIDR1.PART_1 contains part number bits [11:8].

  • PMPIDR0.PART_0 contains part number bits [7:0]. For a component with a 16-bit part number:

  • PMPIDR1.PART_1 contains part number bits [15:12].

  • PMPIDR0.PART_0 contains part number bits [11:4].

  • PMPIDR2.REVISION contains part number bits [3:0]. When a 12-bit part number is used, PMPIDR2.REVISION indicates revision information.

The choice of using a 12-bit part number or 16-bit part number is specific to the designer of the component.

This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

Access Instructions

Accesses to this register use the following encodings:

Accessible at offset 0xFE0 from PMU

  • When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RO.

PMPIDR1

Performance Monitors Peripheral Identification Register 1

Provides information to identify a Performance Monitor component.

For more information, see 'About the Peripheral identification scheme'.

Configuration

This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented. Otherwise, direct accesses to PMPIDR1 are RES0.

If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.

Attributes

PMPIDR1 is a 32-bit register.

This register is part of the PMU block.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0DES_0PART_1

Bits [31:8]:

Reserved, RES0.

DES_0, bits [7:4]:

Designer, JEP106 identification code, bits [3:0].

The JEP106 identification and continuation codes are stored as follows:

  • PMPIDR1.DES_0: JEP106 identification code bits[3:0].
  • PMPIDR2.DES_1: JEP106 identification code bits[6:4].
  • PMPIDR4.DES_2: JEP106 continuation code. These codes indicate the designer of the component and not the implementer, except where the two are the same. To obtain a number, or to see the assignment of these codes, contact JEDEC http://www.jedec.org.

A JEP106 identification and continuation code takes the following form:

  • A sequence of zero or more numbers, all having the value 0x7F.
  • A following 8-bit number, that is not 0x7F, and where bit[7] is an odd parity bit. The parity bit in the JEP106 identification code is not included.

For example, Arm Limited is assigned the code 0x7F 0x7F 0x7F 0x7F 0x3B.

  • The continuation code is the number of times 0x7F appears before the final number. For example, a component designed by Arm Limited has the code 0x4.
  • The identification code is bits[6:0] of the final number. For example, a component designed by Arm Limited has the code 0x3B. This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

PART_1, bits [3:0]:

Part number, which is selected by the designer of the component and stored as follows:

For a component with a 12-bit part number:

  • PMPIDR1.PART_1 contains part number bits [11:8].

  • PMPIDR0.PART_0 contains part number bits [7:0]. For a component with a 16-bit part number:

  • PMPIDR1.PART_1 contains part number bits [15:12].

  • PMPIDR0.PART_0 contains part number bits [11:4].

  • PMPIDR2.REVISION contains part number bits [3:0]. When a 12-bit part number is used, PMPIDR2.REVISION indicates revision information.

The choice of using a 12-bit part number or 16-bit part number is specific to the designer of the component.

This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

Access Instructions

Accesses to this register use the following encodings:

Accessible at offset 0xFE4 from PMU

  • When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RO.

PMPIDR2

Performance Monitors Peripheral Identification Register 2

Provides information to identify a Performance Monitor component.

For more information, see 'About the Peripheral identification scheme'.

Configuration

This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented. Otherwise, direct accesses to PMPIDR2 are RES0.

If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.

Attributes

PMPIDR2 is a 32-bit register.

This register is part of the PMU block.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0REVISIONJEDECDES_1

Bits [31:8]:

Reserved, RES0.

REVISION, bits [7:4]:

Indicates either the revision of the component, or a portion of the part number of the component.

Where the component has a single 4-bit revision number, the revision number is an incremental value starting at zero for the first revision of the component.

Where the component has separate major and minor revision numbers, the major and minor revision numbers are each incremental values starting at zero for the first revision of the component. For each minor revision of the component, the minor revision number increments monotonically. For each major revision of the component, the major revision number increments monotonically and the minor revision begins again at zero.

For a component with a 12-bit part number with a single 4-bit revision number:

  • PMPIDR2.REVISION indicates the 4-bit revision number.

  • PMPIDR3.REVAND indicates component modifications. For a component with a 12-bit part number with separate major and minor revision numbers:

  • PMPIDR2.REVISION indicates the 4-bit major revision number.

  • PMPIDR3.REVAND indicates the 4-bit minor revision number. For a component with a 16-bit part number:

  • PMPIDR2.REVISION contains part number bits [3:0].

  • PMPIDR3.REVAND indicates the 4-bit revision number. The choice of which style of revision information is used is specific to the designer of the component, and might also be specific to each individual component with a different part number.

This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

JEDEC, bit [3]:

JEDEC-assigned JEP106 implementer code is used.

Reads as 0b1.

Access to this field is RO.

DES_1, bits [2:0]:

Designer, JEP106 identification code, bits [6:4].

The JEP106 identification and continuation codes are stored as follows:

  • PMPIDR1.DES_0: JEP106 identification code bits[3:0].
  • PMPIDR2.DES_1: JEP106 identification code bits[6:4].
  • PMPIDR4.DES_2: JEP106 continuation code. These codes indicate the designer of the component and not the implementer, except where the two are the same. To obtain a number, or to see the assignment of these codes, contact JEDEC http://www.jedec.org.

A JEP106 identification and continuation code takes the following form:

  • A sequence of zero or more numbers, all having the value 0x7F.
  • A following 8-bit number, that is not 0x7F, and where bit[7] is an odd parity bit. The parity bit in the JEP106 identification code is not included.

For example, Arm Limited is assigned the code 0x7F 0x7F 0x7F 0x7F 0x3B.

  • The continuation code is the number of times 0x7F appears before the final number. For example, a component designed by Arm Limited has the code 0x4.
  • The identification code is bits[6:0] of the final number. For example, a component designed by Arm Limited has the code 0x3B. This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

Access Instructions

Accesses to this register use the following encodings:

Accessible at offset 0xFE8 from PMU

  • When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RO.

PMPIDR3

Performance Monitors Peripheral Identification Register 3

Provides information to identify a Performance Monitor component.

For more information, see 'About the Peripheral identification scheme'.

Configuration

This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented. Otherwise, direct accesses to PMPIDR3 are RES0.

If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.

Attributes

PMPIDR3 is a 32-bit register.

This register is part of the PMU block.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0REVANDCMOD

Bits [31:8]:

Reserved, RES0.

REVAND, bits [7:4]:

Indicates either the revision of the component, or whether the component has been modified.

Where the component has a single 4-bit revision number, the revision number is an incremental value starting at zero for the first revision of the component.

Where the component has separate major and minor revision numbers, the major and minor revision numbers are each incremental values starting at zero for the first revision of the component. For each minor revision of the component, the minor revision number increments monotonically. For each major revision of the component, the major revision number increments monotonically and the minor revision begins again at zero.

For a component with a 12-bit part number with a single 4-bit revision number:

  • PMPIDR2.REVISION indicates the 4-bit revision number.

  • PMPIDR3.REVAND indicates component modifications. For a component with a 12-bit part number with separate major and minor revision numbers:

  • PMPIDR2.REVISION indicates the 4-bit major revision number.

  • PMPIDR3.REVAND indicates the 4-bit minor revision number. For a component with a 16-bit part number:

  • PMPIDR2.REVISION contains part number bits [3:0].

  • PMPIDR3.REVAND indicates the 4-bit revision number. The choice of which style of revision information is used is specific to the designer of the component, and might also be specific to each individual component with a different part number.

Where REVAND indicates component modifications, this indicates modifications such as errata fixes or metal fixes after implementation. Usually this value would be zero unless a modification has been performed. If the field is required for indicating component modifications, Arm recommends that component designers ensure that it can be changed by a metal fix, for example by driving it from registers that reset to zero.

PMPIDR3.CMOD might also indicate component modifications.

This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

CMOD, bits [3:0]:

Indicates whether the component has been modified from its original behavior. Examples of modifications include errata fixes or metal fixes after implementation. Usually this value would be zero unless a modification has been performed. If the field is required for indicating component modifications, Arm recommends that component designers ensure that it can be changed by a metal fix, for example by driving it from registers that reset to zero.

A value of 0b0000 means the component is not modified from the original design.

Any other value means the component has been modified in an IMPLEMENTATION DEFINED way.

For any two components with the same Unique Component Identifier:

  • If the value of the CMOD fields of both components equals zero, the components are identical.
  • If the CMOD fields of both components have the same nonzero value, it does not necessarily mean that they have the same modifications.
  • If the value of the CMOD field of either of the two components is nonzero, they might not be identical, even though they have the same Unique Component Identifier. PMPIDR3.REVAND might also indicate component modifications.

This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

Access Instructions

Accesses to this register use the following encodings:

Accessible at offset 0xFEC from PMU

  • When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RO.

PMPIDR4

Performance Monitors Peripheral Identification Register 4

Provides information to identify a Performance Monitor component.

For more information, see 'About the Peripheral identification scheme'.

Configuration

This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented. Otherwise, direct accesses to PMPIDR4 are RES0.

If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.

Attributes

PMPIDR4 is a 32-bit register.

This register is part of the PMU block.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0SIZEDES_2

Bits [31:8]:

Reserved, RES0.

SIZE, bits [7:4]:

Size of the component. Log2 of the number of 4KB pages from the start of the component to the end of the component ID registers.

Reads as 0b0000.

Access to this field is RO.

DES_2, bits [3:0]:

Designer, JEP106 continuation code.

The JEP106 identification and continuation codes are stored as follows:

  • PMPIDR1.DES_0: JEP106 identification code bits[3:0].
  • PMPIDR2.DES_1: JEP106 identification code bits[6:4].
  • PMPIDR4.DES_2: JEP106 continuation code. These codes indicate the designer of the component and not the implementer, except where the two are the same. To obtain a number, or to see the assignment of these codes, contact JEDEC http://www.jedec.org.

A JEP106 identification and continuation code takes the following form:

  • A sequence of zero or more numbers, all having the value 0x7F.
  • A following 8-bit number, that is not 0x7F, and where bit[7] is an odd parity bit. The parity bit in the JEP106 identification code is not included.

For example, Arm Limited is assigned the code 0x7F 0x7F 0x7F 0x7F 0x3B.

  • The continuation code is the number of times 0x7F appears before the final number. For example, a component designed by Arm Limited has the code 0x4.
  • The identification code is bits[6:0] of the final number. For example, a component designed by Arm Limited has the code 0x3B. This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

Access Instructions

Accesses to this register use the following encodings:

Accessible at offset 0xFD0 from PMU

  • When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RO.

PMPIDR5

Performance Monitors Peripheral Identification Register 5

Provides information to identify a Performance Monitor component.

For more information, see 'About the Peripheral identification scheme'.

Configuration

This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented. Otherwise, direct accesses to PMPIDR5 are RES0.

If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.

Attributes

PMPIDR5 is a 32-bit register.

This register is part of the PMU block.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0

Bits [31:0]:

Reserved, RES0.

Access Instructions

Accesses to this register use the following encodings:

Accessible at offset 0xFD4 from PMU

  • When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RO.

PMPIDR6

Performance Monitors Peripheral Identification Register 6

Provides information to identify a Performance Monitor component.

For more information, see 'About the Peripheral identification scheme'.

Configuration

This register is present only when FEAT_PMUv3_EXT is implemented and FEAT_PMU_PIDR is implemented. Otherwise, direct accesses to PMPIDR6 are RES0.

If FEAT_DoPD is implemented, this register is in the Core power domain. If FEAT_DoPD is not implemented, this register is in the Debug power domain.

Attributes

PMPIDR6 is a 32-bit register.

This register is part of the PMU block.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0

Bits [31:0]:

Reserved, RES0.

Access Instructions

Accesses to this register use the following encodings:

Accessible at offset 0xFD8 from PMU

  • When FEAT_DoPD is implemented and !IsCorePowered(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RO.

Log in to reply.