Cortex A72 Mpcore TRM 100095 0003 06 en
Cortex A72 Mpcore TRM 100095 0003 06 en
Revision: r0p3
Document History
Your access to the information in this document is conditional upon your acceptance that you will not use or permit others to use
the information for the purposes of determining whether implementations infringe any third party patents.
THIS DOCUMENT IS PROVIDED “AS IS”. ARM PROVIDES NO REPRESENTATIONS AND NO WARRANTIES,
EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE
WITH RESPECT TO THE DOCUMENT. For the avoidance of doubt, ARM makes no representation with respect to, and has
undertaken no analysis to identify or understand the scope and content of, third party patents, copyrights, trade secrets, or other
rights.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL ARM BE LIABLE FOR ANY DAMAGES,
INCLUDING WITHOUT LIMITATION ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR
CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING
OUT OF ANY USE OF THIS DOCUMENT, EVEN IF ARM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
This document consists solely of commercial items. You shall be responsible for ensuring that any use, duplication or disclosure of
this document complies fully with any relevant export laws and regulations to assure that this document or any portion thereof is
not exported, directly or indirectly, in violation of such export laws. Use of the word “partner” in reference to ARM’s customers is
not intended to create or refer to any partnership relationship with any other company. ARM may make changes to this document at
any time and without notice.
If any of the provisions contained in these terms conflict with any of the provisions of any signed written agreement covering this
document with ARM, then the signed written agreement prevails over and supersedes the conflicting provisions of these terms.
This document may be translated into other languages for convenience, and you agree that if there is any conflict between the
English version of this document and any translation, the terms of the English version of the Agreement shall prevail.
Words and logos marked with ® or ™ are registered trademarks or trademarks of ARM Limited or its affiliates in the EU and/or
elsewhere. All rights reserved. Other brands and names mentioned in this document may be the trademarks of their respective
owners. Please follow ARM’s trademark usage guidelines at http://www.arm.com/about/trademark-usage-guidelines.php
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2
reserved.
Non-Confidential
ARM® Cortex®-A72 MPCore Processor
LES-PRE-20349
Confidentiality Status
This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in
accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3
reserved.
Non-Confidential
Contents
ARM® Cortex®-A72 MPCore Processor Technical
Reference Manual
Preface
About this book ...................................................... ...................................................... 9
Feedback .................................................................................................................... 12
Chapter 1 Introduction
1.1 About the Cortex-A72 processor ...................................... ...................................... 1-14
1.2 Compliance .............................................................................................................. 1-15
1.3 Features ......................................................... ......................................................... 1-17
1.4 Interfaces ........................................................ ........................................................ 1-18
1.5 Implementation options ............................................. ............................................. 1-19
1.6 Test features ............................................................................................................ 1-20
1.7 Product documentation and design flow .................................................................. 1-21
1.8 Product revisions .................................................. .................................................. 1-23
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4
reserved.
Non-Confidential
3.2 ARMv8-A architecture concepts .............................................................................. 3-61
3.3 ThumbEE instruction set ............................................ ............................................ 3-69
3.4 Jazelle implementation ............................................................................................ 3-70
3.5 Memory model .................................................... .................................................... 3-72
Chapter 10 Debug
10.1 About debug ........................................................................................................ 10-344
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 5
reserved.
Non-Confidential
10.2 Debug register interfaces .......................................... .......................................... 10-346
10.3 AArch64 debug register summary ................................... ................................... 10-348
10.4 AArch64 debug register descriptions ................................. ................................. 10-350
10.5 AArch32 debug register summary ................................... ................................... 10-356
10.6 AArch32 debug register descriptions ................................. ................................. 10-358
10.7 Memory-mapped register summary .................................. .................................. 10-362
10.8 Memory-mapped register descriptions ................................................................ 10-366
10.9 Debug events ................................................... ................................................... 10-380
10.10 External debug interface ...................................................................................... 10-381
10.11 ROM table ..................................................... ..................................................... 10-384
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6
reserved.
Non-Confidential
A.2 Clock signals ................................................................................................ Appx-A-531
A.3 Reset signals ............................................... ............................................... Appx-A-532
A.4 Configuration signals ......................................... ......................................... Appx-A-533
A.5 GIC CPU interface signals ..................................... ..................................... Appx-A-535
A.6 Generic Timer signals .................................................................................. Appx-A-537
A.7 Power control signals ......................................... ......................................... Appx-A-538
A.8 ACE and CHI interface signals .................................................................... Appx-A-540
A.9 CHI interface signals .................................................................................... Appx-A-543
A.10 ACE interface signals ......................................... ......................................... Appx-A-548
A.11 ACP interface signals ......................................... ......................................... Appx-A-553
A.12 Debug interface signals ....................................... ....................................... Appx-A-556
A.13 ETM interface ............................................... ............................................... Appx-A-559
A.14 Cross trigger channel interface .................................................................... Appx-A-561
A.15 PMU signals ................................................ ................................................ Appx-A-562
A.16 DFT and MBIST signals ....................................... ....................................... Appx-A-563
Appendix C Revisions
C.1 Revisions .................................................. .................................................. Appx-C-575
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7
reserved.
Non-Confidential
Preface
This preface introduces the ARM® Cortex®-A72 MPCore Processor Technical Reference Manual.
It contains the following:
• About this book on page 9.
• Feedback on page 12.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8
reserved.
Non-Confidential
Preface
About this book
Intended audience
This document is written for system designers, system integrators, and programmers who are designing
or programming a System-on-Chip (SoC) that uses the Cortex-A72 processor.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 9
reserved.
Non-Confidential
Preface
About this book
Glossary
The ARM Glossary is a list of terms used in ARM documentation, together with definitions for those
terms. The ARM Glossary does not contain terms that are industry standard unless the ARM meaning
differs from the generally accepted meaning.
See the ARM Glossary for more information.
Typographic conventions
italic
Introduces special terminology, denotes cross-references, and citations.
bold
Highlights interface elements, such as menu names. Denotes signal names. Also used for terms
in descriptive lists, where appropriate.
monospace
Denotes text that you can enter at the keyboard, such as commands, file and program names,
and source code.
monospace
Denotes a permitted abbreviation for a command or option. You can enter the underlined text
instead of the full command or option name.
monospace italic
Denotes arguments to monospace text where the argument is to be replaced by a specific value.
monospace bold
Denotes language keywords when used outside example code.
<and>
Encloses replaceable terms for assembler syntax where they appear in code or code fragments.
For example:
MRC p15, 0, <Rd>, <CRn>, <CRm>, <Opcode_2>
SMALL CAPITALS
Used in body text for a few terms that have specific technical meanings, that are defined in the
ARM glossary. For example, IMPLEMENTATION DEFINED, IMPLEMENTATION SPECIFIC, UNKNOWN, and
UNPREDICTABLE.
Timing diagrams
The following figure explains the components used in timing diagrams. Variations, when they occur,
have clear labels. You must not assume any timing information that is not explicit in the diagrams.
Shaded bus and signal areas are undefined, so the bus or signal can assume any value within the shaded
area at that time. The actual level is unimportant and does not affect normal operation.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10
reserved.
Non-Confidential
Preface
About this book
Clock
HIGH to LOW
Transient
HIGH/LOW to HIGH
Bus stable
Bus change
Signals
The signal conventions are:
Signal level
The level of an asserted signal depends on whether the signal is active-HIGH or active-LOW.
Asserted means:
• HIGH for active-HIGH signals.
• LOW for active-LOW signals.
Lowercase n
At the start or end of a signal name denotes an active-LOW signal.
Additional reading
This book contains information that is specific to this product. See the following documents for other
relevant information.
ARM publications
• ARM® AMBA® APB Protocol Specification (ARM IHI 0024).
• ARM® AMBA® 3 ATB Protocol Specification (ARM IHI 0032).
• ARM® AMBA® AXI and ACE Protocol Specification (ARM IHI 0022).
• ARM® AMBA® AXI4-Stream Protocol Specification (ARM IHI 0051).
• ARM® Architecture Reference Manual ARMv8, for ARMv8-A architecture
profile (ARM DDI 0487).
• ARM® CoreSight™ SoC-400 Technical Reference Manual (ARM DII 0480).
• ARM® Debug Interface Architecture Specification ADIv5.0 to ADIv5.2 (ARM IHI 0031).
• ARM® Embedded Trace Macrocell Architecture Specification, ETMv4 (ARM IHI 0064).
• ARM® Generic Interrupt Controller Architecture Specification GICv3 (ARM IHI 0048).
The following confidential books are only available to licensees:
• ARM® CoreSight™ Architecture Specification (ARM IHI 0029).
• ARM® AMBA® 5 CHI Protocol Specification (ARM IHI 0050).
• ARM® Cortex-A72 MPCore Processor Configuration and Sign-off Guide (ARM 100098).
• ARM® Cortex-A72 MPCore Processor Integration Manual (ARM 100096).
• ARM® Cortex-A72 MPCore Processor Cryptography Extension Technical Reference
Manual (ARM 100097).
Other publications
• ANSI/IEEE, IEEE Standard for Binary Floating-Point Arithmetic, Std 754-1985.
• ANSI/IEEE, IEEE Standard for Floating-Point Arithmetic, Std 754-2008.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11
reserved.
Non-Confidential
Preface
Feedback
Feedback
Feedback on content
If you have comments on content then send an e-mail to [email protected]. Give:
• The title ARM® Cortex®-A72 MPCore Processor Technical Reference Manual.
• The number ARM 100095_0003_06_en.
• If applicable, the page number(s) to which your comments refer.
• A concise explanation of your comments.
ARM also welcomes general suggestions for additions and improvements.
Note
ARM tests the PDF only in Adobe Acrobat and Acrobat Reader, and cannot guarantee the quality of the
represented document when used with any other PDF reader.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12
reserved.
Non-Confidential
Chapter 1
Introduction
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 1-13
reserved.
Non-Confidential
1 Introduction
1.1 About the Cortex-A72 processor
Miscellaneous
L1 L1 L1 L1 L1 L1 L1 L1
TLBs TLBs TLBs TLBs
ICache DCache ICache DCache ICache DCache ICache DCache
Snoop
Slave Master Control L2 Cache
Unit
See 2.1.1 Components of the processor on page 2-26 for a description of the Cortex-A72 processor
functional components.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 1-14
reserved.
Non-Confidential
1 Introduction
1.2 Compliance
1.2 Compliance
The Cortex-A72 processor complies with, or implements, the specifications described in this section.
This TRM complements architecture reference manuals, architecture specifications, protocol
specifications, and relevant external standards. It does not duplicate information from these sources.
This section contains the following subsections:
• 1.2.1 ARM architecture on page 1-15.
• 1.2.2 Advanced Microcontroller Bus Architecture (AMBA) on page 1-15.
• 1.2.3 CHI architecture on page 1-15.
• 1.2.4 Generic Interrupt Controller architecture on page 1-15.
• 1.2.5 Generic Timer architecture on page 1-16.
• 1.2.6 Debug architecture on page 1-16.
• 1.2.7 Embedded Trace Macrocell architecture on page 1-16.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 1-15
reserved.
Non-Confidential
1 Introduction
1.2 Compliance
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 1-16
reserved.
Non-Confidential
1 Introduction
1.3 Features
1.3 Features
The Cortex-A72 processor includes the following features:
• Full implementation of the ARMv8-A architecture profile. See 1.2 Compliance on page 1-15.
• Superscalar, variable-length, out-of-order pipeline.
• Dynamic branch prediction with Branch Target Buffer (BTB) and Global History Buffer (GHB)
RAMs, a return stack, and an indirect predictor.
• 48-entry fully-associative L1 instruction Translation Lookaside Buffer (TLB) with native support for
4KB, 64KB, and 1MB page sizes.
• 32-entry fully-associative L1 data TLB with native support for 4KB, 64KB, and 1MB page sizes.
• 4-way set-associative unified 1024-entry Level 2 (L2) TLB in each processor.
• Fixed 48K L1 instruction cache and 32K L1 data cache.
• Shared L2 cache of 512KB, 1MB, 2MB or 4MB configurable size.
• Optional Error Correction Code (ECC) protection for L2 cache, and optional ECC protection for L1
data cache and parity protection for L1 instruction cache.
• AMBA 4 AXI Coherency Extensions (ACE) or CHI master interface.
• Optional Accelerator Coherency Port (ACP) implemented as an AXI4 slave interface.
• Embedded Trace Macrocell (ETM) based on the ETMv4 architecture.
• Performance Monitor Unit (PMU) support based on the PMUv3 architecture.
• Cross Trigger Interface (CTI) for multiprocessor debugging.
• Optional Cryptography engine.
• Optional Generic Interrupt Controller (GIC) CPU interface.
• Support for power management with multiple power domains.
Note
The optional Cryptography engine is not included in the base product of the Cortex-A72 processor. ARM
requires licensees to have contractual rights to obtain the Cortex-A72 processor Cryptography engine.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 1-17
reserved.
Non-Confidential
1 Introduction
1.4 Interfaces
1.4 Interfaces
The Cortex-A72 processor has the following external interfaces:
• Memory interface that implements either an ACE or CHI interface.
• Optional ACP that implements an AXI slave interface.
• Optional GIC CPU interface that implements an AXI4-Stream interface
• Debug interface that implements an APB slave interface.
• Trace interface that implements an ATB interface.
• PMU interface.
• Generic Timer interface.
• Cross trigger interface.
• Power management interface.
• Design For Test (DFT).
• Memory Built-In Self Test (MBIST).
See 2.2 Interfaces on page 2-29 for more information.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 1-18
reserved.
Non-Confidential
1 Introduction
1.5 Implementation options
Note
• All the cores share an integrated L2 cache and optional GIC CPU interface. Each core has the same
configuration for the Cryptography engine and L1 ECC or parity.
• The optional Cryptography engine is not included in the base product of the Cortex-A72 processor.
ARM requires licensees to have contractual rights to obtain the Cortex-A72 processor Cryptography
engine.
• The L2 Tag RAM register slice option adds register slices to the L2 Tag RAMs. The L2 Data RAM
register slice option adds register slices to the L2 Data RAMs. The following table lists valid
combinations of the L2 Tag RAM and L2 Data RAM register slice options.
Table 1-2 Valid combinations of L2 Tag and Data RAM register slice
0 0
0 1
1 1
0 2
1 2
• If the L2 arbitration register slice is included then it adds an additional pipeline stage in the
processor-L2 arbitration logic interface.
• The Cortex-A72 processor must be configured with a CHI interface to connect to a CHI interconnect.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 1-19
reserved.
Non-Confidential
1 Introduction
1.6 Test features
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 1-20
reserved.
Non-Confidential
1 Introduction
1.7 Product documentation and design flow
1.7.1 Documentation
The Cortex-A72 processor documentation is as follows:
Technical Reference Manual
The Technical Reference Manual (TRM) describes the functionality and the effects of functional
options on the behavior of the processor. It is required at all stages of the design flow. The
choices made in the design flow can mean that some behavior described in the TRM is not
relevant. If you are programming the multiprocessor, additional information must be obtained
from:
• The implementer to determine the build configuration of the implementation.
• The integrator to determine the pin configuration of the device that you are using.
Note
• The out-of-order design of the Cortex-A72 processor pipeline makes it impossible to provide
accurate timing information for complex instructions. The timing of an instruction can be
affected by factors such as:
— Other concurrent instructions.
— Memory system activity.
— Events outside the instruction flow.
• Timing information has been provided in the past for some ARM processors to assist in the
hand tuning of performance critical code sequences or in the development of an instruction
scheduler within a compiler. This timing information is not required for producing optimized
instruction sequences on the Cortex-A72 processor. The out-of-order pipeline of the
processor can schedule and execute the instructions in an optimal fashion without any
instruction reordering required.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 1-21
reserved.
Non-Confidential
1 Introduction
1.7 Product documentation and design flow
Integration Manual
The Integration Manual (IM) describes how to integrate the processor into an SoC. It describes
the signals that the integrator must tie off to configure the macrocell for the required integration.
Some of the implementation options might affect which integration options are available.
The IM is a confidential book that is only available to licensees.
Note
This manual refers to IMPLEMENTATION DEFINED features that apply to build configuration options.
Reference to a feature that is included means that the appropriate build and signal configuration options
have been selected. Reference to an enabled feature means that the feature has also been configured by
software.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 1-22
reserved.
Non-Confidential
1 Introduction
1.8 Product revisions
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 1-23
reserved.
Non-Confidential
Chapter 2
Functional Description
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-24
reserved.
Non-Confidential
2 Functional Description
2.1 About the Cortex-A72 processor functions
Cortex-A72 processor
APB ATB
AXI4-Stream
Miscellaneous
ACP† Memory †
Depending on the implementation, this feature might not be available
interface
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-25
reserved.
Non-Confidential
2 Functional Description
2.1 About the Cortex-A72 processor functions
Instruction fetch
The instruction fetch unit fetches instructions from L1 instruction cache and delivers up to three
instructions per cycle to the instruction decode unit. It supports dynamic and static branch prediction.
The instruction fetch unit includes:
• L1 instruction cache that is a 48KB 3-way set-associative cache with a 64-byte cache line and
optional dual-bit parity protection per 32 bits in the Data RAM and 36 bits in the Tag RAM.
• 48-entry fully-associative L1 instruction Translation Lookaside Buffer (TLB) with native support for
4KB, 64KB, and 1MB page sizes.
• 2-level dynamic predictor with Branch Target Buffer (BTB) for fast target generation.
• Static branch predictor.
• Indirect predictor.
• Return stack.
Instruction decode
The instruction decode unit decodes the following instruction sets:
• A32.
• T32.
• A64.
The instruction decode unit supports the A32, T32, and A64 Advanced SIMD and Floating-point
instruction sets. The instruction decode unit also performs register renaming to facilitate out-of-order
execution by removing Write-After-Write (WAW) and Write-After-Read (WAR) hazards.
Instruction dispatch
The instruction dispatch unit controls when the decoded instructions are dispatched to the execution
pipelines and when the returned results are retired. It includes:
• The ARM core general-purpose registers.
• The Advanced SIMD and Floating-point register set.
• The AArch32 CP15 and AArch64 System registers.
Integer execute
The integer execute unit includes:
• Two Arithmetic Logical Unit (ALU) pipelines.
• Integer multiply-accumulate and ALU pipelines.
• Iterative integer divide hardware.
• Branch and instruction condition codes resolution logic.
• Result forwarding and comparator logic.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-26
reserved.
Non-Confidential
2 Functional Description
2.1 About the Cortex-A72 processor functions
Load/Store unit
The Load/Store (LS) execution unit executes load and store instructions and encompasses the L1 data
side memory system. It also services memory coherency requests from the L2 memory system.
The load/store unit includes:
• L1 data cache that is a 32KB 2-way set-associative cache with a 64-byte cache line and optional
Error Correction Code (ECC) protection per 32 bits.
• 32-entry fully-associative L1 data TLB with native support for 4KB, 64KB, and 1MB page sizes.
• Automatic hardware prefetcher that generates prefetches targeting the L1D cache and the L2 cache.
L2 memory system
The L2 memory system services L1 instruction and data cache misses from each processor. It manages
requests on the AMBA 4 AXI Coherency Extensions (ACE) or CHI master interface and the optional
Accelerator Coherency Port (ACP) slave interface.
The L2 memory system includes:
• L2 cache that is:
— 512KB, 1MB, 2MB, or 4MB configurable size.
— 16-way set-associative cache with optional data ECC protection per 64 bits.
• Duplicate copy of L1 data cache Tag RAMs from each processor for handling snoop requests.
• 4-way set-associative of 1024-entry L2 TLB in each processor.
• Automatic hardware prefetcher with programmable instruction fetch distance.
Related information
Chapter 7 Level 2 Memory System on page 7-298.
Note
The optional Cryptography engine is not included in the base product of the Cortex-A72 processor. ARM
requires licensees to have contractual rights to obtain the Cortex-A72 processor Cryptography engine.
Related information
Chapter 14 Advanced SIMD and Floating-point on page 14-511.
Related information
Chapter 8 Generic Interrupt Controller CPU Interface on page 8-318.
Generic Timer
The Generic Timer provides the ability to schedule events and trigger interrupts.
Related information
Chapter 9 Generic Timer on page 9-338.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-27
reserved.
Non-Confidential
2 Functional Description
2.1 About the Cortex-A72 processor functions
• Support for ARMv8 Debug architecture with an AMBA Advanced Peripheral Bus (APB) slave
interface for access to the debug registers.
• Performance Monitor Unit (PMU) based on the PMUv3 architecture.
• Embedded Trace Macrocell (ETM) based on the ETMv4 architecture and an AMBA Advanced Trace
Bus (ATB) interface for each processor.
• Cross trigger interfaces for core debugging.
Related information
Chapter 10 Debug on page 10-343.
Chapter 11 Performance Monitor Unit on page 11-395.
Chapter 12 Cross Trigger on page 12-434.
Chapter 13 Embedded Trace Macrocell on page 13-457.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-28
reserved.
Non-Confidential
2 Functional Description
2.2 Interfaces
2.2 Interfaces
This section describes the external interfaces within the Cortex-A72 processor.
This section contains the following subsections:
• 2.2.1 Memory interface on page 2-29.
• 2.2.2 Optional Accelerator Coherency Port on page 2-29.
• 2.2.3 Optional GIC CPU interface on page 2-29.
• 2.2.4 Debug interface on page 2-29.
• 2.2.5 Trace interface on page 2-30.
• 2.2.6 PMU interface on page 2-30.
• 2.2.7 Generic Timer interface on page 2-30.
• 2.2.8 Cross trigger interface on page 2-30.
• 2.2.9 Power management interface on page 2-30.
• 2.2.10 DFT on page 2-30.
• 2.2.11 MBIST on page 2-30.
Related information
10.10 External debug interface on page 10-381.
AMBA AXI and ACE Protocol Specification.
Related information
10.10 External debug interface on page 10-381.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-29
reserved.
Non-Confidential
2 Functional Description
2.2 Interfaces
Related information
13.3 ETM functional description on page 13-461.
Related information
Chapter 11 Performance Monitor Unit on page 11-395.
Related information
Chapter 9 Generic Timer on page 9-338.
Related information
Chapter 12 Cross Trigger on page 12-434.
Related information
Processor dynamic retention on page 2-46.
L2 RAMs dynamic retention on page 2-48.
2.2.10 DFT
The processor implements a Design For Test (DFT) interface that enables an industry-standard
Automatic Test Pattern Generation (ATPG) tool to test logic outside of the embedded memories.
Related information
A.16.1 DFT signals on page Appx-A-563.
ARM Cortex-A72 MPCore Processor Integration Manual.
2.2.11 MBIST
The Memory Built-In Self Test (MBIST) interface provides support for manufacturing testing of the
memories embedded in the Cortex-A72 processor. MBIST is the industry-standard method of testing
embedded memories. MBIST works by performing sequences of reads and writes to the memory based
on test algorithms.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-30
reserved.
Non-Confidential
2 Functional Description
2.2 Interfaces
Related information
A.16 DFT and MBIST signals on page Appx-A-563.
ARM Cortex-A72 MPCore Processor Integration Manual.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-31
reserved.
Non-Confidential
2 Functional Description
2.3 Clocking and resets
2.3.1 Clocks
The processor has the following clock inputs:
CLK
This is the main clock of the Cortex-A72 processor. All cores, the shared L2 memory system
logic, the GIC, and the Generic Timer are clocked with a distributed version of CLK.
PCLKDBG
This is the APB clock that controls the Debug APB, CTI, and CTM logic in the PCLKDBG
domain. PCLKDBG is asynchronous to CLK.
The processor has the following clock enable inputs:
ACLKENM
The AXI master interface is a synchronous AXI interface that can operate at any integer
multiple that is equal to or slower than the processor clock, CLK, using the ACLKENM signal.
For example, you can set the CLK to ACLKM frequency ratio to 1:1, 2:1, or 3:1, where
ACLKM is the AXI master clock. ACLKENM asserts one CLK cycle prior to the rising edge
of ACLKM. The CLK to ACLKM frequency ratio can be changed dynamically using
ACLKENM.
The following figure shows a timing example of ACLKENM that changes the CLK to
ACLKM frequency ratio from 3:1 to 1:1.
CLK
ACLKENM
Figure 2-2 ACLKENM with CLK:ACLKM ratio changing from 3:1 to 1:1
Note
• The previous figure shows the timing relationship between the AXI master clock, ACLKM
and ACLKENM, where ACLKENM asserts one CLK cycle before the rising edge of
ACLKM. It is important that the relationship between ACLKM and ACLKENM is
maintained.
• The input signal ACLKENM exists in the processor if it is configured to include the ACE
interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-32
reserved.
Non-Confidential
2 Functional Description
2.3 Clocking and resets
SCLKEN
The CHI interface is a synchronous interface that can operate at any integer multiple that is
equal to or slower than the processor clock, CLK, using the SCLKEN signal. For example, you
can set the CLK to SCLK frequency ratio to 1:1, 2:1, or 3:1, where SCLK is the CHI clock.
SCLKEN asserts one CLK cycle prior to the rising edge of SCLK. The CLK to SCLK
frequency ratio can be changed dynamically using SCLKEN.
The following figure shows a timing example of SCLKEN that changes the CLK to SCLK
frequency ratio from 3:1 to 1:1.
CLK
SCLKEN
Figure 2-3 SCLKEN with CLK:SCLK ratio changing from 3:1 to 1:1
Note
• The previous figure shows the timing relationship between the CHI clock, SCLK and
SCLKEN, where SCLKEN asserts one CLK cycle before the rising edge of SCLK. It is
important that the relationship between SCLK and SCLKEN is maintained.
• The input signal SCLKEN exists in the processor if it is configured to include the CHI
interface.
ACLKENS
ACP is a synchronous AXI slave interface that can operate at any integer multiple that is equal
to or slower than the processor clock, CLK, using the ACLKENS signal. For example, the
CLK to ACLKS frequency ratio can be 1:1, 2:1, or 3:1, where ACLKS is the AXI slave clock.
ACLKENS asserts one CLK cycle before the rising edge of ACLKS. The CLK to ACLKS
frequency ratio can be changed dynamically using ACLKENS.
The following figure shows a timing example of ACLKENS that changes the CLK to ACLKS
frequency ratio from 3:1 to 1:1.
CLK
ACLKENS
Figure 2-4 ACLKENS with CLK:ACLKS ratio changing from 3:1 to 1:1
Note
The previous figure shows the timing relationship between the ACP clock, ACLKS and
ACLKENS, where ACLKENS asserts one CLK cycle before the rising edge of ACLKS. It is
important that the relationship between ACLKS and ACLKENS is maintained.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-33
reserved.
Non-Confidential
2 Functional Description
2.3 Clocking and resets
PCLKENDBG
The Debug APB interface is an asynchronous interface that can operate at any integer multiple
that is equal to or slower than the APB clock, PCLKDBG, using the PCLKENDBG signal. For
example, the PCLKDBG to internal PCLKDBG frequency ratio can be 1:1, 2:1, or 3:1.
PCLKENDBG asserts one PCLKDBG cycle before the rising edge of the internal
PCLKDBG. The PCLKDBG to internal PCLKDBG frequency ratio can be changed
dynamically using PCLKENDBG.
The following figure shows a timing example of PCLKENDBG that changes the PCLKDBG
to internal PCLKDBG frequency ratio from 2:1 to 1:1.
PCLKDBG
PCLKENDBG
PCLKENDBG is HIGH, one
PCLKDBG cycle before the rising edge
of internal PCLKDBG
internal PCLKDBG
Figure 2-5 PCLKENDBG with PCLKDBG:internal PCLKDBG ratio changing from 2:1 to 1:1
ATCLKEN
The ATB interface is a synchronous interface that can operate at any integer multiple that is
slower than the processor clock, CLK, using the ATCLKEN signal. For example, the CLK to
ATCLK frequency ratio can be 2:1, 3:1, or 4:1, where ATCLK is the ATB bus clock.
ATCLKEN asserts three CLK cycles before the rising edge of ATCLK. Three CLK cycles are
required to allow propagation delay from the ATCLKEN input to the processor. The CLK to
ATCLK frequency ratio can be changed dynamically using ATCLKEN.
The following figure shows a timing example of ATCLKEN where the CLK to ATCLK
frequency ratio is 2:1.
3 CLK cycles
CLK
ATCLKEN
ATCLKEN asserts three CLK cycles
before the rising edge of ATCLK
ATCLK
CLK:ATCLK = 2:1
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-34
reserved.
Non-Confidential
2 Functional Description
2.3 Clocking and resets
CNTCLKEN
The CNTVALUEB is a synchronous 64-bit binary encoded counter value that can operate at
any integer multiple that is equal to or slower than the processor clock, CLK, using the
CNTCLKEN signal. For example, you can set the CLK to CNTCLK frequency ratio to 1:1,
2:1, or 3:1, where CNTCLK is the system counter clock. CNTCLKEN asserts one CLK cycle
prior to the rising edge of CNTCLK.
The following figure shows a timing example of CNTCLKEN where the CLK to CNTCLK
frequency ratio is 2:1.
CLK
CNTCLKEN
CNTCLKEN is HIGH, one CLK cycle
before the rising edge of CNTCLK
CNTCLK
CLK:CNTCLK = 2:1
Related information
L2 Wait for Interrupt on page 2-44.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-35
reserved.
Non-Confidential
2 Functional Description
2.3 Clocking and resets
2.3.2 Resets
The Cortex-A72 processor has the following reset inputs:
nCPUPORESET[N:0]
Initializes the entire core logic, including Debug, ETM, breakpoint and watchpoint logic in the
processor CLK domain. Each core has one nCPUPORESET reset input.
nCORERESET[N:0]
Initializes the entire core but excludes the Debug, ETM, breakpoint and watchpoint logic. Each
core has one nCORERESET reset input.
nPRESETDBG
Initializes the shared Debug APB, CTI, and CTM logic in the PCLKDBG domain.
nL2RESET
Initializes the shared L2 memory system, GIC, and Timer logic.
nMBISTRESET
Performs an MBIST mode reset.
All resets are active-LOW inputs. The reset signals enable you to reset different areas of the processor
independently. The following table shows the areas of the processor controlled by the various reset
signals.
Reset signal Coreb (CLK) Debug and Debug APB, CTI, and L2 memory system, Individual processor
ETM (CLK) CTM (PCLKDBG) shared GIC and GIC and Timer logic
Timer logic
nPRESETDBG - - Reset - -
The following table shows the valid reset combinations the processor supports. The core which is being
reset is indicated by [n].
Full powerup reset for the nCPUPORESET[N:0] all = 0 All logic is held in reset.
processor
nCORERESET[N:0] all = 0
nPRESETDBG 0
nL2RESET 0
nMBISTRESET 1
Individual core powerup reset nCPUPORESET[N:0] [n] = 0 Individual core in the CLK domain and Debug in the PCLKDBG
with Debug (PCLKDBG) domain are held in reset, so that the core and Debug PCLKDBG
nCORERESET[N:0] [n] = 0c
reset domain can be powered up.
nPRESETDBG 0
nL2RESET 1
nMBISTRESET 1
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-36
reserved.
Non-Confidential
2 Functional Description
2.3 Clocking and resets
All core and L2 reset with nCPUPORESET[N:0] all = 0 All cores and L2 are held in reset, so they can be powered up. This
Debug (PCLKDBG) active enables external debug over powerdown for all cores.
nCORERESET[N:0] all = 0c
nPRESETDBG 1
nL2RESET 0
nMBISTRESET 1
Individual core powerup reset nCPUPORESET[N:0] [n] = 0 Individual core is held in reset, so that the core can be powered up.
with Debug (PCLKDBG) This enables external debug over powerdown for the processor
nCORERESET[N:0] [n] = 0c
active that is held in reset.
nPRESETDBG 1
nL2RESET 1
nMBISTRESET 1
All cores Warm reset nCPUPORESET[N:0] all = 1 All logic, excluding Debug and ETM (CLK and PCLKDBG) and
L2, is held in reset. All breakpoints and watchpoints are retained.
nCORERESET[N:0] all = 0
nPRESETDBG 1
nL2RESET 1
nMBISTRESET 1
All cores Warm reset and L2 nCPUPORESET[N:0] all = 1 All logic, excluding Debug and ETM (CLK and PCLKDBG), is
reset held in reset. All breakpoints and watchpoints are retained.
nCORERESET[N:0] all = 0
nPRESETDBG 1
nL2RESET 0
nMBISTRESET 1
Individual core Warm reset nCPUPORESET[N:0] [n] = 1 Individual core logic, excluding the ETM and Debug in the CLK
domain, is held in reset. Breakpoints and watchpoints for that core
nCORERESET[N:0] [n] = 0
are retained.
nPRESETDBG 1
nL2RESET 1
nMBISTRESET 1
Debug (PCLKDBG) reset nCPUPORESET[N:0] all = 1 Debug in the PCLKDBG domain is held in reset, so that the
Debug PCLKDBG domain can be powered up.
nCORERESET[N:0] all = 1
nPRESETDBG 0
nL2RESET 1
nMBISTRESET 1
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-37
reserved.
Non-Confidential
2 Functional Description
2.3 Clocking and resets
Note
• nL2RESET resets the shared L2 memory system logic, GIC, and Generic Timer that is common to
all cores. This reset must not assert while any individual processor is active.
• nPRESETDBG resets the shared Debug, PCLKDBG, that is common to all cores. This reset must
not assert while any individual core is actively being debugged in normal operating mode or during
external debug over powerdown.
There are specific requirements that you must meet to reset each reset area listed in Table 2-1 Areas that
the reset signals control on page 2-36. Not adhering to these requirements can lead to a reset area that is
not functional.
The reset sequences in the following sections are the only reset sequences that ARM recommends. Any
deviation from these sequences might cause an improper reset of that reset domain. The supported reset
sequences are:
• Powerup reset on page 2-38.
• Warm reset on page 2-39.
• Debug PCLKDBG reset on page 2-39.
• WARMRSTREQ and DBGRSTREQ on page 2-40.
• Memory arrays reset on page 2-40.
Powerup reset
Powerup reset is also known as Cold reset. This section describes the sequence for:
• A full powerup reset.
• An individual core powerup reset.
The full powerup reset initializes all logic in the processor. You must apply powerup reset to the
processor when power is first applied to the SoC. Logic in all clock domains are placed in a benign state
following the deassertion of the reset sequence.
The following figure shows the full powerup reset sequence for the Cortex-A72 processor.
CLK
On full powerup reset for the processor, perform the following reset sequence:
1. Apply nCPUPORESET, nL2RESET, and nPRESETDBG. The remaining core reset,
nCORERESET can assert, but is not required.
2. nCPUPORESET and nL2RESET must assert for at least 16 CLK cycles. nPRESETDBG must
assert for at least 16 PCLKDBG cycles. Holding the resets for this duration ensures that the resets
propagate to all locations within the processor.
3. nL2RESET must deassert in the same cycle as the core resets, or before any of the core resets
deassert.
Individual core powerup reset initializes all logic in a single core. You must apply the powerup reset
when the individual core is being powered up, so that power to the core can be safely applied. You must
apply the correct sequence before applying a powerup reset to that core.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-38
reserved.
Non-Confidential
2 Functional Description
2.3 Clocking and resets
Note
If core dynamic retention using the CPU Q-channel interface is used, the core must be in quiescent state
with STANDBYWFI asserted and CPUQREQn, CPUQACCEPTn, and CPUQACCEPT must be
LOW before nCPUPORESET is applied.
Warm reset
The Warm reset initializes all logic in the individual core apart from the Debug and ETM logic in the
CLK domain. All breakpoints and watchpoints are retained during a Warm reset sequence.
The following figure shows the Warm reset sequence for the Cortex-A72 processor.
CLK
nCPUPORESET[N:0]
nL2RESET
nPRESETDBG
16 CLK cycles minimum
nCORERESET[N:0]
Individual core Warm reset initializes all logic in a single core apart from its Debug, ETM, breakpoint,
and watchpoint logic. Breakpoints and watchpoints for that core are retained. You must apply the correct
sequence before applying Warm reset to that core.
For individual processor Warm reset:
• You must apply steps 1 on page 2-53 to 12 on page 2-53 in the core powerdown sequence, see
Individual core powerdown on page 2-52, and wait until STANDBYWFI is asserted, indicating that
the core is idle, before asserting nCORERESET for that core.
• nCORERESET for that core must assert for at least 16 CLK cycles.
• nL2RESET must not assert while any individual core is active.
• nPRESETDBG must not assert while any individual core is actively being debugged in normal
operating mode.
Note
If core dynamic retention using the CPU Q-channel interface is used, the core must be in quiescent state
with STANDBYWFI asserted and CPUQREQn, CPUQACCEPTn, and CPUQACCEPT must be
LOW before nCORERESET is applied.
Use nPRESETDBG to reset the Debug APB, CTI, and CTM logic in the PCLKDBG domain. This
reset holds the Debug PCLKDBG unit in a reset state so that the power to the unit can be safely applied
during powerup.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-39
reserved.
Non-Confidential
2 Functional Description
2.3 Clocking and resets
To safely reset the Debug PCLKDBG unit, nPRESETDBG must assert for a minimum of 16
PCLKDBG cycles.
The following figure shows the Debug PCLKDBG reset sequence.
PCLKDBG
nCPUPORESET[N:0]
nCORERESET[N:0]
nL2RESET
16 PCLKDBG cycles minimum
nPRESETDBG
The ARMv8-A architecture provides a mechanism to configure whether a processor uses AArch32 or
AArch64 at EL3 as a result of a Warm reset. When the Reset Request bit in the RMR or RMR_EL3
register is set to 1, the processor asserts the WARMRSTREQ signal and the SoC reset controller can use
this request to trigger a Warm reset of the core and change the register width state. The AA64 bit in the
RMR or RMR_EL3 register selects the register width at the next Warm reset, at the highest Exception
level, EL3.
See the ARM® Architecture Reference Manual ARMv8, for ARMv8-A architecture profile for information
about the recommended code sequence to use, to request a Warm reset.
You must apply steps 1 on page 2-53 to 12 on page 2-53 in the core powerdown sequence, and wait
until STANDBYWFI asserts indicating the processor is idle, before asserting nCORERESET for that
core. nCORERESET must satisfy the timing requirements described in the Warm reset section.
The Core Warm Reset Request (CWRR) bit in the External Debug Power/Reset Control Register,
EDPRCR, controls the DBGRSTREQ signal. An external debugger can use this bit to request a Warm
reset of the processor, if it does not have access to the core Warm reset signal. See the ARM® Architecture
Reference Manual ARMv8, for ARMv8-A architecture profile for more information about the EDPRCR.
Related information
4.3.61 Reset Management Register, EL3 on page 4-175.
Individual core powerdown.
Warm reset on page 2-39.
During a core reset, the following memory arrays in the core are invalidated:
• Branch Prediction arrays such as BTB, GHB, and Indirect Predictor.
• L1 instruction and data TLBs.
• L1 instruction and data caches.
• L2 unified TLB.
In addition to these core memory arrays, during a powerup reset, the following shareable memory arrays
are invalidated:
• L2 duplicate Snoop Tag RAM.
• L2 unified cache RAM, if L2RSTDISABLE is tied LOW.
The L1 instruction and data cache resets can take up to 128 CLK cycles after the deasserting edge of the
reset signals, with each array being reset in parallel. Depending on the size of the L2 cache, the L2 cache
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-40
reserved.
Non-Confidential
2 Functional Description
2.3 Clocking and resets
reset can take 640 CLK cycles for a 512KB L2 cache or 5120 CLK cycles for a 4MB L2 cache. The L2
cache reset occurs in the background, in parallel with the L1 cache resets. The core can begin execution
in Non-cacheable state, but any attempt to perform Cacheable transactions stalls the core until the
appropriate cache reset is complete.
The branch prediction arrays require 512 CLK cycles to reset after the deasserting edge of reset. The
core begins execution with branch prediction disabled, any resolved branches do not update the branch
predictor until the reset sequence completes.
The processor input signal, L2RSTDISABLE, controls the L2 cache hardware reset process. The usage
models for the L2RSTDISABLE signal are as follows:
• When the processor powers up for the first time, L2RSTDISABLE must be held LOW to invalidate
the L2 cache using the L2 cache hardware reset mechanism.
• For systems that do not retain the L2 cache RAM contents while the L2 memory system is powered
down, L2RSTDISABLE must be held LOW to invalidate the L2 cache using the L2 cache hardware
reset mechanism.
• For systems that retain the L2 cache RAM contents while the L2 memory system is powered down,
L2RSTDISABLE must be held HIGH to disable the L2 cache hardware reset mechanism.
The L2RSTDISABLE signal is sampled during nL2RESET assertion and must be held a minimum of
32 CLK cycles after the deasserting edge of nL2RESET.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-41
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-42
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-43
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
CLREXMONREQ
CLREXMONACK
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-44
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
The following figure shows the L2 WFI timing for a 4-core configuration.
CLK
STANDBYWFI[3:0]
ACINACTM
AINACTS
STANDBYWFIL2
CLKEN
Internal L2 clock
nIRQ
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-45
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
CLK
STANDBYWFI[N:0]
AINACTS
L2FLUSHREQ
L2 flush
L2FLUSHDONE
ACINACTM
STANDBYWFIL2
Related information
4.3.67 CPU Extended Control Register, EL1 on page 4-206.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-46
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
5. During retention, if a snoop occurs to access the cache of the quiescent core, the CPUQACTIVE
signal is asserted to request exit from retention.
6. The external power controller brings the core out of retention and deasserts CPUQREQn.
7. The core deasserts CPUQACCEPTn to complete the handshake.
8. The clocks in the core are restarted temporarily to allow the snoop request to the core to proceed.
9. After the snoop access is complete, the core deasserts CPUQACTIVE.
10. CPUQREQn and CPUQACCEPTn are then asserted. The core has reentered quiescent state and the
external power controller can put the core into retention state again.
11. When the core is ready to exit WFI low-power state, CPUQACTIVE is asserted.
12. CPUQREQn is then deasserted, the core exits WFI low-power state, and CPUQACCEPTn is
deasserted.
The following figure shows a typical sequence where the external power controller successfully places
the core in retention state.
CLK
CPUQACTIVE
CPUQREQn
CPUQACCEPTn
CPUQDENY
STANDBYWFI
retention retention
The core enters WFI low-power state and deasserts CPUQACTIVE. The external power controller
asserts CPUQREQn. If the core cannot safely enter quiescent state, it asserts CPUQDENY instead of
CPUQACCEPTn. When this occurs, the external power controller cannot put that core into retention
state. The external power controller must then deassert CPUQREQn, then the core deasserts
CPUQDENY.
The following figure shows a sequence where the external power controller attempts to put a core in
retention state but the core denies the request.
CLK
CPUQACTIVE
CPUQREQn
CPUQACCEPTn
CPUQDENY
STANDBYWFI
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-47
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
When using the core retention feature, you must consider the following points:
• During core reset, CPUQREQn must be deasserted HIGH while CPUQACCEPTn is asserted
LOW.
• The Processor dynamic retention control field in the CPU Extended Control Register, CPUECTLR,
must be set to a nonzero value to enable this feature. If this field is 0b000, all assertions of
CPUQREQn LOW receive CPUQDENY responses.
• If the core dynamic retention feature is not used, CPUQREQn must be tied HIGH and the
CPUECTLR retention control field set to disabled.
Note
If you use the core dynamic retention feature then the CPU Auxiliary Control Register,
CPUACTLR[30:29] bits must be zero.
Related information
4.3.66 CPU Auxiliary Control Register, EL1 on page 4-194.
4.3.67 CPU Extended Control Register, EL1 on page 4-206.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-48
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
retention
STANDBYWFI[N:0]
L2 idle
L2QACTIVE
L2QREQn
L2QACCEPTn
L2QDENY
If the L2 exits idle in step 4 on page 2-48, it asserts L2QDENY instead of L2QACCEPTn. In response,
the power controller must deassert L2QREQn, causing the L2 to deassert L2QDENY.
The L2 dynamic retention control field in the L2 Extended Control Register, L2ECTLR, must be set to a
nonzero value to enable this feature. If this field is 0b000, all assertions of L2QREQn LOW receive
L2QDENY responses.
If the L2 dynamic retention feature is not used, L2QREQn must be tied HIGH and the L2ECTLR
retention control field set to disabled.
Note
If you use the L2 dynamic retention feature then the L2 Auxiliary Control Register, L2ACTLR[28:27]
bits must be zero.
Related information
4.3.59 L2 Extended Control Register, EL1 on page 4-172.
L2 Auxiliary Control Register, EL1.
Related information
4.3.66 CPU Auxiliary Control Register, EL1 on page 4-194.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-49
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
You can set bit[28] of the L2 Auxiliary Control Register, L2ACTLR_EL1, to 1 to disable dynamic clock
gating of the L2 tag banks.
You can set bit[27] of the L2 Auxiliary Control Register, L2ACTLR_EL1, to 1 to disable dynamic clock
gating of the L2 control logic.
Related information
L2 Auxiliary Control Register, EL1.
Related information
4.3.66 CPU Auxiliary Control Register, EL1 on page 4-194.
L2 Auxiliary Control Register, EL1.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-50
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
Note
• The design does not support a separate power domain for the L1 cache and branch prediction RAMs
within the core. It does not support L1 cache retention when the core is powered down.
• For L2 RAMs dynamic retention, the L2 Data, Dirty, Tag, Inclusion PLRU, and Snoop Tag RAMs are
retained. For L2 cache Dormant mode, the L2 Data, Dirty, Tag, and Inclusion PLRU RAMs are
retained.
The following figure shows the supported power domains in the processor and the placeholders where
you can insert clamps for a core.
Processor Non-processor
Processor power domain L2 control
power domain
Instruction Data L2 cache L2 Snoop Tag
L2 TLB RAM RAM
cache cache
RAM
RAM RAM
Clamp
Clamp
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-51
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
Mode Cored (CLK) Debug APB, CTI, and CTM L2 RAMse (CLK) L2 control, GIC,
(PCLKDBG) Timer (CLK)
There are specific requirements that you must meet to power up and power down each power domain
within the core. The supported powerup and powerdown sequences are:
• Individual core powerdown on page 2-52.
• Processor powerdown without system driven L2 flush on page 2-53.
• Processor powerdown with system driven L2 flush on page 2-55.
• Dormant mode on page 2-55.
• Debug powerdown on page 2-57.
• External debug over powerdown on page 2-57.
Note
• The powerup and powerdown sequences in the following sections are the only power sequences that
ARM recommends. Any deviation from these sequences can lead to unpredictable results.
• The powerup and powerdown sequences require that you isolate the powerup domain before power is
removed from the powerdown domain. You must clamp the outputs of the powerdown domain to
benign values to prevent data corruption or unpredictable behavior in the powerup domain.
d Core, which includes the Advanced SIMD and FP, Debug, ETM, breakpoint and watchpoint (CLK) logic.
e For L2 RAMs dynamic retention, the L2 Data, Dirty, Tag, Inclusion PLRU, and Snoop Tag RAMs are retained.
For L2 cache Dormant mode, the L2 Data, Dirty, Tag, and Inclusion PLRU RAMs are retained.
f This power mode requires all the cores to be in one of On, WFI, WFE, Retention, or Off state. Each core can be in a different one of these states.
g This power mode requires all the cores to be in one of WFI, WFE, Retention, or Off state. Each core can be in a different one of these states.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-52
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
To enable the core to be powered down, the implementation must place the core on a separately
controlled power supply. In addition, you must clamp the outputs of the core to benign values while the
core is powered down.
To power down the core power domain, apply the following sequence:
1. Clear the appropriate System Control Register C bit, data or unified cache enable, to prevent
additional data cache allocation.
2. Disable L2 prefetches by writing a one to bit [38] and zeros to bits [36:35] of the CPU Extended
Control Register.
3. Disable the Load-store hardware prefetcher by writing a one to bit [56] of the CPU Auxiliary Control
Register.
4. Execute an ISB instruction to ensure the CPU Extended Control Register and CPU Auxiliary Control
Register writes are complete.
5. Execute a DSB instruction to ensure completion of any prior prefetch requests.
6. Clean and invalidate all data from the L1 data cache. The L2 duplicate Snoop Tag RAM for this core
is now empty. This prevents any new data cache snoops or data cache maintenance operations from
other processors in the processor being issued to this core.
7. Clear the CPUECTLR.SMPEN bit. Clearing the SMPEN bit enables the core to be taken out of
coherency by preventing the core from receiving instruction cache, TLB, or BTB maintenance
operations broadcast by other processors in the multiprocessor.
8. Ensure that the system does not send interrupts to the core that is being powered down.
9. Set the DBGOSDLR.DLK, Double lock control bit, that forces the debug interfaces to be quiescent.
10. Execute an ISB instruction to ensure that all of the System register changes from the previous steps
have been committed.
11. Execute a DSB instruction to ensure that all instruction cache, TLB, and branch predictor maintenance
operations issued by any core in the processor before the SMPEN bit was cleared have completed.
12. Execute a WFI instruction and wait until the STANDBYWFI output asserts to indicate that the core is
idle and in the WFI low-power state.
13. Activate the core output clamps.
14. Remove power from the core power domain.
To power up the core power domain, apply the following sequence:
1. Assert nCPUPORESET.
2. Apply power to the core power domain while keeping nCPUPORESET asserted. When power is
restored, continue to hold nCPUPORESET for 16 CLK cycles to allow the reset to propagate.
3. Release the core output clamps.
4. Deassert nCPUPORESET.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-53
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-54
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
Dormant mode
The Cortex-A72 processor supports Dormant mode, where all the processors, debug PCLKDBG, and L2
control logic are powered down while the L2 cache RAMs are powered up and retain state.
This reduces the energy cost of writing dirty lines back to memory and improves response time on
powerup. In Dormant mode, the L2 cache is not kept hardware coherent with other masters in the system.
The RAM blocks that remain powered up and retained during Dormant mode are:
• L2 Tag RAMs.
• L2 Dirty RAMs.
• L2 Data RAMs.
• L2 Inclusion PLRU RAMs.
To support Dormant mode, the L2 cache RAMs must be implemented in a separate power domain. In
addition, you must clamp all inputs to the L2 cache RAMs to benign values, to avoid corrupting data
when the processors and L2 control power domains enter and exit powerdown state.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-55
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
Before entering Dormant mode, the architectural state of the processor, excluding the contents of the L2
cache RAMs that remain powered up, must be saved to external memory.
To exit from Dormant mode to Run mode, the SoC must perform a full powerup reset sequence. The SoC
must assert the reset signals until power is restored. After power is restored, the processor exits the
powerup reset sequence, and the architectural state must be restored.
To enter Dormant mode, apply the following sequence:
1. Clear the appropriate System Control Register C bit, data or unified cache enable, to prevent
additional data cache allocation.
2. Clean and invalidate all data from the L1 data cache. The L2 duplicate Snoop Tag RAM for this core
is now empty. This prevents any new data cache snoops or data cache maintenance operations from
other processors in the processor being issued to this core.
3. Clear the CPUECTLR.SMPEN bit. Clearing the SMPEN bit enables the core to be taken out of
coherency by preventing the core from receiving instruction cache, TLB, or BTB maintenance
operations broadcast by other processors in the MPCore device.
4. Ensure that the system does not send interrupts to the core that is being powered down.
5. Save architectural state, if required. These state saving operations must ensure that the following
occur:
• All ARM registers, including the core state, are saved.
• All System registers are saved.
• All debug related state is saved.
6. Set the DBGOSDLR.DLK, Double lock control bit, that forces the debug interfaces to be quiescent.
7. Execute an ISB instruction to ensure that all of the System register changes from the previous steps
have been committed.
8. Execute a DSB instruction to ensure that all instruction cache, TLB, and branch predictor maintenance
operations issued by any core in the processor before the SMPEN bit was cleared have completed. In
addition, this ensures that all state saving has completed.
9. Execute a WFI instruction and wait until the STANDBYWFI output is asserted, to indicate that the
core is in idle and low-power state.
10. Repeat the previous steps for all processors, and wait for all STANDBYWFI outputs to assert.
11. If the processor implements:
An ACE interface
When all outstanding snoop transactions are complete, the SoC asserts ACINACTM. When
ACINACTM has been asserted, the SoC must not assert ACVALIDM.
A CHI interface
When all outstanding snoop transactions are complete, the SoC asserts SINACT.
When ACP is present and all outstanding ACP transactions are complete, the SoC asserts AINACTS.
When AINACTS has been asserted, the SoC must not assert ARVALIDS, AWVALIDS, or
WVALIDS.
When the L2 completes the outstanding transactions for the AXI, or CHI, interface then
STANDBYWFIL2 asserts to indicate that the L2 memory system is idle.
12. When all of the core STANDBYWFI signals and the STANDBYWFIL2 are asserted, the processor
is ready to enter Dormant mode.
13. Activate the L2 cache RAM input clamps.
14. Remove power from the cores, debug PCLKDBG, and L2 control power domains.
To exit Dormant mode, apply the following sequence:
1. Apply a normal powerup reset sequence. You must apply resets to the cores, debug PCLKDBG, and
the L2 memory system logic until power is restored. During this reset sequence, L2RSTDISABLE
must be held HIGH to disable the L2 cache hardware reset mechanism.
2. When power is restored, release the L2 cache RAM input clamps.
3. Continue a normal powerup reset sequence with L2RSTDISABLE held HIGH. The
L2RSTDISABLE must be held HIGH for a minimum of 32 CLK cycles after the deasserting edge
of nL2RESET.
4. The architectural state must be restored, if required.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-56
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
Debug powerdown
If the Cortex-A72 processor runs in an environment where debug facilities are not required for any of its
cores then you can reduce leakage power by turning off the power to the debug unit in the PCLKDBG
domain.
To enable the debug unit in the PCLKDBG domain to be powered down, the implementation must place
the debug unit on a separately controlled power supply. In addition, you must clamp the outputs of the
debug unit to benign values while the debug unit is powered down.
To power down the debug PCLKDBG power domain, apply the following sequence:
1. Activate the debug output clamps.
2. Remove power from the debug PCLKDBG domain.
Note
If the debug output clamps are released without following the specified debug powerup sequence, the
results are unpredictable.
To power up the debug PCLKDBG power domain, apply the following sequence:
1. Assert nPRESETDBG.
2. Apply power to the debug PCLKDBG power domain while keeping nPRESETDBG asserted.
3. Release the debug output clamps.
4. If the SoC uses the debug hardware, deassert nPRESETDBG.
Related information
Dormant mode on page 2-55.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-57
reserved.
Non-Confidential
2 Functional Description
2.4 Power management
If the SMPEN is sampled LOW when the CPU Q-Channel handshake has completed the transition to
retention, the core can be returned to the active state using the Q-Channel, then if CPUQACTIVE is still
LOW, the power controller can start a powerdown transition of the core.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 2-58
reserved.
Non-Confidential
Chapter 3
Programmers Model
This chapter describes the processor registers and provides information for programming the processor.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-59
reserved.
Non-Confidential
3 Programmers Model
3.1 About the programmers model
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-60
reserved.
Non-Confidential
3 Programmers Model
3.2 ARMv8-A architecture concepts
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-61
reserved.
Non-Confidential
3 Programmers Model
3.2 ARMv8-A architecture concepts
AArch32
The 32-bit Execution state. This Execution state is backwards-compatible with implementations
of the ARMv7-A architecture profile that include the Security Extensions and the Virtualization
Extensions. This Execution state:
• Features 13 32-bit general purpose registers, and a 32-bit PC, SP, and Link Register (LR).
Some of these registers have multiple Banked instances for use in different processor modes.
• Provides 32 64-bit registers for Advanced SIMD and Floating-point support.
• Provides two instruction sets, A32 and T32.
• Provides an exception model that maps the ARMv7 exception model onto the ARMv8
exception model and Exception levels. For exceptions taken to an Exception level that is
using AArch32, this supports the ARMv7 exception model use of processor modes.
• Features 32-bit VAs. The VMSA maps these to 40-bit PAs.
• Collects processor state into the Current Processor State Register (CPSR).
The processor can move between Execution states only on a change of Exception level, and subject to
the rules given in 3.2.4 Rules for changing Exception state on page 3-64. This means different software
layers, such as an application, an operating system kernel, and a hypervisor, executing at different
Exception levels, can execute in different Execution states.
Related information
3.2.7 Instruction set state on page 3-67.
Exception terminology
This section defines terms used to describe the navigation between Exception levels.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-62
reserved.
Non-Confidential
3 Programmers Model
3.2 ARMv8-A architecture concepts
An exception is generated when the processor first responds to an exceptional condition. The processor
state at this time is the state the exception is taken from. The processor state immediately after taking the
exception is the state the exception is taken to.
To return from an exception, the processor must execute an exception return instruction.The processor
state when an exception return instruction is committed for execution is the state the exception returns
from. The processor state immediately after the execution of that instruction is the state the exception
returns to.
An Exception level, ELn, with a larger value of n than another Exception level, is described as being a
higher Exception level than the other Exception level. For example, EL3 is a higher Exception level than
EL1.
An Exception level with a smaller value of n than another Exception level is described as being a lower
Exception level than the other Exception level. For example, EL0 is a lower Exception level than EL1.
An Exception level is described as:
Using AArch64
When execution in that Exception level is in AArch64 Execution state.
Using AArch32
When execution in that Exception level is in AArch32 Execution state.
The architecture does not specify how software can use the different Exception levels but the following
is a common usage model for the Exception levels:
EL0 Applications.
EL1 OS kernel and associated functions that are typically described as privileged.
EL2 Hypervisor.
EL3 Secure monitor.
Related information
3.2.3 Security state on page 3-63.
An ARMv8 implementation that includes the EL3 Exception level provides the following Security states,
each with an associated memory address space:
Secure state
In Secure state, the processor:
• Can access both the Secure and the Non-secure memory address space.
• When executing at EL3, can access all the system control resources.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-63
reserved.
Non-Confidential
3 Programmers Model
3.2 ARMv8-A architecture concepts
Non-secure state
In Non-secure state, the processor:
• Can access only the Non-secure memory address space.
• Cannot access the Secure system control resources.
The AArch32 Security state model is unchanged from the model for an ARMv7-A architecture profile
implementation that includes the Security Extensions and the Virtualization Extensions. When the
implementation uses the AArch32 state for all Exception levels, many System registers are Banked to
provide Secure and Non-secure instances, and:
• The Secure instance is accessible only at EL3.
• The Non-secure instance is accessible at EL1 or higher.
• The two instances of a Banked register have the same name.
The 3.2.6 ARMv8 security model on page 3-65 describes how the Security state interacts with other
aspects of the ARMv8 architectural state.
This introduction to moving between Execution states does not consider exceptions caused by debug
events.
The Execution state, AArch64 or AArch32, can change only on a change of Exception level, meaning it
can change only on either:
• Taking an exception to a higher Exception level.
• Returning from an exception to a lower Exception level.
Note
The Execution state cannot change if, on taking an exception or on returning from an exception, the
Exception level remains the same.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-64
reserved.
Non-Confidential
3 Programmers Model
3.2 ARMv8-A architecture concepts
Taking an exception selects the default Stack Pointer for the target Exception level, meaning SP
maps to the SP_ELx Stack Pointer register, where x is the Exception level.
Software executing in the target Exception level can execute an MSR SPSel, #Imm1 instruction
to select whether to use the default SP_ELx Stack Pointer or the SP_EL0 Stack Pointer.
The selected Stack Pointer can be indicated by a suffix to the Exception level:
t Indicates use of the SP0 Stack Pointer.
h Indicates use of the SPx Stack Pointer.
Note
The t and h suffixes are based on the terminology of thread and handler, introduced in ARMv7-
M.
The following table shows the set of AArch64 Stack Pointer options.
EL0 EL0t
AArch32
In AArch32 state, each mode that can be the target of an exception has its own Banked copy of
the Stack Pointer. For example, the Banked Stack Pointer for Hyp mode is called SP_hyp.
Software executing in one of these modes uses the Banked Stack Pointer for that mode.
The modes that have Banked copies of the Stack Pointer are FIQ mode, IRQ mode, Supervisor
mode, Abort mode, Undefined mode, Hyp mode, and Monitor mode. Software executing in
User mode or System mode uses the User mode Stack Pointer, SP_usr.
Related information
3.2.8 AArch32 execution modes on page 3-67.
The Cortex-A72 processor implements all of the Exception levels. This means:
• EL3 exists only in Secure state and a change from Secure state to Non-secure state is made only by
an exception return from EL3.
• EL2 exists only in Non-secure state.
To provide compatibility with ARMv7, the Exception levels available in Secure state are modified when
EL3 is using AArch32. The following sections describe the security model:
• Security model when EL3 is using AArch64 on page 3-66.
• Security model when EL3 is using AArch32 on page 3-66.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-65
reserved.
Non-Confidential
3 Programmers Model
3.2 ARMv8-A architecture concepts
When EL3 is using AArch64, The following figure shows the security model, and the expected use of
the different Exception levels. This figure shows how instances of EL0 and EL1 are present in both
Security states. The figure also shows the expected software usage of the Exception levels.
Non-secure state Secure state
AArch32 or AArch64
EL2 Hypervisor
AArch64
To provide software compatibility with VMSAv7 implementations that include the Security Extensions,
in Secure AArch32 state, all modes other than User mode must have the same execution privilege. This
means that, in an implementation where EL3 is using AArch32, the security model is as shown in
following figure. This figure also shows the expected use of the different Exception levels and processor
modes.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-66
reserved.
Non-Confidential
3 Programmers Model
3.2 ARMv8-A architecture concepts
AArch32 AArch32
Guest OS1 Guest OS2
EL1
Modes: Modes:
System, FIQ, IRQ, System, FIQ, IRQ,
Supervisor, Abort, Undefined Supervisor, Abort, Undefined
AArch32
Hypervisor
EL2
Modes:
Hyp
AArch32
Secure monitor Secure OS
EL3
Modes: Modes:
System, FIQ, IRQ,
Monitor
Supervisor, Abort, Undefined
For more information about the AArch32 processor modes see 3.2.8 AArch32 execution modes
on page 3-67.
The processor instruction set state determines the instruction set that the processor executes. The possible
instruction sets depend on the Execution state:
AArch64
AArch64 state supports only a single instruction set, called A64. This is a fixed-width
instruction set that uses 32-bit instruction encoding.
AArch32
AArch32 state supports the following instruction sets:
A32
This is a fixed-length instruction set that uses 32-bit instruction encodings. It is
compatible with the ARMv7 ARM instruction set.
T32
This is a variable-length instruction set that uses both 16-bit and 32-bit instruction
encodings. It is compatible with the ARMv7 Thumb instruction set.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-67
reserved.
Non-Confidential
3 Programmers Model
3.2 ARMv8-A architecture concepts
Secure EL3
A processor mode name does not indicate the current Security state. To distinguish between a mode in
Secure state and the equivalent mode in Non-secure state, the mode name is qualified as Secure or Non-
secure. For example, a description of AArch32 operation in EL1 might relate to the Secure FIQ mode, or
to the Non-secure FIQ mode.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-68
reserved.
Non-Confidential
3 Programmers Model
3.3 ThumbEE instruction set
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-69
reserved.
Non-Confidential
3 Programmers Model
3.4 Jazelle implementation
The following table gives a summary of the processor Jazelle registers that are accessed through the
CP14 coprocessor in the AArch32 state. These registers are not implemented in the AArch64 state.
Related information
Jazelle Identity Register on page 3-70.
Jazelle OS Control Register on page 3-71.
Jazelle Main Configuration Register on page 3-71.
This section describes the processor Jazelle Extension registers. The following table provides cross-
references to individual registers.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-70
reserved.
Non-Confidential
3 Programmers Model
3.4 Jazelle implementation
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-71
reserved.
Non-Confidential
3 Programmers Model
3.5 Memory model
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 3-72
reserved.
Non-Confidential
Chapter 4
System Control
This chapter describes the System registers, their structure, operation, and how to use them.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-73
reserved.
Non-Confidential
4 System Control
4.1 About system control
The CP15SDISABLE signal disables write access to certain secure copies of System registers when EL3
is using AArch32. For a list of registers affected by CP15SDISABLE, see the ARM® Architecture
Reference Manual ARMv8.
The Cortex-A72 processor does not have any IMPLEMENTATION DEFINED registers that are affected by
CP15SDISABLE.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-74
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
The following table shows the identification registers in AArch64 state. Bits[63:32] are reset to
0x00000000 for all 64-bit registers in the table.
h The reset value depends on the primary inputs, CLUSTERIDAFF1 and CLUSTERIDAFF2, and the number of cores that the processor implements. The value
shown is for a four-core implementation, with CLUSTERIDAFF1 and CLUSTERIDAFF2 set to zero.
i The reset value depends on the primary input GICCDISABLE. The value shown assumes the GICCDISABLE signal is tied HIGH.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-75
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-76
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
The following table shows the fault handling registers in AArch64 state. Bits[63:32] are reset to
0x00000000 for all 64-bit registers in the following table.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-77
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
AFSR0_EL1 RW RES0 32 4.3.48 Auxiliary Fault Status Register 0, EL1 and EL3 on page 4-156
AFSR1_EL1 RW RES0 32 4.3.49 Auxiliary Fault Status Register 1, EL1 and EL3 on page 4-157
ESR_EL1 RW UNK 32 4.3.50 Exception Syndrome Register, EL1 and EL3 on page 4-157
IFSR32_EL2 RW UNK 32 4.3.51 Instruction Fault Status Register, EL2 on page 4-159
AFSR0_EL2 RW RES0 32 4.3.52 Auxiliary Fault Status Register 0, EL2 and Hyp Auxiliary Data Fault Status
Register on page 4-163
AFSR1_EL2 RW RES0 32 4.3.53 Auxiliary Fault Status Register 1, EL2 and Hyp Auxiliary Instruction Fault
Status Register on page 4-163
AFSR1_EL3 RW RES0 32 4.3.49 Auxiliary Fault Status Register 1, EL1 and EL3 on page 4-157
ESR_EL3 RW UNK 32 4.3.50 Exception Syndrome Register, EL1 and EL3 on page 4-157
The following table shows the virtual memory control registers in AArch64 state. Bits[63:32] are reset to
0x00000000 for all 64-bit registers in the following table.
n See the ARM® Architecture Reference Manual ARMv8 for more information.
o The reset value depends on primary input CFGTE. Table 4-3 AArch64 virtual memory control registers on page 4-78 assumes this signal is LOW.
p See the ARM® Architecture Reference Manual ARMv8 for more information.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-78
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
VTCR_EL2 RW UNK 32 4.3.43 Virtualization Translation Control Register, EL2 on page 4-151
AMAIR_EL1 RW RES0 64 4.3.56 Auxiliary Memory Attribute Indirection Register, EL1 and EL3
on page 4-168
AMAIR_EL2 RW RES0 64 4.3.57 Auxiliary Memory Attribute Indirection Register, EL2 on page 4-168
AMAIR_EL3 RW RES0 64 4.3.56 Auxiliary Memory Attribute Indirection Register, EL1 and EL3
on page 4-168
The following table shows the other System registers in AArch64 state.
CPACR_EL1 RW 0x00000000 32 4.3.32 Architectural Feature Access Control Register, EL1 on page 4-129
The following table shows the System instructions for cache and maintenance operations in AArch64
state. See the ARM® Architecture Reference Manual ARMv8 for more information about these operations.
Name Description
IC IALLUIS Instruction cache invalidate all to PoUq Inner Shareable
q PoU = Point of Unification. PoU is set by the BROADCASTINNER signal and can be in the L1 data cache or outside of the processor, in which case PoU is
dependent on the external memory system.
r PoC = Point of Coherence. The PoC is always outside of the processor and is dependent on the external memory system.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-79
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
Name Description
DC CSW Data cache clean by set/way
DC CISW Data cache clean and invalidate by set/way
DC ZVA Data cache zero by VA
DC CVAC Data cache clean by VA to PoC
DC CVAU Data cache clean by VA to PoU
DC CIVAC Data cache clean and invalidate by VA to PoC
The following table shows the System instructions for TLB maintenance operations in AArch64 state.
See the ARM® Architecture Reference Manual ARMv8 for more information about these operations.
Name Description
TLBI VMALLE1IS Invalidate all stage 1 translations used at EL1 with the current virtual machine identifier (VMID) in the Inner
Shareable
TLBI VAE1IS Invalidate translation used at EL1 for the specified VA and Address Space Identifier (ASID) and the current
VMID, Inner Shareable
TLBI ASIDE1IS Invalidate all translations used at EL1 with the current VMID and the supplied ASID, Inner Shareable
TLBI VAAE1IS Invalidate all translations used at EL1 for the specified address and current VMID and for all ASID values, Inner
Shareable
TLBI VALE1IS Invalidate all entries from the last level of stage 1 translation table walk used at EL1 with the supplied ASID and
current VMID, Inner Shareable
TLBI VAALE1IS Invalidate all entries from the last level of stage 1 translation table walk used at EL1 for the specified address and
current VMID and for all ASID values, Inner Shareable
TLBI VMALLE1 Invalidate all stage 1 translations used at EL1 with the current VMID
TLBI VAE1 Invalidate translation used at EL1 for the specified VA and ASID and the current VMID
TLBI ASIDE1 Invalidate all translations used at EL1 with the current VMID and the supplied ASID
TLBI VAAE1 Invalidate all translations used at EL1 for the specified address and current VMID and for all ASID values
TLBI VALE1 Invalidate all entries from the last level of stage 1 translation table walk used at EL1 with the supplied ASID and
current VMID
TLBI VAALE1 Invalidate all entries from the last level of stage 1 translation table walk used at EL1 for the specified address and
current VMID and for all ASID values
The Virtualization registers include additional TLB operations for use in Hyp mode. For more
information, see 4.2.13 AArch64 EL2 TLB maintenance operations on page 4-85.
The following table shows the address translation register in AArch64 state.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-80
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
The following table shows the System instructions for address translation operations in AArch64 state.
See the ARM® Architecture Reference Manual ARMv8 for more information.
Name Description
AT S1E1R Stage 1 current state EL1 read
AT S1E1W Stage 1 current state EL1 write
AT S1E0R Stage 1 current state unprivileged read
AT S1E0W Stage 1 current state unprivileged write
AT S1E2R Stage 1 Hyp mode read
AT S1E2W Stage 1 Hyp mode write
AT S12E1R Stages 1 and 2 Non-secure EL1 read
The following table shows the miscellaneous operations in AArch64 state. See the ARM® Architecture
Reference Manual ARMv8 for more information about these operations.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-81
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
The following table shows the Performance Monitors registers in AArch64 state. Bits[63:32] are reset to
0x00000000 for all 64-bit registers in the following table.
PMCR_EL0 RW u 0x41023000 32 11.4.1 Performance Monitors Control Register, EL0 on page 11-401
PMCEID0_EL0 RO 0x7FFF0F3F 32 11.4.2 Performance Monitors Common Event Identification Register 0, EL0
on page 11-403
RVBAR_EL3 RO - w 64 4.3.60 Reset Vector Base Address, EL3 on page 4-174
u Access permissions also depend on the access condition. See 11.2.5 External register access permissions on page 11-398.
v See the ARM® Architecture Reference Manual ARMv8 for more information.
w The reset value depends on the RVBARADDR signal. Bits[63:32] are reset to 0x00000000.
x For a Cold reset, the AA64nAA32 signal sets the value of bit[0]. The following table assumes this signal is LOW.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-82
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
CPTR_EL3 RW 0x00000400 32 4.3.40 Architectural Feature Trap Register, EL3 on page 4-145
AFSR0_EL3 RW RES0 32 4.3.48 Auxiliary Fault Status Register 0, EL1 and EL3 on page 4-156
AFSR1_EL3 RW RES0 32 4.3.49 Auxiliary Fault Status Register 1, EL1 and EL3 on page 4-157
The following table shows the virtualization registers in AArch64 state. Bits[63:32] are reset to
0x00000000 for all 64-bit registers in the following table.
y See the ARM® Architecture Reference Manual ARMv8 for more information.
z The reset value of bits[63:32] is 0x00000000.
aa The reset value is the value of the Main ID Register.
ab The reset value is the value of the Multiprocessor Affinity Register.
ac See the ARM® Architecture Reference Manual ARMv8 for more information.
ad The reset value for bit[7] is UNK.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-83
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-84
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
The following table shows the System instructions for TLB maintenance operations added in AArch64
state. See the ARM® Architecture Reference Manual ARMv8 for more information about these operations.
Name Description
TLBI IPAS2E1IS Invalidate stage 2 only translations used at EL1 for the specified IPA for the current VMID, Inner Shareable
TLBI IPAS2LE1IS Invalidate entries from the last level of stage 2 only translation used at EL1 for the specified IPA for the
current VMID, Inner Shareable
TLBI ALLE2IS Invalidate all stage 1 translations used at EL2, Inner Shareable
TLBI VAE2IS Invalidate translation used at EL2 for the specified VA and ASID and the current VMID, Inner Shareable
TLBI ALLE1IS Invalidate all stage 1 translations used at EL1, Inner Shareable
TLBI VALE2IS Invalidate all entries from the last level of stage 1 translation table walk used at EL2 with the supplied ASID
and current VMID, Inner Shareable
TLBI VMALLS12E1IS Invalidate all stage 1 and 2 translations used at EL1 with the current VMID, Inner Shareable
TLBI IPAS2E1 Invalidate stage 2 only translations used at EL1 for the specified IPA for the current VMID
TLBI IPAS2LE1 Invalidate entries from the last level of stage 2 only translation used at EL1 for the specified IPA for the
current VMID
TLBI ALLE2 Invalidate all stage 1 translations used at EL2
TLBI VAE2 Invalidate translation used at EL2 for the specified VA and ASID and the current VMID
TLBI ALLE1 Invalidate all stage 1 translations used at EL1
TLBI VALE2 Invalidate all entries from the last level of stage 1 translation table walk used at EL2 with the supplied ASID
and current VMID
TLBI VMALLS12E1 Invalidate all stage 1 and 2 translations used at EL1 with the current VMID
TLBI ALLE3IS Invalidate all stage 1 translations used at EL3, Inner Shareable
TLBI VAE3IS Invalidate translation used at EL3 for the specified VA and ASID and the current VMID, Inner Shareable
TLBI VALE3IS Invalidate all entries from the last level of stage 1 translation table walk used at EL3 with the supplied ASID
and current VMID, Inner Shareable
TLBI ALLE3 Invalidate all stage 1 translations used at EL3
TLBI VAE3 Invalidate translation used at EL3 for the specified VA and ASID and the current VMID
TLBI VALE3 Invalidate all entries from the last level of stage 1 translation table walk used at EL3 with the supplied ASID
and current VMID
See Chapter 9 Generic Timer on page 9-338 for information on the Generic Timer registers.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-85
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
The following table shows the IMPLEMENTATION DEFINED registers in AArch64 state. These registers provide
test features and any required configuration options specific to the Cortex-A72 processor. If a register is
not indicated as mapped to an AArch32 64-bit register, bits[63:32] are 0x00000000.
AFSR0_EL1 RW RES0 32 4.3.48 Auxiliary Fault Status Register 0, EL1 and EL3
on page 4-156
AFSR1_EL1 RW RES0 32 4.3.49 Auxiliary Fault Status Register 1, EL1 and EL3
on page 4-157
AFSR0_EL2 RW RES0 32 4.3.52 Auxiliary Fault Status Register 0, EL2 and Hyp Auxiliary
Data Fault Status Register on page 4-163
AFSR1_EL2 RW RES0 32 4.3.53 Auxiliary Fault Status Register 1, EL2 and Hyp Auxiliary
Instruction Fault Status Register on page 4-163
AFSR0_EL3 RW RES0 32 4.3.48 Auxiliary Fault Status Register 0, EL1 and EL3
on page 4-156
AFSR1_EL3 RW RES0 32 4.3.49 Auxiliary Fault Status Register 1, EL1 and EL3
on page 4-157
AMAIR_EL1 RW RES0 64 4.3.56 Auxiliary Memory Attribute Indirection Register, EL1 and
EL3 on page 4-168
IL1DATA1_EL1 UNK
IL1DATA2_EL1 UNK
IL1DATA3_EL1 UNK
DL1DATA1_EL1 UNK
DL1DATA2_EL1 UNK
DL1DATA3_EL1 UNK
DL1DATA4_EL1 UNK
ae The reset value depends on the processor implementation and the state of the L2RSTDISABLE signal.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-86
reserved.
Non-Confidential
4 System Control
4.2 AArch64 register summary
CPUACTLR_EL1 RW 0x0000 0000 0000 0000 64 4.3.66 CPU Auxiliary Control Register, EL1 on page 4-194
CPUECTLR_EL1ag RW 0x0000 001B 0000 0000 64 4.3.67 CPU Extended Control Register, EL1 on page 4-206
L2MERRSR_EL1ag RW UNKah 64 4.3.69 L2 Memory Error Syndrome Register, EL1 on page 4-210
CBAR_EL1 RO UNKai 64 4.3.70 Configuration Base Address Register, EL1 on page 4-212
af This is the reset value for an ACE interface. For a CHI interface the reset value is 0x0000000000004018.
ag Mapped to a 64-bit AArch32 register.
ah Bits[47:40, 39:32, 31] are reset to zero.
ai The reset value depends on the primary input, PERIPHBASE[43:18].
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-87
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-88
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
• 4.3.49 Auxiliary Fault Status Register 1, EL1 and EL3 on page 4-157.
• 4.3.50 Exception Syndrome Register, EL1 and EL3 on page 4-157.
• 4.3.51 Instruction Fault Status Register, EL2 on page 4-159.
• 4.3.52 Auxiliary Fault Status Register 0, EL2 and Hyp Auxiliary Data Fault Status Register
on page 4-163.
• 4.3.53 Auxiliary Fault Status Register 1, EL2 and Hyp Auxiliary Instruction Fault Status Register
on page 4-163.
• 4.3.54 Exception Syndrome Register, EL2 on page 4-163.
• 4.3.55 Physical Address Register, EL1 on page 4-165.
• 4.3.56 Auxiliary Memory Attribute Indirection Register, EL1 and EL3 on page 4-168.
• 4.3.57 Auxiliary Memory Attribute Indirection Register, EL2 on page 4-168.
• 4.3.58 L2 Control Register, EL1 on page 4-168.
• 4.3.59 L2 Extended Control Register, EL1 on page 4-172.
• 4.3.60 Reset Vector Base Address, EL3 on page 4-174.
• 4.3.61 Reset Management Register, EL3 on page 4-175.
• 4.3.62 Instruction L1 Data n Register, EL1 on page 4-176.
• 4.3.63 Data L1 Data n Register, EL1 on page 4-177.
• 4.3.64 RAM Index operation on page 4-178.
• 4.3.65 L2 Auxiliary Control Register, EL1 on page 4-188.
• 4.3.66 CPU Auxiliary Control Register, EL1 on page 4-194.
• 4.3.67 CPU Extended Control Register, EL1 on page 4-206.
• 4.3.68 CPU Memory Error Syndrome Register, EL1 on page 4-209.
• 4.3.69 L2 Memory Error Syndrome Register, EL1 on page 4-210.
• 4.3.70 Configuration Base Address Register, EL1 on page 4-212.
- RO RO RO RO RO
RO RO RO RO RO RO
Table 10-1 External register access conditions on page 10-347 describes the condition codes.
Configurations
The MIDR_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 MIDR register.
• Architecturally mapped to external MIDR register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the MIDR_EL1 bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-89
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
31 24 23 20 19 16 15 4 3 0
[23:20] Variant Indicates the variant number of the processor. This is the major revision number n in the rn part of the
rnpn description of the product revision status. This value is:
0 Major revision number.
[15:4] Primary part number Indicates the primary part number. This value is:
0xD08 Cortex-A72 processor.
[3:0] Revision Indicates the minor revision number of the processor. This is the minor revision number n in the pn
part of the rnpn description of the product revision status. This value is:
3 Minor revision number.
To access the MIDR in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c0, 0; Read Main ID Register
The MIDR can be accessed through the memory-mapped interface and the external debug interface,
offset 0xD00.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-90
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The accessibility to the MPIDR_EL1 by Exception level is:
- RO RO RO RO RO
- - - - - RO
Table 10-1 External register access conditions on page 10-347 describes the condition codes.
Configurations
The MPIDR_EL1[31:0] is:
• Architecturally mapped to the AArch32 MPIDR register. See 4.5.3 Multiprocessor Affinity
Register on page 4-240 for more information.
• Architecturally mapped to external EDDEVAFF0 register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the MPIDR_EL1 bit assignments.
63 32 31 30 29 25 24 23 16 15 8 7 2 1 0
RES1 MT CPU ID
[31] - RES1.
[30] U Indicates a single core system, as distinct from processor 0 in a cluster. This
value is:
0 Core is part of a cluster.
[24] MT Indicates whether the lowest level of affinity consists of logical cores that are
implemented using a multi-threading type approach. This value is:
0 Performance of cores at the lowest affinity level is largely independent.
[23:16] Cluster ID Aff2 Affinity level 2. Second highest level affinity field.
Indicates the value read in at reset, from the CLUSTERIDAFF2
configuration signal.
[15:8] Cluster ID Aff1 Affinity level 1. Third highest level affinity field.
Indicates the value read in at reset, from the CLUSTERIDAFF1
configuration signal.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-91
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[1:0] CPU ID Indicates the core number in the Cortex-A72 processor. The possible values
are:
0x0 A cluster with one processor only.
0x0, 0x1 A cluster with two processors.
0x0, 0x1, 0x2 A cluster with three processors.
0x0, 0x1, 0x2, 0x3 A cluster with four processors.
The EDDEVAFF0 can be accessed through the memory-mapped interface and the external debug
interface, offset 0xFA8.
- RO RO RO RO RO
Configurations
The REVIDR_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 REVIDR register.
The REVIDR_EL1 is a 32-bit register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the REVIDR_EL1 bit assignments.
31 0
ID number
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-92
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[31:0] ID number Implementation-specific revision information. The reset value is determined by the specific Cortex-A72 processor
implementation.
To access the REVIDR in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c0, 6; Read Revision ID Register
- RO RO RO RO RO
Configurations
The ID_PFR0_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_PFR0 register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_PFR0_EL1 bit assignments.
31 16 15 12 11 8 7 4 3 0
[15:12] State3 Indicates support for Thumb Execution Environment (ThumbEE) instruction set. This value is:
0x0 Processor does not implement the ThumbEE instruction set.
[11:8] State2 Indicates support for Jazelle extension. This value is:
0x1 Processor supports trivial implementation of Jazelle.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-93
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[7:4] State1 Indicates support for T32 instruction set. This value is:
0x3 Processor supports T32 encoding after the introduction of Thumb-2 technology, and for all 16-bit and 32-bit
T32 basic instructions.
[3:0] State0 Indicates support for A32 instruction set. This value is:
0x1 Processor implements the A32 instruction set.
To access the ID_PFR0 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c1, 0; Read AArch32 Processor Feature Register 0
- RO RO RO RO RO
Configurations
The ID_PFR1_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_PFR1 register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_PFR1_EL1 bit assignments.
31 28 27 20 19 16 15 12 11 8 7 4 3 0
Virtualization
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-94
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[31:28] GIC CP15 Indicates support for the GIC CP15 interface. The possible values are:
0x0 No GIC CP15 registers are supported. This is the reset value when GICCDISABLE is tied
HIGH.
0x1 GICv3 CP15 registers are supported. This is the reset value when GICCDISABLE is tied
LOW.
[19:16] GenTimer Indicates support for Generic Timer Extension. This value is:
0x1 Processor supports Generic Timer Extension.
[15:12] Virtualization Indicates support for Virtualization Extensions. This value is:
0x1 Processor supports Virtualization Extensions.
[11:8] MProgMod Indicates support for M-profile programmers model. This value is:
0x0 Processor does not support M-profile programmers model.
[7:4] Security Indicates support for Security Extensions. This value is:
0x1 Processor supports Security Extensions. This includes support for Monitor mode and the
SMC instruction.
[3:0] ProgrMod Indicates support for the standard programmers model for ARMv4 and later. This value is:
0x1 Processor supports the standard programmers model for ARMv4 and later. The model
supports User, FIQ, IRQ, Supervisor, Abort, Undefined, and System modes.
To access the ID_PFR1 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c1, 1; Read AArch32 Processor Feature Register 1
- RO RO RO RO RO
Configurations
The ID_DFR0_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_DFR0 register.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-95
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_DFR0_EL1 bit assignments.
31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
[27:24] PerfMon Indicates support for coprocessor-based ARM Performance Monitors Extension. This value is:
0x3 Processor supports Performance Monitors Extension, PMUv3 System registers.
[23:20] MProfDbg Indicates support for memory-mapped debug model for M-profile processors. This value is:
0x0 Processor does not support M-profile Debug architecture, with memory-mapped access.
[19:16] MMapTrc Indicates support for memory-mapped trace model. This value is:
0x1 Processor supports ARM trace architecture, with memory-mapped access.
[15:12] CopTrc Indicates support for coprocessor-based trace model. This value is:
0x0 Processor does not support ARM trace architecture, with CP14 access.
[11:8] MMapDbg Indicates support for memory-mapped debug model. This value is:
0x0 Processor does not support the memory-mapped debug model.
[7:4] CopSDbg Indicates support for coprocessor-based Secure debug model. This value is:
0x6 Processor supports v8-A Debug architecture, with CP14 access.
[3:0] CopDbg Indicates support for coprocessor-based debug model. This value is:
0x6 Processor supports v8-A Debug architecture, with CP14 access.
To access the ID_DFR0 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c1, 2; Read AArch32 Debug Feature Register 0
The processor does not implement ID_AFR0_EL1. This register is always RES0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-96
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Purpose
Provides information about the implemented memory model and memory management support
in AArch32.
Usage constraints
The ID_MMFR0_EL1 must be interpreted with:
• ID_MMFR1_EL1.
• ID_MMFR2_EL1.
• ID_MMFR3_EL1.
The accessibility to the ID_MMFR0_EL1 by Exception level is:
- RO RO RO RO RO
Configurations
The ID_MMFR0_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_MMFR0 register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_MMFR0_EL1 bit assignments.
31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
[31:28] InnerShr Indicates the innermost shareability domain implemented. This value is:
0x1 Processor implements hardware coherency support.
[27:24] FCSE Indicates support for Fast Context Switch Extension (FCSE). This value is:
0x0 Processor does not support FCSE.
[23:20] AuxReg Indicates support for Auxiliary registers. This value is:
0x2 Processor supports the ACTLR, AIFSR and ADFSR. See 4.3.39 Auxiliary Control Register,
EL3 on page 4-143,4.3.48 Auxiliary Fault Status Register 0, EL1 and EL3 on page 4-156, and
4.3.49 Auxiliary Fault Status Register 1, EL1 and EL3 on page 4-157.
[19:16] TCM Indicates support for TCMs and associated DMAs. This value is:
0x0 Processor does not support TCM.
[15:12] ShareLvl Indicates the number of shareability levels implemented. This value is:
0x1 Processor implements two levels of shareability.
[11:8] OuterShr Indicates the outermost shareability domain implemented. This value is:
0x1 Processor supports hardware coherency.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-97
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[7:4] PMSA Indicates support for a Protected Memory System Architecture (PMSA). This value is:
0x0 Processor does not support PMSA.
[3:0] VMSA Indicates support for a Virtual Memory System Architecture (VMSA). This value is:
0x5 Processor supports:
• VMSAv7, with support for remapping and the Access flag
• Privileged Execute Never (PXN) bit in the Short-descriptor translation table format
• The Long-descriptor translation table format.
To access the ID_MMFR0 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c1, 4; Read AArch32 Memory Model Feature Register 0
- RO RO RO RO RO
Configurations
The ID_MMFR1_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_MMFR1 register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_MMFR1_EL1 bit assignments.
31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-98
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[31:28] BPred Indicates branch predictor management requirements. This value is:
0x4 Branch predictor does not require flushing at any time.
[27:24] L1TstCln Indicates the supported L1 data cache test and clean operations, for Harvard or unified cache implementation.
This value is:
0x0 Not supported.
[23:20] L1Uni Indicates the supported entire L1 cache maintenance operations, for a unified cache implementation. This value
is:
0x0 Not supported.
[19:16] L1Hvd Indicates the supported entire L1 cache maintenance operations, for a Harvard cache implementation. This value
is:
0x0 Not supported.
[15:12] L1UniSW Indicates the supported L1 cache line maintenance operations by set/way, for a unified cache implementation.
This value is:
0x0 Not supported.
[11:8] L1HvdSW Indicates the supported L1 cache line maintenance operations by set/way, for a Harvard cache implementation.
This value is:
0x0 Not supported.
[7:4] L1UniVA Indicates the supported L1 cache line maintenance operations by VA, for a unified cache implementation. This
value is:
0x0 Not supported.
[3:0] L1HvdVA Indicates the supported L1 cache line maintenance operations by VA, for a Harvard cache implementation. This
value is:
0x0 Not supported.
To access the ID_MMFR1 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c1, 5; Read AArch32 Memory Model Feature Register 1
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-99
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The ID_MMFR2_EL1 must be interpreted with:
• ID_MMFR0_EL1.
• ID_MMFR1_EL1.
• ID_MMFR3_EL1.
The accessibility to the ID_MMFR2_EL1 by Exception level is:
- RO RO RO RO RO
Configurations
The ID_MMFR2_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_MMFR2 register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_MMFR2_EL1 bit assignments.
31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
[31:28] HWAccFlg Indicates support for Hardware Access flag. This value is:
0x0 Not supported.
[27:24] WFIStall Indicates support for Wait For Interrupt (WFI) stalling. This value is:
0x1 Processor supports WFI stalling.
[23:20] MemBarr Indicates the supported CP15 memory barrier operations. This value is:
0x2 Processor supports:
• Data Synchronization Barrier (DSB).
• Instruction Synchronization Barrier (ISB).
• Data Memory Barrier (DMB).
ARM deprecates the use of these CP15 operations. Instead, use the DMB, DSB, and ISB barrier instructions.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-100
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[19:16] UniTLB Indicates the supported TLB maintenance operations. This value is:
0x6 Processor supports:
• Invalidate all entries in the TLB.
• Invalidate TLB entry by VA.
• Invalidate TLB entries by ASID match.
• Invalidate instruction TLB and data TLB entries by VA All ASID. This is a shared
unified TLB operation.
• Invalidate Hyp mode unified TLB entry by VA.
• Invalidate entire Non-secure PL1 and PL0 unified TLB.
• Invalidate entire Hyp mode unified TLB.
• Invalidate TLB entry by VA, Last Level.
• Invalidate TLB entry by VA and ASID, Last Level.
• Invalidate Stage 2 TLB only by IPA.
• Invalidate Stage 2 TLB only by IPA, Last Level.
[15:12] HvdTLB Indicates support for Harvard TLB maintenance operations. This value is:
0x0 Not supported.
[11:8] L1HvdRng Indicates support for Harvard L1 cache maintenance range operations. This value is:
0x0 Not supported.
[7:4] L1HvdBG Indicates support for Harvard L1 cache background fetch operations. This value is:
0x0 Not supported.
[3:0] L1HvdFG Indicates support for Harvard L1 cache foreground fetch operations. This value is:
0x0 Not supported.
To access the ID_MMFR2 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c1, 6; Read AArch32 Memory Model Feature Register 2
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-101
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The ID_MMFR3_EL1 must be interpreted with:
• ID_MMFR0_EL1.
• ID_MMFR1_EL1.
• ID_MMFR2_EL1.
The accessibility to the ID_MMFR3_EL1 by Exception level is:
- RO RO RO RO RO
Configurations
The ID_MMFR3_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_MMFR3 register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_MMFR3_EL1 bit assignments.
31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
[27:24] CMemSz Indicates the physical memory size supported by the processor caches. This value is:
0x2 Processor caches support 40-bit physical address range.
[23:20] CohWalk Indicates whether translation table updates require a clean to the point of unification. This value is:
0x1 Updates to the translation tables do not require a clean to the point of unification to ensure
visibility by subsequent translation table walks.
[15:12] MaintBcst Indicates whether cache, TLB and branch predictor operations are broadcast. This value is:
0x2 Cache, TLB and branch predictor operations affect structures according to shareability and
defined behavior of instructions.
[11:8] BPMaint Indicates the supported branch predictor maintenance operations. This value is:
0x2 Processor supports:
• Invalidate all branch predictors.
• Invalidate branch predictors by VA.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-102
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[7:4] CMaintSW Indicates the supported cache maintenance operations by set/way. This value is:
0x1 Processor supports:
• Invalidate data cache by set/way.
• Clean data cache by set/way.
• Clean and invalidate data cache by set/way.
[3:0] CMaintVA Indicates the supported cache maintenance operations by VA. This value is:
0x1 Processor supports:
• Invalidate data cache by VA.
• Clean data cache by VA.
• Clean and invalidate data cache by VA.
• Invalidate Instruction Cache by VA.
• Invalidate all Instruction Cache entries.
To access the ID_MMFR3 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c1, 7; Read AArch32 Memory Model Feature Register 3
- RO RO RO RO RO
Configurations
The ID_ISAR0_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_ISAR0 register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_ISAR0_EL1 bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-103
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
[27:24] Divide Returns 0x2 to indicate the processor implements the following divide instructions:
• SDIV and UDIV in the T32 instruction set.
• SDIV and UDIV in the A32 instruction set.
[23:20] Debug Returns 0x1 to indicate the processor implements the BKPT debug instruction.
[19:16] Coproc Returns 0x0 to indicate the processor implements no coprocessor instructions, except for separately attributed
architectures including CP15, CP14, and Advanced SIMD and FP.
[15:12] CmpBranch Returns 0x1 to indicate the processor implements the CBNZ and CBZ, Compare and Branch, instructions in the
T32 instruction set.
[11:8] Bitfield Returns 0x1 to indicate the processor implements the BFC, BFI, SBFX, and UBFX, bit field instructions.
[7:4] BitCount Returns 0x1 to indicate the processor implements the CLZ bit counting instruction.
[3:0] Swap Returns 0x0 to indicate the processor implements no swap instructions in the A32 instruction set.
To access the ID_ISAR0 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c2, 0; Read AArch32 Instruction Set Attribute Register 0
- RO RO RO RO RO
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-104
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Configurations
The ID_ISAR1_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_ISAR1 register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_ISAR1_EL1 bit assignments.
31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
[31:28] Jazelle Returns 0x1 to indicate the processor implements the BXJ instruction, and the J bit in the PSR.
[27:24] Interwork Returns 0x3 to indicate the processor implements the following interworking instructions:
• BX instruction, and the T bit in the PSR.
• BLX instruction, and PC loads have BX-like behavior.
• Data-processing instructions in the A32 instruction set with the PC as the destination and the S bit clear
have BX-like behavior.
[23:20] Immediate Returns 0x1 to indicate the processor implements the following data-processing instructions with long
immediates:
• MOVT instruction.
• MOV instruction encoding with zero-extended 16-bit immediates.
• Thumb ADD and SUB instruction encoding with zero-extended 12-bit immediates, and other ADD, ADR, and
SUB encoding cross-referenced by the pseudocode for those encodings.
[19:16] IfThen Returns 0x1 to indicate the processor implements the IT instruction and the IT bits in the PSRs, in the T32
instruction set.
[15:12] Extend Returns 0x2 to indicate the processor implements the following Extend instructions:
• SXTB, SXTH, UXTB, and UXTH instructions.
• SXTB16, SXTAB, SXTAB16, SXTAH, UXTB16, UXTAB, UXTAB16, and UXTAH instructions. See the ARM®
Architecture Reference Manual ARMv8 for more information.
[11:8] Except_AR Returns 0x1 to indicate the processor implements the SRS, RFE, and CPS exception-handling instructions.
[7:4] Except Returns 0x1 to indicate the processor implements the LDM (exception return), LDM (user registers), and STM
(user registers) exception-handling instructions in the A32 instruction set.
[3:0] Endian Returns 0x1 to indicate the processor implements the SETEND instruction, and the E bit in the PSRs.
To access the ID_ISAR1 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c2, 1; Read AArch32 Instruction Set Attribute Register 1
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-105
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
- RO RO RO RO RO
Configurations
The ID_ISAR2_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_ISAR2 register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_ISAR2_EL1 bit assignments.
31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
MultiAccessInt
[31:28] Reversal Returns 0x2 to indicate the processor implements the following Reversal instructions:
• REV, REV16, and REVSH.
• RBIT.
[27:24] PSR_AR Returns 0x1 to indicate the processor implements the following instructions that can manipulate the PSR:
• Processor supports MRS and MSR instructions, and the exception return forms of data-processing
instructions. See the ARM® Architecture Reference Manual ARMv8 for more information.
[23:20] MultU Returns 0x2 to indicate the processor implements the UMULL, UMLAL, and UMAAL unsigned multiply
instructions.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-106
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[19:16] MultS Returns 0x3 to indicate the processor implements the following signed multiply instructions:
• SMULL and SMLAL instructions
• SMLABB, SMLABT, SMLALBB,SMLALBT, SMLALTB, SMLALTT, SMLATB, SMLATT, SMLAWB, SMLAWT,
SMULBB, SMULBT, SMULTB, SMULTT, SMULWB, SMULWT instructions, and the Q bit in the PSRs.
• SMLAD, SMLADX, SMLALD, SMLALDX, SMLSD, SMLSDX, SMLSLD, SMLSLDX, SMMLA, SMMLAR, SMMLS,
SMMLSR, SMMUL, SMMULR, SMUAD, SMUADX, SMUSD, and SMUSDX instructions.
[15:12] Mult Returns 0x2 to indicate the processor implements the MUL, MLA, and MLS multiply instructions.
[11:8] MultiAccessInt Returns 0x0 to indicate no support for interruptible multi-access instructions. This means that the LDM and
STM instructions are not interruptible.
[7:4] MemHint Returns 0x4 to indicate the processor implements the PLD, PLI (NOP), and PLDW memory hint instructions.
[3:0] LoadStore Returns 0x2 to indicate the processor implements the following additional load/store instructions and Load-
Acquire/Store-Release instructions:
• LDRD and STRD load/store instructions.
• STRLB, STRLH, STRL, LDRAB, LDRAH, and LDRA Load-Acquire and Store-Release instructions.
To access the ID_ISAR2 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c2, 2; Read AArch32 Instruction Set Attribute Register 2
- RO RO RO RO RO
Configurations
The ID_ISAR3_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_ISAR3 register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_ISAR3_EL1 bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-107
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
[31:28] ThumbEE Returns 0x0 to indicate no support for Thumb Execution Environment (ThumbEE) extension instructions.
[27:24] TrueNOP Returns 0x1 to indicate the processor implements true NOP instructions in both the A32 and T32 instruction
sets, and additional NOP-compatible hints.
[23:20] ThumbCopy Returns 0x1 to indicate the processor supports T32 instruction set encoding T1 of the MOV (register)
instruction, copying from a low register to a low register.
[19:16] TabBranch Returns 0x1 to indicate the processor implements the TBB and TBH table branch instructions in the T32
instruction set.
[15:12] SynchPrim This field is used with the SynchPrim_frac field of ID_ISAR4 to indicate the supported Synchronization
Primitive instructions. This value is:
0x2 Processor supports:
• LDREX and STREX instructions.
• CLREX, LDREXB, LDREXH, STREXB, and STREXH instructions.
• LDREXD and STREXD instructions.
[11:8] SVC Returns 0x1 to indicate the processor implements the SVC instruction.
[7:4] SIMD Returns 0x3 to indicate the processor implements the following Single Instruction Multiple Data (SIMD)
instructions:
• SSAT and USAT instructions, and the Q bit in the PSRs.
• PKHBT, PKHTB, QADD16, QADD8, QASX, QSUB16, QSUB8, QSAX, SADD16, SADD8, SASX, SEL, SHADD16,
SHADD8, SHASX, SHSUB16, SHSUB8, SHSAX, SSAT16, SSUB16, SSUB8, SSAX, SXTAB16, SXTB16,
UADD16, UADD8, UASX, UHADD16, UHADD8, UHASX, UHSUB16, UHSUB8, UHSAX, UQADD16, UQADD8,
UQASX, UQSUB16, UQSUB8, UQSAX, USAD8, USADA8, USAT16, USUB16, USUB8, USAX, UXTAB16, UXTB16
instructions, and the GE[3:0] bits in the PSRs.
See the ARM® Architecture Reference Manual ARMv8 for more information.
[3:0] Saturate Returns 0x1 to indicate the processor implements the QADD, QDADD, QDSUB, QSUB saturate instructions and the
Q bit in the PSRs.
To access the ID_ISAR3 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c2, 3; Read AArch32 Instruction Set Attribute Register 3
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-108
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The ID_ISAR4_EL1 must be interpreted with:
• ID_ISAR0_EL1.
• ID_ISAR1_EL1.
• ID_ISAR2_EL1.
• ID_ISAR3_EL1.
• ID_ISAR5_EL1.
The accessibility to the ID_ISAR4_EL1 by Exception level is:
- RO RO RO RO RO
Configurations
The ID_ISAR4_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_ISAR4 register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_ISAR4_EL1 bit assignments.
31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
SynchPrim_frac
[31:28] SWP_frac Returns 0x0 to indicate that SWP or SWPB instructions are not implemented.
[27:24] PSR_M Returns 0x0 to indicate that M-profile instructions, that modify the PSRs, are not implemented.
[23:20] SynchPrim_frac This field is used with the SynchPrim field of ID_ISAR3_EL1 to indicate the supported Synchronization
Primitive instructions. This value is:
0x0 Processor supports:
• LDREX and STREX instructions.
• CLREX, LDREXB, LDREXH, STREXB, and STREXH instructions.
• LDREXD and STREXD instructions.
[19:16] Barrier Returns 0x1 to indicate the processor implements the DMB, DSB, and ISB barrier instructions in the A32
and T32 instruction sets.
[15:12] SMCs Returns 0x1 to indicate the processor implements the SMC instruction.
[11:8] Writeback Returns 0x1 to indicate the processor supports all writeback addressing modes defined in ARMv8
architecture.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-109
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[7:4] WithShifts Returns 0x4 to indicate the processor supports the following instructions with shifts:
• Shifts of loads and stores over the range LSL 0-3.
• Constant shift options, both on load/store and other instructions.
• Register-controlled shift options.
See the ARM® Architecture Reference Manual ARMv8 for more information.
[3:0] Unpriv Returns 0x2 to indicate the processor implements the following unprivileged instructions:
• LDRBT, LDRT, STRBT, and STRT.
• LDRHT, LDRSBT, LDRSHT, and STRHT.
To access the ID_ISAR4 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c2, 4; Read AArch32 Instruction Set Attribute Register 4
Purpose
Provides information about the Cryptography Extension instruction set that the processor can support in
AArch32.
Note
• The optional Cryptography engine is not included in the base product of the processor. ARM requires
licensees to have contractual rights to obtain the Cortex-A72 Cryptography engine.
• The SHA1, SHA2, and AES fields of ID_ISAR5_EL1 are 0x0 if the Cryptography engine is not
included or CRYPTODISABLE is tied HIGH.
Usage constraints
The ID_ISAR5_EL1 must be interpreted with:
• ID_ISAR0_EL1.
• ID_ISAR1_EL1.
• ID_ISAR2_EL1.
• ID_ISAR3_EL1.
• ID_ISAR4_EL1.
The accessibility to the ID_ISAR5_EL1 by Exception level is:
- RO RO RO RO RO
Configurations
The ID_ISAR5_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 ID_ISAR5 register.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-110
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_ISAR5_EL1 bit assignments.
31 20 19 16 15 12 11 8 7 4 3 0
[19:16] CRC32 Returns 0x1 to indicate that CRC32 instructions are implemented in AArch32 state.
[15:12] SHA2 Indicates whether SHA2 instructions are implemented in AArch32 state. The possible values are:
0x0 SHA2 instructions are not implemented in AArch32 state.
0x1 SHA256H, SHA256H2, SHA256SU0, and SHA256SU1 instructions are implemented.
[11:8] SHA1 Indicates whether SHA1 instructions are implemented in AArch32 state. The possible values are:
0x0 SHA1 instructions are not implemented in AArch32 state.
0x1 SHA1C, SHA1P, SHA1M, SHA1H, SHA1SU0, and SHA1SU1 instructions are implemented.
[7:4] AES Indicates whether AES instructions are implemented in AArch32 state. The possible values are:
0x0 AES instructions are not implemented in AArch32 state.
0x2 AESE, AESD, AESMC, AESIMC, and PMULL/PMULL2 instructions operating on 64-bit data.
[3:0] SEVL Returns 0x1 to indicate that the SEVL instruction is implemented in AArch32 state.
To access the ID_ISAR5 in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c2, 5; Read AArch32 Instruction Set Attribute Register 5
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-111
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The accessibility to the ID_AA64PFR0_EL1 by Exception level is:
- RO RO RO RO RO
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
The ID_AA64PFR0 is architecturally mapped as follows:
• [63:32] to external ID_AA64PFR0[63:32] register.
• [31:0] to external ID_AA64PFR0[31:0] register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_AA64PFR0_EL1 bit assignments.
63 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
GIC system
RES0 AdvSIMD FP EL3 EL2 EL1 EL0
registers
[27:24] GIC system registers Indicates support for the GIC System register interface. The possible values are:
0x0 No GIC System registers are supported. This is the reset value when GICCDISABLE is tied
HIGH.
0x1 GICv3 System registers are supported. This is the reset value when GICCDISABLE is tied
LOW.
[15:12] EL3 Returns 0x2 to indicate EL3 supports AArch64 state or AArch32 state.
[11:8] EL2 Returns 0x2 to indicate EL2 supports AArch64 state or AArch32 state.
[7:4] EL1 Returns 0x2 to indicate EL1 supports AArch64 state or AArch32 state.
[3:0] EL0 Returns 0x2 to indicate EL0 supports AArch64 state or AArch32 state.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-112
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
The ID_AA64PFR0[31:0] can be accessed through the memory-mapped interface and the external debug
interface, offset 0xD20.
The ID_AA64PFR0[63:32] can be accessed through the memory-mapped interface and the external
debug interface, offset 0xD24.
- RO RO RO RO RO
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
The ID_AA64DFR0_EL1 is architecturally mapped as follows:
• [63:32] to external ID_AA64DFR0[63:32] register.
• [31:0] to external ID_AA64DFR0[31:0] register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_AA64DFR0_EL1 bit assignments.
63 32 31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
[31:28] CTX_CMPs Returns 0x1 to indicate support for two context-aware breakpoints
[11:8] PMUVer Returns 0x1 to indicate that the Performance Monitors (PMUv3) System registers are implemented
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-113
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[7:4] TraceVer Returns 0x0 to indicate that the Trace System registers are not implemented
[3:0] DebugVer Returns 0x6 to indicate that the v8-A Debug architecture is implemented
The ID_AA64DFR0[31:0] can be accessed through the memory-mapped interface and the external
debug interface, offset 0xD28.
The ID_AA64DFR0[63:32] can be accessed through the memory-mapped interface and the external
debug interface, offset 0xD2C.
Usage constraints
The accessibility to the ID_AA64ISAR0_EL1 by Exception level is:
- RO RO RO RO RO
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
The ID_AA64ISAR0_EL1 is architecturally mapped as follows:
• [63:32] to external ID_AA64ISAR0[63:32] register.
• [31:0] to external ID_AA64ISAR0[31:0] register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_AA64ISAR0_EL1 bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-114
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
63 20 19 16 15 12 11 8 7 4 3 0
[19:16] CRC32 Returns 0x1 to indicate that CRC32 instructions are implemented in AArch64 state.
[15:12] SHA2 Indicates whether SHA2 instructions are implemented in AArch64 state. The possible values are:
0x0 No SHA2 instructions implemented.
0x1 SHA256H, SHA256H2, SHA256U0, and SHA256U1 instructions implemented.
[11:8] SHA1 Indicates whether SHA1 instructions are implemented in AArch64 state. The possible values are:
0x0 No SHA1 instructions implemented.
0x1 SHA1C, SHA1P, SHA1M, SHA1SU0, and SHA1SU1 instructions implemented.
[7:4] AES Indicates whether AES instructions are implemented in AArch64 state. The possible values are:
0x0 No AES instructions implemented.
0x2 AESE, AESD, AESMC, AESIMC and PMULL/PMULL2 instructions implemented.
The ID_AA64ISAR0[31:0] can be accessed through the memory-mapped interface and the external
debug interface, offset 0xD30.
The ID_AA64ISAR0[63:32] can be accessed through the memory-mapped interface and the external
debug interface, offset 0xD34.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-115
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The accessibility of the ID_AA64MMFR0_EL1 by Exception level is:
- RO RO RO RO RO
- - - - - RO
Table 10-1 External register access conditions on page 10-347 describes the condition codes.
Configurations
The ID_AA64MMFR0_EL1 is architecturally mapped as follows:
• [63:32] to external ID_AA64MMFR0[63:32] register.
• [31:0] to external ID_AA64MMFR0[31:0] register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the ID_AA64MMFR0_EL1 bit assignments.
63 32 31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
[31:28] 4KB Returns 0x0 to indicate that the 4KB granule is supported.
[27:24] 64KB Returns 0x0 to indicate that the 64KB granule is supported.
[23:20] 16KB Returns 0x0 to indicate that the 16KB granule is not supported.
[15:12] SNSMem Returns 0x1 to indicate that the processor supports a distinction between Secure and Non-secure memory.
[11:8] BigEnd Returns 0x1 to indicate that the processor supports a mixed-endian configuration. The SCTLR_ELx.EE and
SCTLR_EL1.E0E bits can be configured.
[7:4] ASIDBits Returns 0x2 to indicate that the processor supports 16 ASID bits.
[3:0] PARange Returns 0x4 to indicate that the processor supports a 44-bit physical address range, that is, 16TByte.
The ID_AA64MMFR0[31:0] can be accessed through the memory-mapped interface and the external
debug interface, offset 0xD38.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-116
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
The ID_AA64MMFR0[63:32] can be accessed through the memory-mapped interface and the external
debug interface, offset 0xD3C.
- RO RO RO RO RO
If CSSELR_EL1 indicates a cache that is not implemented, reading the Cache Size ID Register
returns an UNKNOWN value.
Configurations
The CCSIDR_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 CCSIDR register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the CCSIDR_EL1 bit assignments.
31 30 29 28 27 13 12 3 2 0
WT WA
WB RA
[31] WT Returns 0b0 to indicate that the cache level does not support Write-Through.
[29] RA Returns 0b1 to indicate that the cache level supports Read-Allocation.
[27:13] NumSets Indicates the (number of sets in cache) – 1. Therefore, a value of 0 indicates 1 set in the cache. The number of
sets does not have to be a power of 2.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-117
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[12:3] Associativity Indicates the associativity of the selected cache level. The possible values are:
0b0000000001 2-way.
0b0000000010 3-way.
0b0000001111 16-way.
[2:0] LineSize Returns 0b010 to indicate that the cache line size is 64 bytes.
The following table shows the individual bit field and complete register encoding for the CCSIDR_EL1.
The CSSELR_EL1 determines which Cache Size ID Register to select.
0x3-0xF - - Reserved
To access the CCSIDR in AArch32 state, read the CP15 register with:
MRC p15, 1, <Rt>, c0, c0, 0; Read Cache Size ID Register
- RO RO RO RO RO
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-118
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Configurations
The CLIDR_EL1 is:
• Common to Secure and Non-secure states.
• A 64-bit register in the AArch64 state.
• Architecturally mapped to the AArch32 CLIDR register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the CLIDR_EL1 bit assignments.
63 30 29 27 26 24 23 21 20 18 17 15 14 12 11 9 8 6 5 3 2 0
RES0 LoUU LoC LoUIS Ctype7 Ctype6 Ctype5 Ctype4 Ctype3 Ctype2 Ctype1
[29:27] LoUU Indicates the Level of Unification Uniprocessor for the cache hierarchy. This value is:
0b001 L1 cache is the last level of cache that must be cleaned or invalidated when cleaning or
invalidating to the point of unification for the processor.
[26:24] LoC Indicates the Level of Coherency for the cache hierarchy. This value is:
0b010 L3 cache.
[23:21] LoUIS Indicates the Level of Unification Inner Shareable for the cache hierarchy. This value is:
0b001 L2 cache.
[20:18] Ctype7 Indicates the type of cache implemented at level 7. This value is:
0b000 No cache.
[17:15] Ctype6 Indicates the type of cache implemented at level 6. This value is:
0b000 No cache.
[14:12] Ctype5 Indicates the type of cache implemented at level 5. This value is:
0b000 No cache.
[11:9] Ctype4 Indicates the type of cache implemented at level 4. This value is:
0b000 No cache.
[8:6] Ctype3 Indicates the type of cache implemented at level 3. This value is:
0b000 No cache.
[5:3] Ctype2 Indicates the type of cache implemented at level 2. This value is:
0b100 Unified cache.
[2:0] Ctype1 Indicates the type of cache implemented at level 1. This value is:
0b011 Separate instruction and data caches.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-119
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
To access the CLIDR in AArch32 state, read the CP15 register with:
MRC p15, 1, <Rt>, c0, c0, 1; Read Cache Level ID Register
The processor does not implement AIDR_EL1. This register is always RES0.
- RW RW RW RW RW
If the CSSELR_EL1 level field is programmed to a cache level that is not implemented, then a
read of CSSELR_EL1 returns an UNKNOWN value in CSSELR_EL1.Level.
Configurations
The CSSELR_EL1 is:
• Banked for the Secure and Non-secure states.
• Architecturally mapped to the Non-secure AArch32 CSSELR register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the CSSELR_EL1 bit assignments.
31 4 3 1 0
RES0 Level
InD
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-120
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
To access the CSSELR_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, CSSELR_EL1; Read Cache Size Selection Register
MSR CSSELR_EL1, <Xt>; Write Cache Size Selection Register
To access the CSSELR in AArch32 state, read or write the CP15 register with:
MRC p15, 2, <Rt>, c0, c0, 0; Read Cache Size Selection Register
MCR p15, 2, <Rt>, c0, c0, 0; Write Cache Size Selection Register
Related information
4.3.22 Cache Size ID Register, EL1 on page 4-117.
Config RO RO RO RO RO
- RO RO RO RO RO
Configurations
The CTR_EL0 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch32 CTR register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the CTR_EL0 bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-121
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
31 30 28 27 24 23 20 19 16 15 14 13 4 3 0
RES1
[27:24] CWG Cache Writeback Granule. Log2 of the number of words of the maximum size of memory that can be overwritten
as a result of the eviction of a cache entry that has had a memory location in it modified. This value is:
0x4 Cache writeback granule size is 16 words.
[23:20] ERG Exclusives Reservation Granule. Log2 of the number of words of the maximum size of the reservation granule
that has been implemented for the Load-Exclusive and Store-Exclusive instructions. This value is:
0x4 Exclusive reservation granule size is 16 words.
[19:16] DminLine Log2 of the number of words in the smallest cache line of all the data and unified caches that the processor
controls. This value is:
0x4 Smallest data cache line size is 16 words.
[15:14] L1lp Level 1 Instruction Cache policy. Indicates the indexing and tagging policy for the L1 Instruction Cache. This
value is:
0b11 Physical index, physical tag (PIPT).
[3:0] IminLine Log2 of the number of words in the smallest cache line of all the Instruction Caches that the processor controls.
This values is:
0x4 Smallest Instruction Cache line size is 16 words.
To access the CTR in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c0, 1; Read Cache Type Register
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-122
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The accessibility of the DCZID_EL0 by Exception level is:
RO RO RO RO RO RO
Configurations
The DCZID_EL0 is a 32-bit register.
Attributes
See the register summary in Table 4-1 AArch64 identification registers on page 4-75.
The following figure shows the DCZID_EL0 bit assignments.
63 5 4 3 0
RES0 BlockSize
DZP
[4] DZP Prohibit the DC ZVA instruction. The possible values are:
0 DC ZVA instruction permitted. This is the reset value.
1 DC ZVA instruction prohibited.
To access the DCZID_EL0 in AArch64 state, read or write the register with:
MRS <Xt>, DCZID_EL0; Read Data Cache Zero ID Register
- - - RW RW RW
- - - RW RW -
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-123
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Configurations
The VPIDR_EL2 is:
• A Banked EL2 register.
• Architecturally mapped to the AArch32 VPIDR register.
Attributes
See the register summary in Table 4-13 AArch64 virtualization registers on page 4-83.
The following figure shows the VPIDR_EL2 bit assignments.
31 0
VPIDR
[31:0] VPIDR MIDR value returned by Non-secure EL1 reads of the MIDR. For information on the subdivision of this value, see
4.3.1 Main ID Register, EL1 on page 4-89.
To access the VPIDR_EL2 in AArch64 state, read or write the register with:
MRS <Xt>, VPIDR_EL1; Read Virtualization Processor ID Register
MSR VPIDR_EL1, <Xt>; Write Virtualization Processor ID Register
Related information
4.3.1 Main ID Register, EL1 on page 4-89.
- - - RW RW RW
Configurations
The VMPIDR_EL2 is Architecturally mapped to the Non-secure AArch32 VMPIDR register.
Attributes
See the register summary in Table 4-13 AArch64 virtualization registers on page 4-83.
The following figure shows the VMPIDR_EL2 bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-124
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
63 32 31 0
Reserved VMPIDR_EL2
[31:0] VMPIDR_EL2 MPIDR value returned by Non-secure EL1 reads of the MPIDR_EL1. For information on the subdivision of
this value, see 4.5.3 Multiprocessor Affinity Register on page 4-240.
To access the VMPIDR_EL2 in AArch64 state, read or write the register with:
MRS <Xt>, VMPIDR_EL1; Read Virtualization Multiprocessor ID Register
MSR VMPIDR_EL1, <Xt>; Write Virtualization Multiprocessor ID Register
Related information
4.5.4 Virtualization Multiprocessor ID Register on page 4-241.
- RW RW RW RW RW
Configurations
The SCTLR_EL1 is:
• A 32-bit register in AArch64 state.
• Architecturally mapped to the Non-secure AArch32 SCTLR register.
Attributes
See the register summary in Table 4-3 AArch64 virtual memory control registers on page 4-78.
The following figure shows the SCTLR_EL1 bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-125
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register 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 RES0 SA
UCI RES1 SA0
EE WXN CP15BEN
E0E nTWE THEE
RES0 ITD
nTWI SED
UCT UMA
DZE RES0
RES0 RES1
[26] UCI Enables EL0 access to the DC CVAU, DC CIVAC, DC CVAC and IC IVAU instructions in AArch64 state. The
values are:
0 EL0 access disabled. This is the reset value.
1 EL0 access enabled.
[25] EE Exception endianness. Indicates the endianness of the translation table data for the translation table lookups. The
EE bit is permitted to be cached in a TLB. The values are:
0 Little-endian.
1 Big-endian.
[24] E0E Endianness of explicit data access at EL0. The values are:
0 Explicit data accesses at EL0 are little-endian. This is reset value.
1 Explicit data accesses at EL0 are big-endian.
[19] WXN Write permission implies Execute Never (XN). You can use this bit to require all memory regions with write
permissions are treated as XN. The WXN bit is permitted to be cached in a TLB. The values are:
0 Regions with write permission are not forced to be XN. This is the reset value.
1 Regions with write permissions are forced to be XN.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-126
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Conditional WFE instructions that fail their condition do not cause an exception if this bit is 0.
Conditional WFI instructions that fail their condition do not cause an exception if this bit is 0.
[15] UCT Enables EL0 access to the CTR_EL0 register in AArch64 state. The values are:
0 Disables EL0 access to the CTR_EL0 register. This is the reset value.
1 Enables EL0 access to the CTR_EL0 register.
[14] DZE Enables access to the DC ZVA instruction at EL0. The values are:
0 Disables execution access to the DC ZVA instruction at EL0. Access is treated as UNDEFINED.
This is the reset value.
1 Enables execution access to the DC ZVA instruction at EL0.
[9] UMA User Mask Access. Controls access to interrupt masks from EL0, when EL0 is using AArch64. The values are:
0 Disables access to the interrupt masks from EL0.
1 Enables access to the interrupt masks from EL0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-127
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[4] SA0 Enable EL0 Stack Alignment check. When set, use of the Stack Pointer as the base address in a load/store
instruction at EL0 must align to a 16-byte boundary, or a Stack Alignment Fault exception is raised. The values
are:
0 Disable EL0 Stack Alignment check.
1 Enable EL0 Stack Alignment check. This is the reset value.
[3] SA Enable Stack Alignment check. When set, use of the Stack Pointer as the base address in a load/store instruction
at the Exception level of this register must align to a 16-byte boundary, or a Stack Alignment Fault exception is
raised. The values are:
0 Disable Stack Alignment check.
1 Enable Stack Alignment check. This is the reset value.
Related information
4.5.5 System Control Register on page 4-242.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-128
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
The processor does not implement the ACTLR_EL1 register. This register is always RES0.
- RW RW RW RW RW
Configurations
The CPACR_EL1 is:
• A32-bit register in AArch64 state.
• Architecturally mapped to the Non-secure AArch32 CPACR register.
Attributes
See the register summary in Table 4-4 AArch64 other System registers on page 4-79.
The following figure shows the CPACR_EL1 bit assignments.
31 29 28 27 22 21 20 19 0
TTA
[28] TTA Traps trace functionality to EL1 when executing from EL0 or EL1. The value is:
0 System register access to trace functionality is not supported. This bit is RES0.
[21:20] FPEN Traps instructions that access registers associated with floating-point and SIMD execution to trap to EL1 when
executed from EL0 or EL1. The possible values are:
0b00 Trap any instruction in EL0 or EL1 that use registers associated with floating-point and Advanced SIMD
0b10 execution. The reset value is 0b00.
0b01 Trap any instruction in EL0 that use registers associated with floating-point and Advanced SIMD execution.
Instructions in EL1 are not trapped.
0b11 No instructions are trapped.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-129
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
To access the CPACR_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, CPACR_EL1; Read EL1 Architectural Feature Access Control Register
MSR CPACR_EL1, <Xt>; Write EL1 Architectural Feature Access Control Register
Related information
4.5.6 Architectural Feature Access Control Register on page 4-247.
- - - RW RW RW
- - - RW RW -
Configurations
The ACTLR_EL2 is:
• A Banked EL2 register.
• Architecturally mapped to the AArch32 HACTLR register.
Attributes
See the register summary in Table 4-4 AArch64 other System registers on page 4-79.
The following figure shows the ACTLR_EL2 bit assignments.
31 7 6 5 4 3 2 1 0
Reserved
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-130
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[6] L2ACTLR access control L2ACTLR access control. The possible values are:
0 The register is not accessible from Non-secure EL1.
1 The register is accessible from Non-secure EL1.
[5] L2ECTLR access control L2ECTLR access control. The possible values are:
0 The register is not accessible from Non-secure EL1.
1 The register is accessible from Non-secure EL1.
[4] L2CTLR access control L2CTLR access control. The possible values are:
0 The register is not accessible from Non-secure EL1.
1 The register is accessible from Non-secure EL1.
[1] CPUECTLR access control CPUECTLR access control. The possible values are:
0 The register is not accessible from Non-secure EL1.
1 The register is accessible from Non-secure EL1.
[0] CPUACTLR access control CPUACTLR access control. The possible values are:
0 The register is not accessible from Non-secure EL1.
1 The register is accessible from Non-secure EL1.
To access the ACTLR_EL2 in AArch64 state, read or write the register with:
MRS <Xt>, ACTLR_EL2; Read EL2 Auxiliary Control Register
MSR ACTLR_EL2, <Xt>; Write EL2 Auxiliary Control Register
To access the HACTLR in AArch32 state, read or write the CP15 register with:
MRC p15, 4, <Rt>, c1, c0, 1; Read Hypervisor Auxiliary Control Register
MCR p15, 4, <Rt>, c1, c0, 1; Write Hypervisor Auxiliary Control Register
- - - RW RW RW
Configurations
The HCR_EL2 is architecturally mapped as follows:
• [63:32] to the AArch32 HCR2 register.
• [31:0] to the AArch32 HCR register.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-131
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Attributes
See the register summary in Table 4-13 AArch64 virtualization registers on page 4-83.
The following figure shows the HCR_EL2 bit assignments.
63 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
Reserved
ID VM
CD SWIO
RW PTW
TRVM FMO
HCD IMO
TDZ AMO
TGE VF
TVM VI
TTLB VSE
TPU FB
TPC BSU
TSW DC
TACR TWI
TIDCP TWE
TSC TID0
TID3 TID1
TID2
[33] ID Disables stage 2 Instruction Cache. When HCR_EL2.VM is 1, this forces all stage 2 translations for instruction
accesses to Normal memory to be Non-cacheable for the EL1/EL0 translation regimes. The values are:
0 Has no effect on stage 2 EL1/EL0 translation regime for instruction accesses. This is the reset
value.
1 Forces all stage 2 translations for instruction accesses to Normal memory to be Non-cacheable
for the EL1/EL0 translation regime.
[32] CD Disables stage 2 data cache. When HCR_EL2.VM is 1, this forces all stage 2 translations for data accesses and
translation table walks to Normal memory to be Non-cacheable for the EL1/EL0 translation regimes. The values are:
0 Has no effect on stage 2 EL1/EL0 translation regime for data access or translation table walks.
This is the reset value.
1 Forces all stage 2 translations for data accesses and translation table walks to Normal memory to
be Non-cacheable for the EL1/EL0 translation regime.
[31] RW Register width control for lower Exception levels. The values are:
0 Lower levels are all AArch32. This is the reset value.
1 EL1 is AArch64. EL0 is determined by the register width described in the current processing
state when executing at EL0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-132
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[30] TRVM Trap Read of Virtual Memory controls. When 1, this causes reads to the EL1 virtual memory control registers from
EL1 to be trapped to EL2. This covers the following registers:
AArch32 SCTLR, TTBR0, TTBR1, TTBCR, DACR, DFSR, IFSR, DFAR, IFAR, ADFSR, AIFSR,
PRRR/MAIR0, NMRR/MAIR1, AMAIR0, AMAIR1, and CONTEXTIDR.
AArch64 SCTLR_EL1, TTBR0_EL1, TTBR1_EL1, TCR_EL1, ESR_EL1, FAR_EL1, AFSR0_EL1,
AFSR1_EL1, MAIR_EL1, AMAIR_EL1, and CONTEXTIDR_EL1.
[29] HCD Disables Hyp call. The processor implements EL3. This bit is RES0.
[27] TGE Traps general exceptions. If this bit is set, and SCR_EL3.NS is set, then:
• All EL1 exceptions are routed to EL2.
• For EL1, the SCTLR_EL1.M bit is treated as 0 regardless of its actual state other than the purpose of reading the
bit.
• The HCR_EL2.FMO, HCR_EL2.IMO, and HCR_AMO bits are treated as 1 regardless of their actual state other
than for the purpose of reading the bits.
• All virtual interrupts are disabled.
• Any IMPLEMENTATION DEFINED mechanisms for signaling virtual interrupts are disabled.
• An exception return to EL1 is treated as an illegal exception return.
[26] TVM Trap Virtual Memory controls. When 1, this causes writes to the EL1 virtual memory control registers from EL1 to
be trapped to EL2. This covers the following registers:
AArch32 SCTLR, TTBR0, TTBR1, TTBCR, DACR, DFSR, IFSR, DFAR, IFAR, ADFSR, AIFSR,
PRRR/MAIR0, NMRR/MAIR1, AMAIR0, AMAIR1, and CONTEXTIDR.
AArch64 SCTLR_EL1, TTBR0_EL1, TTBR1_EL1, TCR_EL1, ESR_EL1, FAR_EL1, AFSR0_EL1,
AFSR1_EL1, MAIR_EL1, AMAIR_EL1, and CONTEXTIDR_EL1.
[25] TTLB Trap TLB maintenance instructions. When 1, this causes TLB maintenance instructions executed from EL1 that are
not UNDEFINED to be trapped to EL2. This covers the following instructions:
AArch32 TLBIALLIS, TLBIMVAIS, TLBIASIDIS, TLBIMVAAIS, ITLBIALL, DTLBIALL, TLBIALL,
ITLBIMVA, DTLBIMVA, TLBIMVA, ITLBIASID, DTLBIASID, TLBIASID, TLBIMVAA,
TLBIMVALIS, TLBIMVAALIS, TLBIMVAL, and TLBIMVAAL.
AArch64 TLBI VAMLLE1, TLBI VAE1, TLBI ASIDE1, TLBI VAAE1, TLBI VALE1, TLBI VAALE1,
TLBI VMALLE1IS, TLBI VAE1IS, TLBI ASIDE1IS, TLBI VAAE1IS, TLBI VALE1IS, and
TLBI VAALE1IS.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-133
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[24] TPU Trap Cache maintenance instructions to Point of Unification. When 1, this causes Cache maintenance instructions to
the point of unification executed from EL1 or EL0 that are not UNDEFINED to be trapped to EL2. This covers the
following instructions:
AArch32 ICIMVAU, ICIALLU, ICIALLUIS, and DCCMVAU.
AArch64 IC IVAU, IC IALLU, IC IALLUIS, and DC CVAU.
[23] TPC Trap Data/Unified Cache maintenance operations to point of coherency. When 1, this causes Data or Unified Cache
maintenance instructions by address to the point of coherency executed from EL1 or EL0 that are not UNDEFINED to
be trapped to EL2. This covers the following instructions:
AArch32 DCIMVAC, DCCIMVAC, and DCCMVAC.
AArch64 DC IVAC, DC CIVAC, and DC CVCA.
[22] TSW Trap Data/Unified Cache maintenance operations by Set/Way. When 1, this causes Data or Unified Cache
maintenance instructions by set/way executed from EL1 that are not UNDEFINED to be trapped to EL2. This covers
the following instructions:
AArch32 DCISW, DCCSW, and DCCISW.
AArch64 DC ISW, DC CSW, and DC CISW.
[20] TIDCP Trap Implementation Dependent functionality. When 1, this causes accesses to the following instruction set space
executed from EL1 to be trapped to EL2:
AArch32 All CP15 MCR and MRC instructions as follows:
• CRn is 9, op1 is 0 to 7, CRm is c0, c1, c2, c5, c6, c7, or c8, and op2 is 0 to 7.
• CRn is 10, op1 is 0 to 7, CRm is c0, c1, c4, or c8, and op2 is 0 to 7.
• CRn is 11, op1 is 0 to 7, CRm is c0 to c8, or c15, and op2 is 0 to 7.
AArch64 Reserved control space for IMPLEMENTATION DEFINED functionality.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-134
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[18] TID3 Trap ID Group 3. When 1, this causes reads to the following registers executed from EL1 to be trapped to EL2:
AArch32 ID_PFR0, ID_PFR1, ID_DFR0, ID_AFR0, ID_MMFR0, ID_MMFR1, ID_MMFR2,
ID_MMFR3, ID_ISAR0, ID_ISAR1, ID_ISAR2, ID_ISAR3, ID_ISAR4, ID_ISAR5, MVFR0,
MVFR1, and MVFR2 and MRC instructions to the following locations:
• op1 is 0, CRn is 0, CRm is c3, c4, c5, c6, or c7, and op2 is 0 or 1.
• op1 is 0, CRn is 0, CRm is c3, and op2 is 2.
• op1 is 0, CRn is 0, CRm is 5, and op2 is 4 or 5.
AArch64 ID_PFR0_EL1, ID_PFR1_EL1, ID_DFR0_EL1, ID_AFR0_EL1, ID_MMFR0_EL1,
ID_MMFR1_EL1, ID_MMFR2_EL1, ID_MMFR3_EL1, ID_ISAR0_EL1, ID_ISAR1_EL1,
ID_ISAR2_EL1, ID_ISAR3_EL1, ID_ISAR4_EL1, ID_ISAR5_EL1, MVFR0_EL1,
MVFR1_EL1, MVFR2_EL1, ID_AA64PFRn_EL1, ID_AA64DFRn_EL1,
ID_AA64ISARn_EL1, ID_AA64MMFRn_EL1, and ID_AA64AFRn_EL1.
[17] TID2 Trap ID Group 2. When 1, this causes reads or writes to CSSELR/CSSELR_EL1, to the following registers executed
from EL1 or EL0 that are UNDEFINED to be trapped to EL2:
AArch32 CTR, CCSIDR, CLIDR, and CSSELR.
AArch64 CTR_EL0, CCSIDR_EL1, CLIDR_EL1, and CSSELR_EL1.
[16] TID1 Trap ID Group 1. When 1, this causes reads to the following registers executed from EL1 to be trapped to EL2:
AArch32 TCMTR, TLBTR, AIDR, and REVIDR.
AArch64 AIDR_EL1, and REVIDR_EL1.
[15] TID0 Trap ID Group 0. When 1, this causes reads to the following registers executed from EL1 or EL0 that are UNDEFINED
to be trapped to EL2:
AArch32 FPSID and JIDR.
AArch64 None.
[14] TWE Traps WFE instruction if it would cause suspension of execution. For example, if there is no pending WFE event:
0 WFE instruction is not trapped.
1 WFE instruction executed in EL1 or EL0 is trapped to EL2 for AArch32 and AArch64 states.
[13] TWI Traps WFI instruction if it would cause suspension of execution. For example, if there is no pending WFI event:
0 WFI instruction is not trapped.
1 WFI instruction executed in EL1 or EL0 is trapped to EL2 for AArch32 and AArch64 states.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-135
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[12] DC Default Cacheable. When this bit is set to 1 the memory type and attributes determined by stage 1 translation is
Normal, Non-shareable, Inner Write-Back Write-Allocate, Outer Write-Back Write-Allocate.
When executing in Non-secure EL0 or EL1 and the HCR_EL2.DC bit is set, the behavior of processor is consistent
with the behavior when:
• The SCTLR_EL1.M bit is clear, regardless of the actual value of the SCTLR.M bit.
— An explicit read of the SCTLR_EL1.M bit returns its actual value.
• The HCR_EL2.VM bit is set, regardless of the actual value of the HCR_EL2.VM bit.
— An explicit read of the HCR_EL2.VM bit returns its actual value.
The reset value is 0.
[11:10] BSU Barrier shareability upgrade. Determines the minimum shareability domain that is supplied to any barrier executed
from EL1 or EL0. The values are:
0b00 No effect.
0b01 Inner Shareable.
0b10 Outer Shareable.
0b11 Full system.
This value is combined with the specified level of the barrier held in its instruction, according to the algorithm for
combining shareability attributes.
[9] FB Force broadcast. When 1, this causes the following instructions to be broadcast within the Inner Shareable domain
when executed from Non-secure EL1:
AArch32 ITLBIALL, DTLBIALL, TLBIALL, ITLBIMVA, DTLBIMVA, TLBIMVA, ITLBIASID,
DTLBIASID, TLBIASID, TLBIMVAA, BPIALL, and ICIALLU.
AArch64 TLBI VMALLE1, TLBI VAE1, TLBI ASIDE1, TLBI VAAE1, TLBI VALE1, TLBI VAALE1,
and IC IALLU.
The virtual System Error/Asynchronous Abort is only enabled when the HCR_EL2.AMO bit is set.
The virtual IRQ is only enabled when the HCR_EL2.IMO bit is set.
The virtual FIQ is only enabled when the HCR_EL2.FMO bit is set.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-136
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[5] AMO Asynchronous abort and error interrupt routing. The values are:
0 Asynchronous external Aborts and SError Interrupts while executing at Exception levels lower
than EL2 are not taken at EL2. Virtual System Error/Asynchronous Abort is disabled.
1 Asynchronous external Aborts and SError Interrupts while executing at EL2 or lower are taken
in EL2 unless routed by SCTLR_EL3.EA bit to EL3. Virtual System Error/Asynchronous Abort
is enabled.
[2] PTW Protected Table Walk. When this bit is set, if stage 2 translation of a translation table access, made as part of a stage
1 translation table walk at EL0 or EL1, maps to Strongly-ordered or Device memory, the access is faulted as a stage
2 Permission fault.
[1] SWIO Set/Way Invalidation Override. EL1 execution of the data cache invalidate by set/way instruction is treated as data
cache clean and invalidate by set/way. When this bit is set:
• DCISW is treated as DCCISW when in AArch32 state
• DC ISW is treated as DC CISW when in AArch64 state.
To access the HCR_EL2 in AArch64 state, read or write the register with:
MRS <Xt>, HCR_EL2; Read EL2 Hypervisor Configuration Register
MRS HCR_EL2, <Xt>; Write EL2 Hypervisor Configuration Register
Related information
4.5.11 Hyp Configuration Register 2 on page 4-259.
4.5.10 Hyp Configuration Register on page 4-254.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-137
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The accessibility of the CPTR_EL2 by Exception level is:
- - - RW RW RW
Configurations
The CPTR_EL2 is:
• A 32-bit register in AArch64 state.
• Architecturally mapped to the AArch32 HCPTR register.
Attributes
See the register summary in Table 4-13 AArch64 virtualization registers on page 4-83.
The following figure shows the CPTR_EL2 bit assignments.
31 30 21 20 19 14 13 12 11 10 9 0
[31] TCPAC Traps direct access to CPACR from EL1 to EL2. The possible values are:
0 Access to CPACR is not trapped. This is the reset value.
1 Access to CPACR is trapped.
[20] TTA This bit is RES0. The processor does not support System register access to trace functionality.
[10] TFP Traps instructions that access registers associated with floating-point and SIMD execution from a lower Exception
level to EL2, unless trapped to EL1. The possible values are:
0 Instructions are not trapped. This is the reset value.
1 Instructions are trapped.
To access the CPTR_EL2 in AArch64 state, read or write the register with:
MRS <Xt>, CPTR_EL2; Read EL2 Architectural Feature Trap Register
MSR CPTR_EL2, <Xt>; Write EL2 Architectural Feature Trap Register
Related information
4.5.13 Hyp Architectural Feature Trap Register on page 4-263.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-138
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
- - - RW RW RW
- - - RW RW -
Configurations
The HSTR_EL2 is:
• A Banked EL2 register.
• Architecturally mapped to AArch32 HSTR register.
Attributes
See the register summary in Table 4-13 AArch64 virtualization registers on page 4-83.
The following figure shows the HSTR_EL2 bit assignments.
31 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Reserved
TTEE T0
T15 T1
Reserved T2
T13 T3
T12 Reserved
T11 T5
T10 T6
T9 T7
T8
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-139
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[15] T15 Trap coprocessor primary register CRn = 15. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure accesses to coprocessor primary register CRn = c15 in AArch32 state to Hyp mode.
[13] T13 Trap coprocessor primary register CRn = 13. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure accesses to coprocessor primary register CRn = c13 in AArch32 state to Hyp mode.
[12] T12 Trap coprocessor primary register CRn = 12. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure accesses to coprocessor primary register CRn = c12 in AArch32 state to Hyp mode.
[11] T11 Trap coprocessor primary register CRn = 11. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure accesses to coprocessor primary register CRn = c11 in AArch32 state to Hyp mode.
[10] T10 Trap coprocessor primary register CRn = 10. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure EL0 or EL1 accesses to coprocessor primary register CRn = c10 in AArch32 state to Hyp
mode.
[9] T9 Trap coprocessor primary register CRn = 9. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure EL0 or EL1 accesses to coprocessor primary register CRn = c9 in AArch32 state to Hyp
mode.
[8] T8 Trap coprocessor primary register CRn = 8. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure EL0 or EL1 accesses to coprocessor primary register CRn = c8 in AArch32 state to Hyp
mode.
[7] T7 Trap coprocessor primary register CRn = 7. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure EL0 or EL1 accesses to coprocessor primary register CRn = c7 in AArch32 state to Hyp
mode.
[6] T6 Trap coprocessor primary register CRn = 6. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure EL0 or EL1 accesses to coprocessor primary register CRn = c6 in AArch32 state to Hyp
mode.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-140
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[5] T5 Trap coprocessor primary register CRn = 5. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure EL0 or EL1 accesses to coprocessor primary register CRn = c5 in AArch32 state to Hyp
mode.
[3] T3 Trap coprocessor primary register CRn = 3. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure EL0 or EL1 accesses to coprocessor primary register CRn = c3 in AArch32 state to Hyp
mode.
[2] T2 Trap coprocessor primary register CRn = 2. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure EL0 or EL1 accesses to coprocessor primary register CRn = c2 in AArch32 state to Hyp
mode.
[1] T1 Trap coprocessor primary register CRn = 1. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure EL0 or EL1 accesses to coprocessor primary register CRn = c1 in AArch32 state to Hyp
mode.
[0] T0 Trap coprocessor primary register CRn = 0. The possible values are:
0 Has no effect on Non-secure accesses to CP15 coprocessor registers. This is the reset value.
1 Trap valid Non-secure EL0 or EL1 accesses to coprocessor primary register CRn = c0 in AArch32 state to Hyp
mode.
To access the HSTR_EL2 in AArch64 state, read or write the register with:
MRS <Xt>, HSTR_EL2; Read Hyp System Trap Register
MSR HSTR_EL2, <Xt>; Write Hyp System Trap Register
To access the HSTR in AArch32 state, read or write the CP15 register with:
MRC p15, 4, <Rt>, c1, c1, 3; Read Hyp System Trap Register
MCR p15, 4, <Rt>, c1, c1, 3; Write Hyp System Trap Register
The processor does not implement HACR_EL2 in AArch64 state. This register is RES0 in EL2 and EL3.
The processor does not implement HACR in AArch32 state. This register is RES0 in Hyp mode and in
Monitor mode when SCR.NS is 1.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-141
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The accessibility of the SCTLR_EL3 by Exception level is:
- - - - RW RW
Configurations
The SCTLR_EL3 is:
• A 32-bit register in AArch64 state.
• Architecturally mapped to Secure AArch32 SCTLR register.
Attributes
See the register summary in Table 4-3 AArch64 virtual memory control registers on page 4-78.
The following figure shows the SCTLR_EL3 bit assignments.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 13 12 11 10 6 5 4 3 2 1 0
[19] WXN Force treatment of all memory regions with write permissions as XN. The values are:
0 Regions with write permissions are not forced to XN. This is the reset value.
1 Regions with write permissions are forced to XN.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-142
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[2] C Global enable for data and unified caches. The values are:
0 Disables data and unified caches. This is the reset value.
1 Enables data and unified caches.
[0] M Global enable for the EL1 and EL0 stage 1 MMU. The values are:
0 Disables EL1 and EL0 stage 1 MMU. This is the reset value.
1 Enables EL1 and EL0 stage 1 MMU.
To access the SCTLR_EL3 in AArch64 state, read or write the register with:
MRS <Xt>, SCTLR_EL3; Read EL3 System Control Register
MSR SCTLR_EL3, <Xt>; Write EL3 System Control Register
Related information
4.5.5 System Control Register on page 4-242.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-143
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The accessibility to the ACTLR_EL3 in AArch64 state by Exception level is:
- - - - RW RW
- RW RW RW RW RW
Configurations
The ACTLR_EL3 is:
• A Banked register.
• Mapped to the Secure AArch32 ACTLR register.
Attributes
See the register summary in Table 4-4 AArch64 other System registers on page 4-79.
The following figure shows the ACTLR_EL3 bit assignments.
31 7 6 5 4 3 2 1 0
RES0 RES0
L2ACTLR
L2ECTLR
L2CTLR
CPUECTLR
CPUACTLR
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-144
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[1] CPUECTLR CPU Extended Control Register. The possible values are:
0 The register is not accessible from a lower Exception level. This is the reset value.
1 The register is accessible from a lower Exception level.
[0] CPUACTLR CPU Auxiliary Control Register. The possible values are:
0 The register is not accessible from a lower Exception level. This is the reset value.
1 The register is accessible from a lower Exception level.
To access the ACTLR_EL3 in AArch64 state, read or write the register with:
MRS <Xt>, ACTLR_EL3; Read Auxiliary Control Register
MSR ACTLR_EL3, <Xt>; Write Auxiliary Control Register
To access the ACTLR in AArch32 state, read or write the CP15 register with:
MRC p15, 0, <Rt>, c1, c0, 1; Read Auxiliary Control Register
MCR p15, 0, <Rt>, c1, c0, 1; Write Auxiliary Control Register
Related information
4.3.33 Auxiliary Control Register, EL2 on page 4-130.
- - - - RW RW
Configurations
The CPTR_EL3 is a 32-bit register.
Attributes
See the register summary in Table 4-12 AArch64 security registers on page 4-83.
The following figure shows the CPTR_EL3 bit assignments.
31 30 21 20 19 11 10 9 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-145
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[31] TCPAC Traps direct access to CPACR_EL1 from EL1 to EL3. The possible values are:
0 Access to CPACR_EL1 is not trapped. This is the reset value.
1 Access to CPACR_EL1 is trapped.
[20] TTA This bit is RES0. The processor does not support System register access to trace functionality.
[10] TFP Traps instructions that access registers associated with floating-point and Advanced SIMD execution from a lower
Exception level to EL3, unless trapped to EL1. The possible values are:
0 Instructions that access registers associated with floating-point and Advanced SIMD execution are not trapped.
1 Instructions that access registers associated with floating-point and Advanced SIMD execution are trapped.
This is the reset value.
To access the CPTR_EL3 in AArch64 state, read or write the register with:
MRS <Xt>, CPTR_EL3; Read EL3 Architectural Feature Trap Register
MSR CPTR_EL3, <Xt>; Write EL3 Architectural Feature Trap Register
- RW RW RW RW RW
Configurations
TCR_EL1[31:0] is architecturally mapped to the Non-secure AArch32 TTBCR register.
Attributes
See the register summary in Table 4-3 AArch64 virtual memory control registers on page 4-78.
The following figure shows the TCR_EL1 bit assignments.
63 39 38 37 36 35 34 32 31 30 29 28 27 26 25 24 23 22 21 16 15 14 13 12 11 10 9 8 7 6 5 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-146
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[38] TBI1 Top Byte Ignored. Indicates whether the top byte of the input address is used for address match for the TTBR1
region. The values are:
0 Top byte used in the address calculation.
1 Top byte ignored in the address calculation.
[37] TBI0 Top Byte Ignored. Indicates whether the top byte of the input address is used for address match for the TTBR0
region. The values are:
0 Top byte used in the address calculation.
1 Top byte ignored in the address calculation.
[34:32] IPS Intermediate Physical Address Size. The possible values are:
0b000 32-bit, 4GBytes.
0b001 36-bit, 64GBytes.
0b010 40-bit, 1TByte.
0b011 42-bit, 4TBytes.
0b100 44-bit, 16TBytes.
0b101 48-bit, 256TBytes.
[29:28] SH1 Shareability attribute for memory associated with translation table walks using TTBR1. The values are:
0b00 Non-shareable.
0b01 Reserved.
0b10 Outer Shareable.
0b11 Inner Shareable.
[27:26] ORGN1 Outer cacheability attribute for memory associated with translation table walks using TTBR1. The values are:
0b00 Normal memory, Outer Non-cacheable.
0b01 Normal memory, Outer Write-Back Write-Allocate Cacheable.
0b10 Normal memory, Outer Write-Through Cacheable.
0b11 Normal memory, Outer Write-Back no Write-Allocate Cacheable.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-147
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[25:24] IRGN1 Inner cacheability attribute for memory associated with translation table walks using TTBR1. The values are:
0b00 Normal memory, Inner Non-cacheable.
0b01 Normal memory, Inner Write-Back Write-Allocate Cacheable.
0b10 Normal memory, Inner Write-Through Cacheable.
0b11 Normal memory, Inner Write-Back no Write-Allocate Cacheable.
[23] EPD1 Translation table walk disable for translations using TTBR1. Controls if a translation table walk is performed on a
TLB miss for an address that is translated using TTBR1. The values are:
0 Perform translation table walk using TTBR1.
1 A TLB miss on an address translated from TTBR1 generates a Translation fault. No translation
table walk is performed.
[22] A1 Selects whether TTBR0 or TTBR1 defines the ASID. The values are:
0 TTBR0.ASID defines the ASID.
1 TTBR1.ASID defines the ASID.
[21:16] T1SZ Size offset of the memory region addressed by TTBR1. The region size is 2(64–TSIZE) bytes.
[13:12] SH0 Shareability attribute for memory associated with translation table walks using TTBR0. The values are:
0b00 Non-shareable.
0b01 Reserved.
0b10 Outer Shareable.
0b11 Inner Shareable.
[11:10] ORGN0 Outer cacheability attribute for memory associated with translation table walks using TTBR0. The values are:
0b00 Normal memory, Outer Non-cacheable.
0b01 Normal memory, Outer Write-Back Write-Allocate Cacheable.
0b10 Normal memory, Outer Write-Through Cacheable.
0b11 Normal memory, Outer Write-Back no Write-Allocate Cacheable.
[9:8] IRGN0 Inner cacheability attribute for memory associated with translation table walks using TTBR0. The values are:
0b00 Normal memory, Inner Non-cacheable.
0b01 Normal memory, Inner Write-Back Write-Allocate Cacheable.
0b10 Normal memory, Inner Write-Through Cacheable.
0b11 Normal memory, Inner Write-Back no Write-Allocate Cacheable.
[5:0] T0SZ Size offset of the memory region addressed by TTBR0. The region size is 2(64–TSIZE) bytes.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-148
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
To access the TCR_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, TCR_EL1; Read EL1 Translation Control Register
MSR TCR_EL1, <Xt>; Write EL1 Translation Control Register
Related information
4.5.15 Translation Table Base Control Register on page 4-265.
- - - RW RW RW
Configurations
The TCR_EL2 is architecturally mapped to the AArch32 HCTR register.
Attributes
See the register summary in Table 4-3 AArch64 virtual memory control registers on page 4-78.
The following figure shows the TCR_EL2 bit assignments.
31 30 24 23 22 21 20 19 18 16 15 14 13 12 11 10 9 8 7 6 5 0
[20] TBI Top Byte Ignored. Indicates whether the top byte of the input address is used for address match. The values are:
0 Top byte used in the address calculation.
1 Top byte ignored in the address calculation.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-149
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[13:12] SH0 Shareability attribute for memory associated with translation table walks using TTBR0. The values are:
0b00 Non-shareable.
0b01 Reserved.
0b10 Outer Shareable.
0b11 Inner Shareable.
[11:10] ORGN0 Outer cacheability attribute for memory associated with translation table walks using TTBR0. The values are:
0b00 Normal memory, Outer Non-cacheable.
0b01 Normal memory, Outer Write-Back Write-Allocate Cacheable.
0b10 Normal memory, Outer Write-Through Cacheable.
0b11 Normal memory, Outer Write-Back no Write-Allocate Cacheable.
[9:8] IRGN0 Inner cacheability attribute for memory associated with translation table walks using TTBR0. The values are:
0b00 Normal memory, Inner Non-cacheable.
0b01 Normal memory, Inner Write-Back Write-Allocate Cacheable.
0b10 Normal memory, Inner Write-Through Cacheable.
0b11 Normal memory, Inner Write-Back no Write-Allocate Cacheable.
[5:0] T0SZ Size offset of the memory region addressed by TTBR0. The region size is 2(64–TSIZE) bytes.
To access the TCR_EL2 in AArch64 state, read or write the register with:
MRS <Xt>, TCR_EL2; Read EL2 Translation Control Register
MSR TCR_EL2, <Xt>; Write EL2 Translation Control Register
Related information
4.5.16 Hyp Translation Control Register on page 4-266.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-150
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
- - - RW RW RW
Configurations
The VTCR_EL2 is:
• A32-bit register in AArch64 state.
• Architecturally mapped to the AArch32 VTCR register.
Attributes
See the register summary in Table 4-3 AArch64 virtual memory control registers on page 4-78.
The following figure shows the VTCR_EL2 bit assignments.
31 30 19 18 16 15 14 13 12 11 10 9 8 7 6 5 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-151
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[13:12] SH0 Shareability attribute for memory associated with translation table walks using TTBR0:
0b00 Non-shareable.
0b01 Reserved.
0b11 Outer Shareable.
0b11 Inner Shareable.
[11:10] ORGN0 Outer cacheability attribute for memory associated with translation table walks using TTBR0.
0b00 Normal memory, Outer Non-cacheable.
0b01 Normal memory, Outer Write-Back Write-Allocate Cacheable.
0b11 Normal memory, Outer Write-Through Cacheable.
0b11 Normal memory, Outer Write-Back no Write-Allocate Cacheable.
[9:8] IRGN0 Inner cacheability attribute for memory associated with translation table walks using TTBR0.
0b00 Normal memory, Inner Non-cacheable.
0b01 Normal memory, Inner Write-Back Write-Allocate Cacheable.
0b11 Normal memory, Inner Write-Through Cacheable.
0b11 Normal memory, Inner Write-Back no Write-Allocate Cacheable.
[5:0] T0SZ The size offset of the memory region addressed by TTBR0. The region size is 2(64–T0SZ) bytes.
To access the VTCR_EL2 in AArch64 state, read or write the register with:
MRS <Xt>, VTCR_EL2; Read EL2 Virtualization Translation Control Register
MSR VTCR_EL2, <Xt>; Write EL2 Virtualization Translation Control Register
- RW RW RW RW RW
Configurations
TTBR0_EL1 is architecturally mapped to the Non-secure AArch32 register TTBR0.
Attributes
See the register summary in Table 4-3 AArch64 virtual memory control registers on page 4-78.
The following figure shows the TTBR0_EL1 bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-152
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
63 48 47 10 9 0
[47:10] BADDR Translation table base address. Defining the translation table base address width.
To access the TTBR0_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, TTBR0_EL1; Read EL1 Translation Table Base Register 0
MSR TTBR0_EL1, <Xt>; Write EL1 Translation Table Base Register 0
- - - - RW RW
Configurations
TTBR0_EL3 is mapped to the Secure AArch32 TTBR0 register.
Attributes
See the register summary in Table 4-3 AArch64 virtual memory control registers on page 4-78.
The following figure shows the TTBR0_EL3 bit assignments.
63 48 47 10 9 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-153
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[47:10] BADDR Translation table base address. Defining the translation table base address width.
To access the TTBR0_EL3 in AArch64 state, read or write the register with:
MRS <Xt>, TTBR0_EL3; Read EL3 Translation Table Base Register 0
MSR TTBR0_EL3, <Xt>; Write EL3 Translation Table Base Register 0
- RW RW RW RW RW
Configurations
TTBR1_EL1 is architecturally mapped to the Non-secure AArch32 register TTBR1.
Attributes
See the register summary in Table 4-3 AArch64 virtual memory control registers on page 4-78.
The following figure shows the TTBR1_EL1 bit assignments.
63 48 47 10 9 0
[47:10] BADDR Translation table base address. Defining the translation table base address width.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-154
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
To access the TTBR0_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, TTBR1_EL1; Read EL1 Translation Table Base Register 1
MSR TTBR1_EL1, <Xt>; Write EL1 Translation Table Base Register 1
- - - - RW RW
Configurations
The TCR_EL3 is architecturally mapped to the Secure AArch32 TTBCR register.
Attributes
See the register summary in Table 4-3 AArch64 virtual memory control registers on page 4-78.
The following figure shows the TCR_EL3 bit assignments.
31 30 24 23 22 21 20 19 18 16 15 14 13 12 11 10 9 8 7 6 5 0
[20] TBI Top Byte Ignored. Indicates whether the top byte of the input address is used for address match. The values are:
0 Top byte used in the address calculation.
1 Top byte ignored in the address calculation.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-155
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[13:12] SH0 Shareability attribute for memory associated with translation table walks using TTBR0. The values are:
0b00 Non-shareable.
0b01 Reserved.
0b10 Outer Shareable.
0b11 Inner Shareable.
[11:10] ORGN0 Outer cacheability attribute for memory associated with translation table walks using TTBR0. The values are:
0b00 Normal memory, Outer Non-cacheable.
0b01 Normal memory, Outer Write-Back Write-Allocate Cacheable.
0b10 Normal memory, Outer Write-Through Cacheable.
0b11 Normal memory, Outer Write-Back no Write-Allocate Cacheable.
[9:8] IRGN0 Inner cacheability attribute for memory associated with translation table walks using TTBR0. The values are:
0b00 Normal memory, Inner Non-cacheable.
0b01 Normal memory, Inner Write-Back Write-Allocate Cacheable.
0b10 Normal memory, Inner Write-Through Cacheable.
0b11 Normal memory, Inner Write-Back no Write-Allocate Cacheable.
[5:0] T0SZ Size offset of the memory region addressed by TTBR0. The region size is 2(64–TSIZE) bytes.
To access the TCR_EL3 in AArch64 state, read or write the register with:
MRS <Xt>, TCR_EL3; Read EL3 Translation Control Register
MRS TCR_EL3, <Xt>; Read EL3 Translation Control Register
Related information
4.5.15 Translation Table Base Control Register on page 4-265.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-156
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
- RW RW RW RW RW
- - - - RW RW
Configurations
The ESR_EL1 is architecturally mapped to the Non-secure AArch32 DFSR register.
The ESR_EL3 is mapped to the Secure AArch32 DFSR register.
Attributes
See the register summary in Table 4-2 AArch64 exception handling registers on page 4-78.
EC Reserved IFSC
IL Reserved
S1TPW
Reserved
EA
The following table shows the ESR_EL1 and ESR_EL3 bit assignments for the Instruction Abort
exception class.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-157
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[9] EA External abort type. This bit indicates whether an AXI decode or slave error caused an abort. The possible values
are:
0 External abort marked as DECERR.
1 External abort marked as SLVERR.
For aborts other than external aborts this bit always returns 0.
[7] S1PTW When 1, indicates the instruction fault came from a second stage fault during a first stage translation table walk.
[5:0] IFSC Instruction Fault Status Code. This field indicates the type of exception generated. The possible values are:
0b000000 Address size fault in TTBR0 or TTBR1.
0b000101 Translation fault, 1st level.
00b00110 Translation fault, 2nd level.
00b00111 Translation fault, 3rd level.
0b001001 Access flag fault, 1st level.
0b001010 Access flag fault, 2nd level.
0b001011 Access flag fault, 3rd level.
0b001101 Permission fault, 1st level.
0b001110 Permission fault, 2nd level.
0b001111 Permission fault, 3rd level.
0b010000 Synchronous external abort.
0b011000 Synchronous parity error on memory access.
0b010101 Synchronous external abort on translation table walk, 1st level.
0b010110 Synchronous external abort on translation table walk, 2nd level.
0b010111 Synchronous external abort on translation table walk, 3rd level.
0b011101 Synchronous parity error on memory access on translation table walk, 1st level.
0b011110 Synchronous parity error on memory access on translation table walk, 2nd level.
0b011111 Synchronous parity error on memory access on translation table walk, 3rd level.
0b100001 Alignment fault.
0b100010 Debug event.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-158
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Table 4-61 ESR_EL1 and ESR_EL3 Cortex-A72 implementation-defined SError Interrupt exception classes bit assignments
[15] Unattributable System Error 0b1 Unattributable - cannot be attributed to the processing element counting the
event.
0b0 Attributable - can be attributed to the processing element counting the event.
[14] Uncontainable System Error 0b1 Uncontainable – an event which cannot be contained to a particular code
sequence.
0b0 Containable - an Attributable event which can be contained to a particular code
sequence.
- - - RW RW RW
- RW RW RW RW RW
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-159
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Configurations
The IFSR32_EL2 is:
• Banked for Secure and Non-secure states.
• Mapped to the Non-secure AArch32 IFSR register.
Attributes
See the register summary in Table 4-2 AArch64 exception handling registers on page 4-78.
There are two formats for this register. The value of TTBCR.EAE selects which format of the register is
used. The two formats are:
• IFSR32_EL2 format when using the Short-descriptor translation table format.
• IFSR32_EL2 format when using the Long-descriptor translation table format.
The following figure shows the IFSR32_EL2 bit assignments when using the Short-descriptor translation
table format.
31 13 12 11 10 9 8 4 3 0
ExT LPAE
RES0 FS[4]
Figure 4-45 IFSR32_EL2 bit assignments for Short-descriptor translation table format
The following table shows the IFSR32_EL2 bit assignments when using the Short-descriptor translation
table format.
Table 4-62 IFSR32_EL2 bit assignments for Short-descriptor translation table format
[12] ExT External abort type. This field indicates whether an AXI decode or slave error caused an abort. The possible values
are:
0 External abort marked as DECERR.
1 External abort marked as SLVERR.
For aborts other than external aborts this bit always returns 0.
[10] FS[4] MSB of the Fault Status field. See bits[3:0] in this table.
[9] LPAE Large physical address extension. The value of the format descriptor is:
0 Short-descriptor translation table formats.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-160
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Table 4-62 IFSR32_EL2 bit assignments for Short-descriptor translation table format (continued)
[3:0] FS[3:0] Fault Status bits. This field indicates the type of exception generated. The possible values are:
0b00001 Alignment fault.
0b01100 Synchronous external abort on translation table walk, 1st level.
0b01110 Synchronous external abort on translation table walk, 2nd level.
0b11100 Synchronous parity error on translation table walk, 1st level.
0b11110 Synchronous parity error on translation table walk, 2nd level.
0b00101 Translation fault, 1st level.
0b00111 Translation fault, 2nd level.
0b00011 Access flag fault, 1st level.
0b00110 Access flag fault, 2nd level.
0b01001 Domain fault, 1st level.
0b01011 Domain fault, 2nd level.
0b01101 Permission fault, 1st level.
0b01111 Permission fault, 2nd level.
0b00010 Debug event.
0b01000 Synchronous external abort, non-translation.
0b11001 Synchronous parity error on memory access.
The following figure shows the IFSR32_EL2 bit assignments when using the Long-descriptor translation
table format.
31 13 12 11 10 9 8 6 5 0
ExT LPAE
Figure 4-46 IFSR32_EL2 bit assignments for Long-descriptor translation table format
The following table shows the IFSR32_EL2 bit assignments when using the Long-descriptor translation
table format.
Table 4-63 IFSR32_EL2 bit assignments for Long-descriptor translation table format
[12] ExT External abort type. This field indicates whether an AXI decode or slave error caused an abort. The possible values
are:
0 External abort marked as DECERR.
1 External abort marked as SLVERR.
For aborts other than external aborts this bit always returns 0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-161
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Table 4-63 IFSR32_EL2 bit assignments for Long-descriptor translation table format (continued)
[9] LPAE Large physical address extension. The value of the format descriptor is:
1 Long-descriptor translation table formats.
[5:0] Status Fault Status bits. This field indicates the type of exception generated. The possible values are:
0b0000LL Address size fault, LL bits indicate level.
0b0001LL Translation fault, LL bits indicate level.
0b0010LL Access flag fault, LL bits indicate level.
0b0011LL Permission fault, LL bits indicate level.
0b010000 Synchronous external abort.
0b011000 Synchronous parity error on memory access.
0b0101LL Synchronous external abort on translation table walk, LL bits indicate level.
0b0111LL Synchronous parity error on memory access on translation table walk, LL bits indicate level.
0b100001 Alignment fault.
0b100010 Debug event.
The following table shows how the LL bits in the Status field encode the lookup level associated with the
MMU fault.
LL bits Meaning
00 Level 0
01 First level
10 Second level
11 Third level
Note
If a Data Abort exception is generated by an Instruction Cache maintenance operation, the fault is
reported as a Cache Maintenance fault in the DFSR or HSR with the appropriate Fault Status code. For
such exceptions reported in the DFSR, the corresponding IFSR is UNKNOWN.
To access the IFSR32_EL2 in AArch64 state, read or write the register with:
MRS <Xt>, IFSR32_EL2; Read EL2 Instruction Fault Status Register
MSR IFSR32_EL2, <Xt>; Write EL2 Instruction Fault Status Register
To access the IFSR in AArch32 state, read or write the CP15 register with:
MRC p15, 0, <Rt>, c5, c0, 1; Read Instruction Fault Status Register
MCR p15, 0, <Rt>, c5, c0, 1; Write Instruction Fault Status Register
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-162
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Related information
IFSR32_EL2 format when using the Short-descriptor translation table format on page 4-160.
IFSR32_EL2 format when using the Long-descriptor translation table format on page 4-161.
4.3.52 Auxiliary Fault Status Register 0, EL2 and Hyp Auxiliary Data Fault Status Register
The processor implements AFSR0_EL2 and HADFSR as RES0.
4.3.53 Auxiliary Fault Status Register 1, EL2 and Hyp Auxiliary Instruction Fault Status Register
The processor implements AFSR1_EL2 and HAIFSR as RES0.
- - - RW RW RW
- - - RW RW -
EC IL ISS
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-163
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[31:26] EC Exception class. The exception class for the exception that is taken in Hyp mode.
When zero, this field indicates that the reason for the exception is not known. In this case, the other fields in this
register are UNKNOWN. Otherwise, the field holds the exception class for the exception. See the ARM® Architecture
Reference Manual ARMv8 for more information.
[25] IL Instruction length. Indicates the size of the instruction that has been trapped to Hyp mode. The values are:
0 16-bit instruction.
1 32-bit instruction.
[24:0] ISS Instruction specific syndrome. The interpretation of this field depends on the value of the EC field. See Encoding of
ISS[24:20] when HSR[31:30] is 0b00 on page 4-164>.
All exception classes except the Instruction Abort are architecturally defined in the ARM® Architecture
Reference Manual ARMv8. The SError Interrupt exception classes are architecturally defined in the
ARM® Generic Interrupt Controller Architecture Specification, GICv3 with the exception of four bits.
The following changes are Cortex-A72 implementation-defined and only apply to SError Interrupt
exception classes.
Table 4-66 ESR_EL2 Cortex-A72 implementation-defined SError Interrupt exception classes bit assignments
[15] Unattributable System Error 0b1 Unattributable - cannot be attributed to the processing element counting the event.
0b0 Attributable - can be attributed to the processing element counting the event.
[14] Uncontainable System Error 0b1 Uncontainable – an event which cannot be contained to a particular code sequence.
0b0 Containable - an Attributable event which can be contained to a particular code sequence.
For EC values that are nonzero and have the two most-significant bits 0b00, ISS[24:20] provides the
condition field for the trapped instruction, together with a valid flag for this field. The encoding of this
part of the ISS field is:
CV, ISS[24] Condition valid. Possible values of this bit are:
0 The COND field is not valid.
1 The COND field is valid.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-164
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
To access the HSR in AArch32 state, read or write the CP15 register with:
MRC p15, 4, <Rt>, c5, c1, 0; Read Hyp Syndrome Register
MCR p15, 4, <Rt>, c5, c1, 0; Write Hyp Syndrome Register
- RW RW RW RW RW
Configurations
The architectural mapping of the PAR_EL1 is to the Non-secure AArch32 PAR register.
Attributes
See the register summary in Table 4-8 AArch64 address translation operations on page 4-81.
The following figure shows the PAR_EL1 bit assignments when the Virtual Address to Physical Address
conversion completes successfully.
63 60 59 56 55 44 43 12 11 10 9 8 7 6 1 0
RES1 NS
RES0
The following table shows the PAR_EL1 bit assignments when the Virtual Address to Physical Address
conversion completes successfully.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-165
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[63:60] AttrH Defines Device memory or Normal memory plus Outer cacheability. Must be used in conjunction with AttrL. The
possible values are:
0x0 Device memory, see AttrL.
0x4 Normal memory, Outer Non-cacheable.
0x8 Normal memory, Outer Write-Through Cacheable.
0x9 Normal memory, Outer Write-Through Cacheable, Outer Write-Allocate.
0xA Normal memory, Outer Write-Through Cacheable, Outer Read-Allocate.
0xB Normal memory, Outer Write-Through Cacheable, Outer Write-Allocate, Outer Read-Allocate.
0xC Normal memory, Outer Write-Back Cacheable.
0xD Normal memory, Outer Write-Back Cacheable, Outer Write-Allocate.
0xE Normal memory, Outer Write-Back Cacheable, Outer Read-Allocate.
0xF Normal memory, Outer Write-Back Cacheable, Outer Write-Allocate, Outer Read-Allocate.
[59:56] AttrL Defines Device memory or Normal memory plus Inner cacheability. Must be interpreted in conjunction with AttrH.
The possible values are:
0x0 Device-nGnRnE memory if AttrH is 0x0. Otherwise this value is reserved.
0x4 Device memory if AttrH is 0x0. Otherwise, Normal memory, Inner Non-cacheable.
0x8 Reserved if AttrH is 0x0. Otherwise, Normal memory, Inner Write-Through Cacheable.
0x9 Reserved if AttrH is 0x0. Otherwise, Normal memory, Inner Write-Through Cacheable, Inner Write-Allocate.
0xA Reserved if AttrH is 0x0. Otherwise, Normal memory, Inner Write-Through Cacheable, Inner Read-Allocate.
0xB Reserved if AttrH is 0x0. Otherwise, Normal memory, Inner Write-Through Cacheable, Inner Write-Allocate,
Inner Read-Allocate.
0xC Reserved if AttrH is 0x0. Otherwise, Normal memory, Inner Write-Back Cacheable.
0xD Reserved if AttrH is 0x0. Otherwise, Normal memory, Inner Write-Back Cacheable, Inner Write-Allocate.
0xE Reserved if AttrH is 0x0. Otherwise, Normal memory, Inner Write-Back Cacheable, Inner Read-Allocate.
0xF Reserved if AttrH is 0x0. Otherwise, Normal memory, Inner Write-Through Cacheable, Inner Write-Allocate,
Inner Read-Allocate.
[43:12] PA Physical address. The Physical Address corresponding to the supplied Virtual Address. Returns address bits[31:12].
[9] NS Non-secure. The NS attribute for a translation table entry read from Secure state.
This bit is UNKNOWN for a translation table entry from Non-secure state.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-166
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[8:7] SHA Shareability attribute for the Physical Address returned from a translation table entry. The values are:
0b00 Non-shareable.
0b01 Reserved.
0b10 Outer Shareable.
0b11 Inner Shareable.
Note
The SHA bit takes the value of 0b10 for:
• Any type of device memory.
• Normal memory with both Inner Non-cacheable and Outer-cacheable attributes.
[0] F Pass/Fail bit. Indicates whether the conversion completed successfully. This value is:
0 Virtual Address to Physical Address conversion completed successfully.
The following figure shows the PAR_EL1 bit assignments when the Virtual Address to Physical Address
conversion aborts.
63 12 11 10 9 8 7 6 1 0
RES0 S FST F
RES1 RES0
RES0 PTW
The following table shows the PAR_EL1 bit assignments when the Virtual Address to Physical Address
conversion aborts.
[9] S Stage of fault. Indicates the state where the translation aborted. The values are:
0 Translation aborted because of a fault in stage 1 translation.
1 Translation aborted because of a fault in stage 2 translation.
[8] PTW Indicates a stage 2 fault during a stage 1 table walk. The values are:
0 No stage 2 fault during a stage 1 table walk.
1 Translation aborted because of a stage 2 fault during a stage 1 table walk.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-167
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[6:1] FST Fault status code, as shown in the Data Abort ESR encoding. See the ARM® Architecture Reference Manual ARMv8
for more information.
[0] F Pass/Fail bit. Indicates whether the conversion completed successfully. The value is:
1 Virtual Address to Physical Address conversion aborted.
To access the PAR_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, PAR_EL1; Read EL1 Physical Address Register
MSR PAR_EL1, <Xt>; Write EL1 Physical Address Register
Related information
4.5.18 Physical Address Register on page 4-271.
The processor does not set any IMPLEMENTATION DEFINED attributes in the Auxiliary Memory Attribute
Indirection Registers. AMAIR_EL1 and AMAIR_EL3 are RES0.
AMAIR_EL1[31:0] is architecturally mapped to the Non-secure AArch32 AMAIR0 register.
AMAIR_EL1[63:32] is architecturally mapped to the Non-secure AArch32 AMAIR1 register.
AMAIR_EL3[31:0] is architecturally mapped to the Secure AArch32 AMAIR0 register.
AMAIR_EL3[63:32] is architecturally mapped to the Secure AArch32 AMAIR1 register.
The Non-secure and Secure AArch32 AMAIR0 and AMAIR1 registers are RES0.
The processor does not set any IMPLEMENTATION DEFINED attributes in the Auxiliary Memory Attribute
Indirection Register, EL2. AMAIR_EL2 is RES0.
AMAIR_EL2[31:0] is architecturally mapped to the AArch32 HAMAIR0 register.
AMAIR_EL2[63:32] is architecturally mapped to the AArch32 HAMAIR1 register.
The AArch32 HMAIR0 and HAMAIR1 registers are RES0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-168
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The accessibility to the L2CTLR_EL1 by Exception level is:
Note
The L2CTLR_EL1 must be set statically and not dynamically changed.
The L2 Control Register can only be written when the L2 memory system is idle. ARM
recommends that you write to this register after a powerup reset before the MMU is enabled and
before any ACE, CHI, or ACP traffic begins.
If the register must be modified after a powerup reset sequence, you must idle the L2 memory
system with the following sequence:
1. Disable the MMU from each processor followed by an ISB to ensure the MMU disable
operation is complete, then execute a DSB to drain previous memory transactions.
2. Ensure that the system has no outstanding AC channel or CHI RXRSP coherence requests to
the processor.
3. Ensure that the system has no outstanding ACP requests to the processor.
When the L2 is idle, the processor can update the L2 Control Register followed by an ISB. After
the L2 Control Register is updated, you can enable the MMUs and normal ACE or CHI and
ACP traffic can resume.
Configurations
The L2CTLR_EL1 is:
• Common to the Secure and Non-secure states.
• A 32-bit register in AArch64 state.
• Architecturally mapped to the AArch32 L2CTLR register.
Attributes
See the register summary in Table 4-15 AArch64 implementation defined registers
on page 4-86.
The following figure shows the L2CTLR_EL1 bit assignments.
aj Write access if ACTLR_EL3.L2CTLR is 1 and ACTLR_EL2.L2CTLR is 1, or, ACTLR_EL3.L2CTLR is 1 and the Secure SCR.NS is 0.
ak Write access if ACTLR_EL3.L2CTLR is 1.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-169
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
31 30 26 25 24 23 22 21 20 19 14 13 12 11 10 9 8 6 5 4 3 2 0
[31] L2RSTDISABLE Monitors the L2 hardware reset disable signal, L2RSTDISABLE. The values are:
monitor
0 L2 valid RAM contents are reset by hardware.
1 L2 valid RAM contents are not reset by hardware.
This bit is read-only. The primary input L2RSTDISABLE controls the reset value.
[25:24] Number of processors Number of processors present. These bits are read-only and set to the number of processors
present in the implementation. The values are:
0b00 One processor, CPU0.
0b01 Two processors, CPU0 and CPU1.
0b10 Three processors, CPU0, CPU1, and CPU2.
0b11 Four processors, CPU0, CPU1, CPU2, and CPU3.
[23] L2 Cache protection This bit is read-only and is set if the cluster implementation supports L2 cache ECC protection.
The L2 cache ECC protection is a configurable implementation option in Cortex-A72 cluster. The
values are:
0
L2 cache ECC is not supported.
1
L2 cache ECC is supported.
[22] L1 Cache ECC and Parity This bit is read-only and is set if the processor implementation supports L1 cache ECC and parity
protection protection. The L1 cache ECC and parity protection is a configurable implementation option in
Cortex-A72 processor. The values are:
0 L1 data cache ECC and L1 instruction cache parity is not supported.
1 L1 data cache ECC and L1 instruction cache parity is supported.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-170
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[21] ECC and parity enable ECC and parity enable. The values are:
0
Disables ECC and parity. This is the reset value.
1
Enables ECC and parity.
If Cortex-A72 is implemented with L1 Cache ECC and parity protection, L2CTLR[21] can be
programmed to enable or disable both L1 ECC and parity and L2 ECC protection.
If Cortex-A72 is implemented with no L1 Cache ECC and parity protection but with L2 ECC
protection, L2CTLR[21] can be programmed to enable or disable only L2 ECC protection.
If Cortex-A72 is implemented with neither L1 ECC and parity nor L2 ECC protection,
L2CTLR[21] is RAZ/WI.
[20] Data inline ECC enable, Force inline ECC for Instruction Fetch (IF) and Load/Store (LS) read requests that hit the L2
only applies if ECC is cache increasing the L2 hit latency by 2 cycles. Avoids requirement of flushing requests
enabled associated with L2 cache single-bit ECC errors. The possible values are:
0 Performance optimization reducing L2 hit latency by 2 cycles allowing uncorrected data for
IF and LS read requests that hit the L2 cache. This is the reset value.
1 Forward only corrected data for L2 cache hits avoiding flushing request for single-bit ECC
errors.
[13] L2 arbitration slice L2 arbitration slice. This is a read-only bit that is set if the L2 arbitration slice is present in the
implementation. The values are:
0 L2 arbitration slice is not present.
1 One L2 arbitration slice is present.
[12] L2 Tag RAM slice L2 Tag RAM slice. This is a read-only bit that is set if the Tag RAM slice is present in the
implementation. The values are:
0 L2 Tag RAM slice is not present.
1 One L2 Tag RAM slice is present.
[11:10] L2 Data RAM slice L2 Data RAM slice. These are read-only bits that are set to the number of Data RAM slices
present in the implementation. The values are:
0b00 L2 Data RAM slices are not present.
0b01 One L2 Data RAM slice is present.
0b10 Two L2 Data RAM slices are present.
0b11 Invalid value.
[9] L2 Tag RAM setup L2 Tag RAM setup. The values are:
0 0 cycle. This the reset value.
1 1 cycle.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-171
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[8:6] L2 Tag RAM latency L2 Tag RAM latency. The L2 Tag RAM programmable setup and latency bits only affect the L2
Tag RAM. See 7.2.5 Register slice support for large cache sizes on page 7-301 for more
information. The possible values are:
0b000 2 cycles. This is the reset value.
0b001 2 cycles.
0b010 3 cycles.
0b011 4 cycles.
0b1xx 5 cycles.
[5] L2 Data RAM setup L2 Data RAM setup. The values are:
0 0 cycle. This the reset value.
1 1 cycle.
[2:0] L2 Data RAM latency L2 Data RAM latency.al The L2 Data RAM programmable setup & latency bits affect only the L2
Data RAM. See 7.2.5 Register slice support for large cache sizes on page 7-301 for more
information. The values are:
0b000
2 cycles. This is the reset value.
0b001
2 cycles.
0b010
3 cycles.
0b011
4 cycles.
0b100
5 cycles.
0b101
6 cycles.
0b11x
6 cycles.
To access the L2CTLR_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, S3_1_c11_c0_2; Read L2 Control Register
MSR S3_1_c11_c0_2, <Xt>; Write L2 Control Register
To access the L2CTLR in AArch32 state, read or write the CP15 register with:
MRC p15, 1, <Rt>, c9, c0, 2; Read L2 Control Register
MCR p15, 1, <Rt>, c9, c0, 2; Write L2 Control Register
al Slice and Set-up have priority over programmed latency in determining total adjusted pipeline depth.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-172
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The accessibility to the L2ECTLR_EL1 by Exception level is:
RES0
[30] L2 internal L2 internal asynchronous error caused by L2 RAM double-bit ECC error. The possible values are:
asynchronous error
0 No pending asynchronous error. This is the reset value.
1 An asynchronous error has occurred.
[29] AXI or CHI AXI or CHI asynchronous error indication. The possible values are:
asynchronous error
0 No pending asynchronous error. This is the reset value.
1 An asynchronous error has occurred.
am Write access if ACTLR_EL3.L2ECTLR is 1 and ACTLR_EL2.L2ECTLR is 1, or ACTLR_EL3.L2ECTLR is 1 and the Secure SCR.NS is 0.
an Write access if ACTLR_EL3.L2ECTLR is 1.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-173
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[2:0] L2 dynamic retention L2 dynamic retention control. The possible values are:
control
0b000 L2 dynamic retention disabled. This is the reset value.
0b001 2 Generic Timer ticks required before retention entry.
0b010 8 Generic Timer ticks required before retention entry.
0b011 32 Generic Timer ticks required before retention entry.
0b100 64 Generic Timer ticks required before retention entry.
0b101 128 Generic Timer ticks required before retention entry.
0b110 256 Generic Timer ticks required before retention entry.
0b111 512 Generic Timer ticks required before retention entry.
To access the L2ECTLR_EL1 in AArch32 state, read or write the CP15 register with:
MRS <Xt>, S3_1_c11_c0_3; Read L2 Extended Control Register
MSR S3_1_c11_c0_3, <Xt>; Write L2 Extended Control Register
To access the L2ECTLR in AArch32 state, read or write the CP15 register with:
MRC p15, 1, <Rt>, c9, c0, 3; Read L2 Extended Control Register
MCR p15, 1, <Rt>, c9, c0, 3; Write L2 Extended Control Register
Related information
L2 RAMs dynamic retention on page 2-48.
- - - - RO RO
Configurations
Only implemented if the highest Exception level implemented is EL3.
Attributes
See the register summary in Table 4-11 AArch64 reset registers on page 4-82.
The following figure shows the RVBAR_EL3 bit assignments.
63 44 43 2 1 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-174
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[43:2] Reset Vector Base Address Reset Vector Base Address when executing in the AArch64 state. The reset address for processor
n is set by the RVBARADDRn[43:2] input signals.
- - - - RW RW
Configurations
The RMR_EL3 is
• Common to the Secure and Non-secure states.
• Architecturally mapped to the AArch32 RMR register.
Attributes
Write access to RMR_EL3 is disabled when the CP15SDISABLE signal is HIGH and EL3 is
using AArch32.
See the register summary in Table 4-11 AArch64 reset registers on page 4-82.
The following figure shows the RMR_EL3 bit assignments.
31 2 1 0
RES0
RR
AA64
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-175
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[0] AA64ao Determines the Execution state at processor boot time. The values are:
0 AArch32 state.
1 AArch64 state.
If software requests a Warm reset by setting RR=1 then it can use the AA64 bit to change Execution state.
To access the RMR_EL3 in AArch64 state, read or write the register with:
MRS <Xt>, RMR_EL3; Read EL3 Reset Management Register
MSR RMR_EL3, <Xt>; Write EL3 Reset Management Register
To access the RMR, in AArch32 state, read or write the CP15 register with:
MRC p15, 0, <Rt>, c12, c0, 2; Read Reset Management Register
MCR p15, 0, <Rt>, c12, c0, 2; Write Reset Management Register
Usage constraints
The accessibility to the IL1DATAn_EL1 by Exception level is:
- RW RW RW RW RW
Configurations
The IL1DATAn_EL1 is:
• Common to the Secure and Non-secure states.
• A 32-bit register in AArch64 state.
• Architecturally mapped to the AArch32 IL1DATAn registers.
Attributes
See the register summary in Table 4-15 AArch64 implementation defined registers
on page 4-86.
The following figure shows the IL1DATAn_EL1 bit assignments.
ao For a Cold reset, the value of this bit is set by the AA64nAA32 signal.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-176
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
31 0
Data
To access the IL1DATAn_EL1 in AArch64 state, read or write the registers with:
MRS <Xt>, s3_0_c15_c0_n; Read EL1 Instruction L1 Data n Register
MSR s3_0_c15_c0_n, <Xt>; Write EL1 Instruction L1 Data n Register
To access the IL1DATAn in AArch32 state, read or write the CP15 registers with:
MRC p15, 0, <Rt>, c15, c0, n; Read Instruction L1 Data n Register
MCR p15, 0, <Rt>, c15, c0, n; Write Instruction L1 Data n Register
Related information
4.3.64 RAM Index operation on page 4-178.
Usage constraints
The accessibility to the DL1DATAn_EL1 by Exception level is:
- RW RW RW RW RW
Configurations
The DL1DATAn_EL1 is:
• Common to the Secure and Non-secure states.
• A 32-bit register in AArch64 state.
• Architecturally mapped to the AArch32 DL1DATAn registers.
Attributes
See the register summary in Table 4-15 AArch64 implementation defined registers
on page 4-86.
The following figure shows the DL1DATAn_EL1 bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-177
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
31 0
Data
To access the DL1DATAn_EL1 in AArch64 state, read or write the registers with:
MRS <Xt>, s3_0_c15_c1_n; Read EL1 Data L1 Data n Register
MSR s3_0_c15_c1_n, <Xt>; Write EL1 Data L1 Data n Register
To access the DL1DATAn in AArch32 state, read or write the CP15 registers with:
MRC p15, 0, <Rt>, c15, c1, n; Read Data L1 Data n Register
MCR p15, 0, <Rt>, c15, c1, n; Write Data L1 Data n Register
Related information
4.3.64 RAM Index operation on page 4-178.
- WO WO WO WO WO
Configurations
The RAMINDEX operates in the Secure and Non-secure states.
The RAMINDEX command takes one argument or source register. You must write an ARM
core register with the bit pattern described in the following figure for each RAM listed in the
following table.
A 32-bit register in AArch64 state.
Attributes
See the register summary in Table 4-15 AArch64 implementation defined registers
on page 4-86.
The following figure shows the RAMINDEX bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-178
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
31 24 23 22 21 18 17 0
[31:24] RAMID RAM identifier. This field indicates which RAM is being accessed. The possible values are ap:
0x00 L1-I Tag RAM, see L1-I Tag RAM on page 4-180.
0x01 L1-I Data RAM, see L1-I Data RAM on page 4-180.
0x02 L1-I BTB RAM, see L1-I BTB RAM on page 4-181.
0x03 L1-I GHB RAM, see L1-I GHB RAM on page 4-181.
0x04 L1-I TLB array, see L1-I TLB array on page 4-181.
0x05 L1-I indirect predictor RAM, see L1-I indirect predictor RAM on page 4-182.
0x08 L1-D Tag RAM, see L1-D Tag RAM on page 4-183.
0x09 L1-D Data RAM, see L1-D Data RAM on page 4-183.
0x0A L1-D TLB array, see L1-D TLB array on page 4-183.
0x10 L2 Tag RAM, see L2 Tag RAM on page 4-184.
0x11 L2 Data RAM, see L2 Data RAM on page 4-185.
0x12 L2 Snoop Tag RAM, see L2 Snoop Tag RAM on page 4-186.
0x13 L2 Data ECC RAM, see L2 Data ECC RAM on page 4-186.
0x14 L2 Dirty RAM, see L2 Dirty RAM on page 4-187.
0x18 L2 TLB RAM, see L2 TLB RAM on page 4-187.
[21:18] Way Indicates the way of the RAM that is being accessed.
[17:0] Index Indicates the index address of the RAM that is being accessed.
Note
• Executing a RAMINDEX operation with a reserved value of RAMID, Way, or Index results in the
corruption of the IL1DATAn or DL1DATAn register contents.
• In Non-secure EL1 and EL2, the RAMINDEX operation returns the contents of the RAM only if the
entry is marked valid and Non-secure. Entries that are marked invalid or Secure update the
IL1DATAn or DL1DATAn registers with 0x0 values.
• In Secure EL1 or EL3, the RAMINDEX operation returns the contents of the RAM, regardless of
whether the entry is marked valid or invalid, and Secure or Non-secure.
• When the RAMID field is set to L1-I BTB RAM in Non-secure EL1 and EL2, the RAMINDEX
operation always returns zero.
• The L1-I, L1-D, L2 TLB, and L2 Snoop Tag RAMs can only be accessed by the processor where the
RAM resides or that owns the RAM.
• The L2 Tag, Data, and Dirty RAMs can be accessed by any processor.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-179
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
The following figure shows the RAMINDEX register bit assignments for accessing L1-I Tag RAM.
31 24 23 20 19 18 17 14 13 6 5 0
The RAMINDEX address bits for accessing L1-I Tag RAM are:
Way[1:0] Way select.
Note
The instruction cache is 3-way set-associative. Setting the way field to a value of 3, reads
way 2 of the cache.
The following figure shows the RAMINDEX bit assignments for accessing L1-I Data RAM.
31 24 23 20 19 18 17 14 13 3 2 0
Reserved
The RAMINDEX address bits for accessing L1-I Data RAM are:
Way[1:0] Way select.
Note
The instruction cache is 3-way set-associative. Setting the Way field to 3, reads way 2 of the
cache.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-180
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
The following figure shows the RAMINDEX bit assignments for accessing L1-I BTB RAM.
31 24 23 15 14 4 3 0
The RAMINDEX address bits for accessing L1-I BTB RAM are:
VA[14:6] Row select.
VA[5:4] Bank select.
The following figure shows the RAMINDEX bit assignments for accessing L1-I GHB RAM.
31 24 23 16 15 4 3 0
The RAMINDEX address bits for accessing L1-I GHB RAM are:
Index[15:5]
Row select.
Index[4]
Bank select.
ARM does not disclose the format of the returned data.
The following figure shows the RAMINDEX bit assignments for accessing L1-I TLB array.
31 24 23 6 5 0
The RAMINDEX address bits for accessing L1-I TLB array are:
TLB entry Selects one of the 48 entries.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-181
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
0b00
Non-Shareable.
0b01
Reserved.
0b10
Outer Shareable.
0b11
Inner Shareable.
ILDATA3[15:14] VA memory space ID:
0b00
Secure EL1.
0b01
EL3, AArch64 only.
0b10
Non-secure EL1.
0b11
Non-secure EL2.
ILDATA3[13:6] Virtual Machine ID (VMID).
{ILDATA3[5:0], ILDATA2[31:22]} Address Space ID (ASID).
ILDATA2[21:14] Memory Attribute Indirection Register.
ILDATA2[11:10] Page size:
0b00
4KB.
0b01
64KB.
0b10
1MB.
0b11
Reserved.
ILDATA2[9:6] Domain ID.
ILDATA2[5] Non-secure identifier for the physical address.
{ILDATA2[4:0], ILDATA1[31:5]} Physical address [43:12].
{ILDATA1[4:0], ILDATA0[31:0]} Virtual address [48:12].
The following figure shows the RAMINDEX bit assignments for accessing L1-I indirect predictor RAM.
31 24 23 19 18 17 8 7 0
Way
Figure 4-62 RAMINDEX bit assignments for L1-I indirect predictor RAM
The RAMINDEX address bits for accessing L1-I indirect predictor RAM are:
Way Way select.
Index[7:0] Indirect predictor entry.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-182
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
The following figure shows the RAMINDEX bit assignments for accessing L1-D Tag RAM.
31 24 23 19 18 17 14 13 6 5 0
Way
The RAMINDEX address bits for accessing L1-D Tag RAM are:
Way Way select.
PA[13:8] Row select.
PA[7:6] Bank select.
Way Reserved
The RAMINDEX address bits for accessing L1-D Data RAM are:
Way Way select.
PA[13:6] Set select.
PA[5:4] Bank select.
PA[3] Upper or lower doubleword within the quadword.
The following figure shows the RAMINDEX bit assignments for accessing L1-D TLB array.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-183
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
31 24 23 5 4 0
The RAMINDEX address bits for accessing L1-D TLB array are:
TLB entry Selects one of the 32 entries.
L2 Tag RAM
The following figure shows the RAMINDEX bit assignments for accessing L2 Tag RAM.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-184
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
31 24 23 22 21 18 17 16 6 5 0
Reserved Reserved
Note
The Dirty bit in the L2 Dirty RAM must be used to differentiate between the
Exclusive, Modified, Shared, and Owned states.
L2 Data RAM
The following figure shows the RAMINDEX bit assignments for accessing L2 Data RAM.
31 24 23 22 21 18 17 16 4 3 0
Reserved Reserved
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-185
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
DL1DATA0 Data[31:0].
The following figure shows the RAMINDEX bit assignments for accessing L2 Snoop Tag RAM.
31 24 23 21 20 19 18 17 14 13 6 5 0
CPU
RAMID = 0x12 Reserved Physical address [13:6] Reserved
ID
Way
Reserved
The RAMINDEX address bits for accessing L2 Snoop Tag RAM are:
CPUID[1:0] Processor ID of the executing processor that has access to the L2 Snoop Tag RAM.
Way Way select.
PA[13:7] Row select.
PA[6] Bank select.
The following figure shows the RAMINDEX bit assignments for accessing L2 Data ECC RAM.
31 24 23 22 21 18 17 16 4 3 0
Reserved Reserved
The RAMINDEX address bits for accessing L2 Data ECC RAM are:
Way[3:0] Way select.
PA[16:7] Row select.
PA[6] Tag bank select.
PA[5:4] Data bank select.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-186
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
L2 Dirty RAM
The following figure shows the RAMINDEX bit assignments for accessing L2 Dirty RAM.
31 24 23 22 21 18 17 16 6 5 0
Reserved Reserved
L2 TLB RAM
The following figure shows the RAMINDEX bit assignments for accessing L2 TLB RAM.
31 24 23 20 19 18 17 8 7 0
Note
Only a single bit in DLDATA3[31:28] is set to 1.
DL1DATA3[27:20] VMID.
DL1DATA3[19:4] ASID.
{DL1DATA3[3:0], Virtual address [48:19].
DL1DATA2[31:6]}
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-187
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
For example, to read an entry in the instruction side TLB in AArch64 state:
LDR X0, =0x0000000001000D80
SYS #0, c15, c4, #0, X0
DSB SY
ISB
MRS X1, S3_0_c15_c0_0 ; Move ILData0 register to X1
MRS X2, S3_0_c15_c0_1 ; Move ILData1 register to X2
MRS X3, S3_0_c15_c0_2 ; Move ILData2 register to X3
MRS X4, S3_0_c15_c0_3 ; Move ILData3 register to X4
To complete the RAMINDEX operation in AArch64 state, use the following instruction:
SYS #0, c15, c4, #0, X0 ; Execute RAMINDEX operation
For example, to read one entry in the instruction side L1 data array in AArch32 state:
LDR R0, =0x01000D80;
MCR p15, 0, R0, c15, c4, 0; Read I-L1 TLB data into IL1DATA0-2
DSB
ISB
MRC p15, 0, R1, c15, c0, 0; Move IL1DATA0 Register to R1
MRC p15, 0, R2, c15, c0, 1; Move IL1DATA1 Register to R2
MRC p15, 0, R3, c15, c0, 2; Move IL1DATA2 Register to R3
To complete the RAMINDEX operation in AArch32 state, use the following instruction:
MCR p15, 0, <Rt>, c15, c4, 0; Execute RAMINDEX operation
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-188
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Note
The L2ACTLR_EL1 must be set statically and not dynamically changed.
The L2 Auxiliary Control Register can only be written when the L2 memory system is
idle. ARM recommends that you write to this register after a powerup reset, before the
MMU is enabled, and before any ACE, CHI, or ACP traffic begins.
If the register must be modified after a powerup reset sequence, you must to idle the
L2 memory system with the following sequence:
1. Disable the MMU from each core followed by an ISB to ensure the MMU disable
operation is complete, then execute a DSB to drain previous memory transactions.
2. Ensure that the system has no outstanding ACE AC channel or CHI RXRSP
coherence requests to the Cortex-A72 processor.
3. Ensure that the system has no outstanding ACP requests to the Cortex-A72
processor.
When the L2 is idle, the processor can update the L2 Auxiliary Control Register
followed by an ISB. After the L2 Auxiliary Control Register is updated, you can
enable the MMUs and normal ACE or CHI and ACP traffic can resume.
Configurations The L2ACTLR_EL1 is:
• Common to the Secure and Non-secure states.
• A 32 bit register in AArch64 state.
• Architecturally mapped to the AArch32 L2ACTLR register.
Attributes See the register summary in Table 4-15 AArch64 implementation defined registers
on page 4-86.
aq Write access if ACTLR_EL3.L2ACTLR is 1 and ACTLR_EL2.L2ACTLR is 1, or ACTLR_EL3.L2ACTLR is 1 and the Secure SCR.NS is 0.
ar Write access if ACTLR_EL3.L2ACTLR is 1.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-189
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register 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
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-190
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[28]as Force L2 tag bank clock enable Forces L2 tag bank clock enable active:
active
0 Does not prevent the clock generator from stopping the L2 tag bank clock. This is
the reset value.
1 Prevents the clock generator from stopping the L2 tag bank clock.
This bit applies to each of the two L2 cache tag bank clocks.
See L2 control and tag banks clock gating on page 2-49.
If the L2 dynamic retention feature is used then this bit must be zero. See L2 RAMs
dynamic retention on page 2-48.
[27]as Force L2 logic clock enable Forces L2 logic clock enable active:
active
0 Does not prevent the clock generator from stopping the L2 logic clock. This is the
reset value.
1 Prevents the clock generator from stopping the L2 logic clock.
[26]as Force L2, GIC, Timer RCG Forces L2, GIC CPU interface, and Timer Regional Clock Gate (RCG) enables active:
enables active
0 Enables L2, GIC CPU interface, and Timer RCGs for additional clock gating and
potentially reduce dynamic power dissipation. This is the reset value.
1 Forces L2, GIC CPU interface, and Timer RCG enables HIGH.
Setting this bit to 1 has no effect if the processor is configured to not include RCGs. See
Regional clock gating on page 2-50.
[25]as Enable single issue across all Enables single issue across all tag banks when the L2 arbitration replay threshold is
tbnks when L2 arbitration replay reached, so that only one request can be active across both tag banks at any given time:
threshold is reached
0 Disables single issue across the tag banks when the L2 arbitration replay threshold is
reached. This is the reset value.
1 Enables single issue across the tag banks when the L2 arbitration replay threshold is
reached.
[24]as L2 PLRU mode Disables PLRU dynamic insertion and update policy:
0 Enables PLRU dynamic insertion and update policy. This is the reset value.
1 Disables PLRU dynamic insertion and update policy.
[23]as Disable ACP MakeUnique and Disables ACP MakeUnique and WriteLineUnique transactions:
WriteLineUnique transactions
0 Enables MakeUnique and WriteLineUnique transactions for full cache line ACP
writes with all byte enables asserted. This is the reset value.
1 Disables MakeUnique and WriteLineUnique transactions for full cache line ACP
writes with all byte enables asserted.
as This bit is provided for debugging and characterization purpose only. For normal operation, ARM recommends that you do not change the value of this bit from its
reset value.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-191
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[22]as Disable dynamic throttling of Disables dynamic throttling of load/store prefetch requests:
load/store prefetch requests
0 Enables dynamic throttling of load/store prefetch requests. This is the reset value.
1 Disables dynamic throttling of load/store prefetch requests.
[17]as Disable L2 round-robin Disable L2 round-robin arbitration that only clocks through paths with an active
arbitration that only clocks requestor waiting to be arbitrated:
through paths with an active
0 Enables L2 round-robin arbitration that only clocks through paths with an active
requestor waiting to be arbitrated
requestor waiting to be arbitrated. This is the reset value.
1 Disables L2 round-robin arbitration that only clocks through paths with an active
requestor waiting to be arbitrated.
[16]as Enable replay threshold single Enables replay threshold single issue:
issue
0 Disables replay threshold single issue. This is the reset value.
1 Enables replay threshold single issue. If there are 32 consecutive transactions on a
tag bank replay, then single issue is forced until a transaction successfully passes
hazard checking.
[15]as Disable fast forwarding of data Disables fast forwarding of data from ACE or CHI to LS and IF:
from ACE or CHI to LS and IF
0 Enables fast forwarding of data from ACE or CHI to LS and IF. This is the reset
value.
1 Disables fast forwarding of data from ACE or CHI to LS and IF.
[12] Disable prefetch set hazard Disables set hazard optimization against prefetch entries.
optimization
0 Enables set hazard optimization, preventing a set hazard for prefetch entries. This is
the reset value.
1 Disables set hazard optimization against prefetch entries.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-192
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[11]as Disable DSB with no DVM Disables Data Synchronization Barrier (DSB) with no Distributed Virtual Memory
synchronization (DVM) synchronization:
0 Enables DSB with no DVM synchronization. This is the reset value.
A DSB does not cause a DVM Sync message to occur. However, if a TLB
maintenance operation, cache maintenance operation, or branch predictor
maintenance operation occurs after the previous DSB then a DVM Sync message is
generated regardless of the setting of this bit.
1 Disables DSB with no DVM synchronization. Therefore, a DSB always causes a
DVM Sync message to occur.
[10] Disable Non-secure debug array Disables Non-secure debug array read:
read
0 Enables Non-secure debug array read access to Non-secure memory. This is the
reset value.
1 Disables Non-secure debug array read access.
[9] Disable set/way hazard Disables set/way hazard optimization on back to back reads from the same CPU
optimization on back to back targeting the same set:
read requests from same CPU
0 Enables set/way hazard optimization. This is the reset value.
1 Disables set/way hazard optimization.
[8]as Disable DVM and cache Disables DVM transactions and cache maintenance operation message broadcast:
maintenance operation message
0 Enables DVM and cache maintenance operation message broadcast. This is the reset
broadcast
value.
1 Disables DVM and cache maintenance operation message broadcast.
[6]as Disable ACE shareable or CHI Disables shareable or snoopable transactions from master:
snoopable transactions from
0 Enables ACE shareable or CHI snoopable transactions from master. This is the reset
master
value.
1 Disables ACE shareable or CHI snoopable transactions from master.
[5]as Disable set/way hazard Disables set/way hazard optimization for WBNA/WT memory:
optimization for WBNA/WT
0 Enables optimization removing set/way hazard for WBNA/WT memory. This is the
memory
reset value.
1 Disables optimization for forcing set/way hazard for WBNA/WT memory.
[4] Disable WriteUnique and Disables WriteUnique and WriteLineUnique transactions from master:
WriteLineUnique transactions
0 Enables WriteUnique and WriteLineUnique transactions from master.
from master
1 Disables WriteUnique and WriteLineUnique transactions from master. This is the
reset value.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-193
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[2]as Limit to one request per tag bank Limit to one request per tag bank:
0 Normal behavior permitting parallel requests to the tag banks. This is the reset
value.
1 Limits to one request per tag bank.
To access the L2ACTLR_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, s3_1_c15_c0_0; Read EL1 L2 Auxiliary Control Register
MSR s3_1_c15_c0_0, <Xt>; Write EL1 L2 Auxiliary Control Register
To access the L2ACTLR in AArch32 state, read or write the CP15 register with:
MRC p15, 1, <Rt>, c15, c0, 0; Read L2 Auxiliary Control Register
MCR p15, 1, <Rt>, c15, c0, 0; Write L2 Auxiliary Control Register
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-194
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Usage constraints
The accessibility to the CPUACTLR_EL1 by Exception level is:
The CPU Auxiliary Control Register can only be written when the system is idle. ARM
recommends that you write to this register after a powerup reset, before the MMU is enabled,
and before any ACE or ACP traffic begins.
Note
Setting many of these bits can cause significantly lower performance on your code. Therefore, it
is suggested that you do not modify this register unless directed by ARM.
Configurations
CPUACTLR_EL1 is:
• Common to the Secure and Non-secure states.
• A 64-bit read/write register.
• Architecturally mapped to the AArch32 CPUACTLR register.
Attributes
See the register summary in Table 4-15 AArch64 implementation defined registers
on page 4-86.
The following figure shows the CPUACTLR_EL1[63:32] bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-195
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register 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
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-196
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[63]av Force processor memory- Forces processor memory-system RCG enables active:
system RCG enables active
0
Enables the processor memory-system RCGs for additional clock gating and
potentially reduce dynamic power dissipation. This is the reset value.
1
Forces the processor memory-system RCG enables HIGH.
Setting this bit to 1 has no effect if the processor is configured to not include RCGs. See
Regional clock gating on page 2-50.
[62]av Force processor non- Forces processor non-memory-system RCG enables active:
memory-system RCG
0
enables active
Enables the processor non-memory-system RCGs for additional clock gating and
potentially reduce dynamic power dissipation. This is the reset value.
1
Forces the processor non-memory-system RCG enables HIGH.
Setting this bit to 1 has no effect if the processor is configured to not include RCGs. See
Regional clock gating on page 2-50.
[61]av Force processor Decode and Forces processor Decode and Integer Execute idle RCG enables active:
Integer Execute idle RCG
0
enables active
Enables the processor Decode and Integer Execute idle RCGs for additional clock
gating and potentially reduce dynamic power dissipation. This is the reset value.
1
Forces the processor Decode and Integer Execute idle RCG enables HIGH.
Setting this bit to 1 has no effect if the processor is configured to not include RCGs. See
Regional clock gating on page 2-50.
[60]av Force processor Dispatch Forces processor Dispatch idle RCG enables active:
idle RCG enables active
0
Enables the processor Dispatch idle RCGs for additional clock gating and potentially
reduce dynamic power dissipation. This is the reset value.
1
Forces the processor Dispatch idle RCG enables HIGH.
Setting this bit to 1 has no effect if the processor is configured to not include RCGs. See
Regional clock gating on page 2-50.
[59]av Disable load pass DMB Disables load pass DMB. This does not include the implicit barrier from Load-Acquire and Load-
Acquire Exclusive. The possible values are:
0
Enables load pass DMB. This is the reset value.
1
Disables load pass DMB.
av This bit is used internally for debugging and characterization purposes only. For normal operation, ARM recommends that you do not change the value of this bit
from its reset value.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-197
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[58]av Disable DMB nullification Disables DMB nullification. This includes the implicit barrier from Store-Release and Store-
Release Exclusive:
0
Enables DMB nullification. This is the reset value.
1
Disables DMB nullification.
[57]av Treat DMB st/st and DMB Treats DMB st/st and DMB ld/all as DMB all/all. Treat DSB st/st and DSB ld/all
ld/all as DMB all/all. as DSB all/all. This does not include the implicit barrier from Load-Acquire/Store-Release.
The possible values are:
Treat DSB st/st and DSB
ld/all as DSB all/all. 0
Normal behavior. This the reset value.
1
• Treat DMB st/st and DMB ld/all as DMB all/all.
• Treat DSB st/st and DSB ld/all as DSB all/all.
[53]av Treat DMB and DSB as if Treats DMB and DSB as if their domain field is SY. The possible values are:
their domain field is SY
0
Normal behavior. This is the reset value.
1
Treat DMB NSH, DMB ISH, and DMB OSH as DMB SY.
Treat DSB NSH, DSB ISH, and DSB OSH as DSB SY.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-198
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[51]av Enable contention detection Enables contention detection and fast exclusive monitor path:
and fast exclusive monitor
0
path
Disables contention detection and fast exclusive monitor path. This is the reset value.
1
Enables contention detection and fast exclusive monitor path.
[50]av Disable store streaming on Disables store streaming on NC/GRE memory type:
NC/GRE memory type
0
Enables store streaming on NC/GRE memory type. This is the reset value.
1
Disables store streaming on NC/GRE memory type.
[49]av Disable non-allocate hint of Disables non-allocate hint of Write-Back No-Allocate memory type:
Write-Back No-Allocate
0
(WBNA) memory type
Enables non-allocate hint of WBNA memory type. This is the reset value.
1
Disables non-allocate hint of WBNA memory type.
[48]av Disable early speculative Disables early speculative read access from LS to L2:
read access from LS to L2
0
Enables speculative early read access from LS to L2. This is the reset value.
1
Disables speculative early read access from LS to L2.
[47]av Disable D-side L1/L2 Disables L1 and L2 hardware prefetch across 4KB page boundary even if page is 64KB or
hardware prefetch across larger:
4KB page boundary even if
0
page is 64KB or larger.
Enables D-side L1/L2 hardware prefetch across 4KB page boundary if the page is
64KB or larger. This is the reset value.
1
Disables D-sideL1/L2 hardware prefetch across 4KB page boundary even if the page
is 64KB or larger.
[46]av Disable multiple Disables multiple outstanding L1 Data TLB misses and L2 TLB hit under miss:
outstanding L1 Data TLB
0
misses and L2 TLB hit
Enables multiple outstanding L1 Data TLB misses and L2 TLB hit under miss. This is
under miss
the reset value.
1
Disables multiple outstanding L1 Data TLB misses and L2 TLB hit under miss.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-199
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[44]av Enable data cache clean as Enables data cache clean as data cache clean and invalidate:
data cache clean/invalidate
0
Normal behavior, executes data cache clean as data cache clean.
This is the reset value.
1
Executes data cache clean as data cache clean and invalidate.
[43]av Disable VA based hardware Disables the Load/Store hardware prefetcher from using VA to cross page boundaries:
prefetch
0
Enables the Load/Store hardware prefetcher to use VA in generating prefetches that
can cross page boundaries. This is the reset value.
1
Disables the Load/Store hardware prefetcher from using VA in prefetch generation.
[42]av Disable prefetch requests Disables prefetch requests from ReadUnique transactions:
from ReadUnique
0
transactions
Enables prefetch requests to be generated by ReadUnique transactions. This is the
reset value.
1
Disables prefetch requests to be generated by ReadUnique transactions.
[41]av Enable snoop hazard while Enables snoop hazard while waiting for second half of atomic exclusive pair:
waiting for second half of
0
atomic exclusive pair
Disable snoop hazard while waiting for second half of atomic exclusive pair. This is
the reset value.
1
Enable snoop hazard while waiting for second half of the atomic exclusive pair.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-200
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[33]av Disable main prediction Disables main prediction suppression at target fetch of microBTB:
suppression at target fetch of
0
microBTB
Enables prediction suppression at target fetch of microBTB. This is the reset value.
1
Disables prediction suppression at target fetch of microBTB.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-201
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register 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
[31] Snoop-delayed exclusive Snoop-delayed exclusive handling. The possible values are:
handling
0 Normal exclusive handling behavior. This is the reset value.
1 Modifies exclusive handling behavior by delaying certain snoop requests.
[30]aw Force main clock enable Forces main clock enable active. The possible values are:
active
0 Does not prevent the clock generator from stopping the processor clock. This is the reset
value.
1 Prevents the clock generator from stopping the processor clock.
If the processor dynamic retention feature is used then this bit must be zero. See Processor
dynamic retention on page 2-46.
aw This bit is used internally for debugging and characterization purposes only. For normal operation, ARM recommends that you do not change the value of this bit
from its reset value.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-202
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[29]aw Force Advanced SIMD Forces Advanced SIMD and Floating-point clock enable active. The possible values are:
and floating-point clock
0 Does not prevent the clock generator from stopping the Advanced SIMD and Floating-point
enable active
clock. This is the reset value.
1 Prevents the clock generator from stopping the Advanced SIMD and Floating-point clock.
[28:27] Write streaming no- Write streaming no-allocate threshold. The possible values are:
allocate threshold
0b00 12th consecutive streaming cache line does not allocate in the L1 or L2 cache. This is the
reset value.
0b01 128th consecutive streaming cache line does not allocate in the L1 or L2 cache.
0b10 512th consecutive streaming cache line does not allocate in the L1 or L2 cache.
0b11 Disables streaming. All Write-Allocate lines allocate in the L1 or L2 cache.
[26:25] Write streaming no-L1- Write streaming no-L1-allocate threshold. The possible values are:
allocate threshold
0b00 4th consecutive streaming cache line does not allocate in the L1 cache. This is the reset
value.
0b01 64th consecutive streaming cache line does not allocate in the L1 cache.
0b10 128th consecutive streaming cache line does not allocate in the L1 cache.
0b11 Disables streaming. All Write-Allocate lines allocate in the L1 cache.
[24] Non-cacheable streaming Non-cacheable streaming enhancement. You can set this bit only if your memory system meets
enhancement the requirement that cache line fill requests from the Cortex-A72 processor are atomic. The
possible values are:
0 Disables higher performance Non-cacheable load forwarding. This is the reset value.
1 Enables higher performance Non-cacheable load forwarding. See 6.4.4 Non-cacheable
streaming enhancement on page 6-292 for more information.
[23]aw Force in-order requests to Forces in-order requests to the same set and way. The possible values are:
the same set and way
0 Does not force in-order requests to the same set and way. This is the reset value.
1 Forces in-order requests to the same set and way.
[22]aw Force in-order load issue Forces in-order load issue. The possible values are:
0 Does not force in-order load issue. This is the reset value.
1 Forces in-order load issue.
[21]aw Disable L2 TLB Disables L2 TLB prefetching. The possible values are:
prefetching
0 Enables L2 TLB prefetching. This is the reset value.
1 Disables L2 TLB prefetching.
[20]aw Disable L2 translation Disables L2 translation table walk Immediate Physical Address (IPA) to Physical Address (PA)
table walk IPA PA cache cache. The possible values are:
0 Enables L2 translation table walk IPA to PA cache. This is the reset value.
1 Disables L2 translation table walk IPA to PA cache.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-203
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[19]aw Disable L2 stage 1 Disables L2 stage 1 translation table walk cache. The possible values are:
translation table walk
0 Enables L2 stage 1 translation table walk cache. This is the reset value.
cache
1 Disables L2 stage 1 translation table walk cache.
[18]aw Disable L2 stage 1 Disables L2 stage 1 translation table walk L2 PA cache. The possible values are:
translation table walk L2
0 Enables L2 stage 1 translation table walk L2 PA cache. This is the reset value.
PA cache
1 Disables L2 stage 1 translation table walk L2 PA cache.
[17]aw Disable L2 TLB Disables L2 TLB performance optimization. The possible values are
performance optimization
0 Enables L2 TLB optimization. This is the reset value.
1 Disables L2 TLB optimization.
[16]aw Enable full Strongly- Enables full Strongly-ordered or Device load replay. The possible values are:
ordered and Device load
0 Disables full Strongly-ordered or Device load replay. This is the reset value.
replay
1 Enables full Strongly-ordered or Device load replay.
[15]aw Force in-order issue in Forces in-order issue in branch execute unit. The possible values are:
branch execute unit
0 Disables forced in-order issue. This is the reset value.
1 Forces in-order issue.
[14]aw Force limit of one Forces limit of one instruction group to commit and de-allocate per cycle. The possible values
instruction group are:
commit/de-allocate per
0 Normal commit and de-allocate behavior. This is the reset value.
cycle
1 Limits commit and de-allocate to one instruction group per cycle.
[13]aw Flush after Special Flushes after certain SPR writes. The possible values are:
Purpose Register (SPR)
0 Normal behavior for SPR writes. This is the reset value.
writes
1 Flushes after certain SPR writes.
[12]aw Force push of SPRs Forces push of certain SPRs from local dispatch copies to shadow copies. The possible values
are:
0 Normal behavior for SPRs. This is the reset value.
1 Pushes certain SPRs from local dispatch copies to shadow copies.
Note
Setting this bit to 1 forces the processor to behave as if bit[13] is set to 1.
[11]aw Limit to one instruction Limits to one instruction per instruction group. The possible values are:
per instruction group
0 Normal instruction grouping. This is the reset value.
1 Limits to one instruction per instruction group.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-204
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[10]aw Force serialization after Forces serialization after each instruction group. The possible values are:
each instruction group
0 Disables forced serialization after each instruction group. This is the reset value.
1 Forces serialization after each instruction group.
Note
Setting this bit to 1 forces the processor to behave as if bit[11] is set to 1.
[9]aw Disable flag renaming Disables flag renaming optimization. The possible values are:
optimization
0 Enables normal flag renaming optimization. This is the reset value.
1 Disables normal flag renaming optimization.
[8]aw Execute WFI instruction Executes WFI instruction as a NOP instruction. The possible values are:
as a NOP instruction
0 Executes WFI instruction as defined in the ARM® Architecture Reference Manual ARMv8.
This is the reset value.
1 Executes WFI instruction as a NOP instruction, and does not put the processor in WFI low-
power state.
[7]aw Execute WFE instruction Executes WFE instruction as a NOP instruction. The possible values are:
as a NOP instruction
0 Executes WFE instruction as defined in the ARM® Architecture Reference Manual ARMv8.
This is the reset value.
1 Executes WFE instruction as a NOP instruction, and does not put the processor in WFE low-
power state.
[5]aw Execute PLD and PLDW Executes PLD and PLDW instructions as a NOP instruction. The possible values are:
instructions as a NOP
0 Executes PLD and PLDW instructions as defined in the ARM® Architecture Reference Manual
ARMv8. This is the reset value.
1 Executes PLD and PLDW instructions as a NOP instruction.
[4]aw Disable indirect predictor Disables indirect predictor. The possible values are:
0 Enables indirect predictor. This is the reset value.
1 Disables indirect predictor.
[3]aw Disable micro-BTB Disables micro-Branch Target Buffer (BTB). The possible values are:
0 Enables micro-BTB. This is the reset value.
1 Disables micro-BTB.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-205
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[1]aw Disable Instruction Cache Disables Instruction Cache miss streaming. The possible values are:
miss streaming
0 Enables Instruction Cache miss streaming. Sequential fetches resulting from Instruction
Cache misses wait until individual packets arrive. This is the reset value.
1 Disables Instruction Cache miss streaming. Sequential fetches resulting from Instruction
Cache misses internally generate misses for each packet.
[0]aw Enable invalidates of Enables invalidate of BTB. The possible values are:
BTB
0 The Invalidate Instruction Cache All and Invalidate Instruction Cache by VA instructions
only invalidates the instruction cache array. This is the reset value.
1 The Invalidate Instruction Cache All and Invalidate Instruction Cache by VA instructions
invalidates the instruction cache array and branch target buffer.
To access the CPUACTLR_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, S3_1_c15_c2_0; Read EL1 CPU Auxiliary Control Register
MSR S3_1_c15_c2_0, <Xt>; Write EL1 CPU Auxiliary Control Register
To access the CPUACTLR in AArch32 state, read or write the CP15 register with:
MRRC p15, 0, <Rt>, <Rt2>, c15; Read CPU Auxiliary Control Register
MCRR p15, 0, <Rt>, <Rt2>, c15; Write CPU Auxiliary Control Register
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-206
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
63 39 38 37 36 35 34 33 32 31 7 6 5 3 2 0
[38] Disable table Disables table walk descriptor access prefetch. The possible values are:
walk descriptor
0
access prefetch
Enables table walk descriptor access prefetch. This is the reset value.
1
Disables table walk descriptor access prefetch.
[36:35] L2 instruction Indicates the L2 instruction fetch prefetch distance. It is the number of requests by which the prefetcher is
fetch prefetch ahead of the demand request stream. It also specifies the maximum number of prefetch requests generated
distance on a demand miss. The possible values are:
0b00
0 requests, disables instruction prefetch.
0b01
1 request.
0b10
2 requests.
0b11
3 requests. This is the reset value.
[33:32] L2 load data Indicates the L2 load data prefetch distance. It is the number of requests by which the prefetch request to
prefetch distance the L2, on a load stream, is ahead of the demand request stream. The possible values are:
0b00
16 requests.
0b01
18 requests.
0b10
20 requests.
0b11
22 requests. This is the reset value.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-207
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[6] SMPEN Enables the processor to receive instruction cache and TLB maintenance operations broadcast from other
processors in the cluster.
You must set this bit before enabling the caches and MMU, or performing any cache and TLB
maintenance operations.
You must clear this bit during a processor power down sequence. See 2.4 Power management
on page 2-42.
The possible values are:
0
Disables receiving of instruction cache and TLB maintenance operations. This is the reset value.
1
Enables receiving of instruction cache and TLB maintenance operations.
Note
• Any processor instruction cache and TLB maintenance operations can execute the request, regardless
of the value of the SMPEN bit.
• This bit has no impact on data cache maintenance operations.
• In the Cortex-A72 processor, the L1 data cache and L2 cache are always coherent, for shared or non-
shared data, regardless of the value of the SMPEN bit.
[2:0] Processor Processor dynamic retention control. The possible values are:
dynamic
0b000
retention control
Processor dynamic retention disabled. This is the reset value.
0b001
2 Generic Timer ticks required before retention entry.
0b010
8 Generic Timer ticks required before retention entry.
0b011
32 Generic Timer ticks required before retention entry.
0b100
64 Generic Timer ticks required before retention entry.
0b101
128 Generic Timer ticks required before retention entry.
0b110
256 Generic Timer ticks required before retention entry.
0b111
512 Generic Timer ticks required before retention entry.
All other values are reserved.
To access the CPUECTLR_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, S3_1_c15_c2_1; Read EL1 CPU Extended Control Register
MSR S3_1_c15_c2_1, <Xt>; Write EL1 CPU Extended Control Register
To access the CPUECTLR in AArch32 state, read or write the CP15 register with:
MRRC p15, 1, <Rt>, <Rt2>, c15; Read CPU Extended Control Register
MCRR p15, 1, <Rt>, <Rt2>, c15; Write CPU Extended Control Register
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-208
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
- RW RW RW RW RW
Configurations
The CPUMERRSR_EL1 is:
• Common to the Secure and Non-secure states.
• A 64-bit read/write register.
• Architecturally mapped to the AArch32 CPUMERRSR register.
Attributes
See the register summary in Table 4-15 AArch64 implementation defined registers
on page 4-86.
The following figure shows the CPUMERRSR_EL1 bit assignments.
63 62 48 47 40 39 32 31 30 24 23 22 18 17 0
Other error Repeat error
Reserved RAMID Bank/Way Index
count count
[63] Fatal Fatal bit. This bit is set to 1 on the first memory error that caused a Data Abort. It is a sticky bit so that after
it is set, it remains set until the register is written. The reset value is 0.
[47:40] Other error This field is set to 0 on the first memory error and is incremented on any memory error that does not match
count the RAMID, bank, way, or index information in this register while the sticky Valid bit is set. The reset
value is 0.
[39:32] Repeat error This field is set to 0 on the first memory error and is incremented on any memory error that exactly
count matches the RAMID, bank, way or index information in this register while the sticky Valid bit is set. The
reset value is 0.
[31] Valid Valid bit. This bit is set to 1 on the first memory error. It is a sticky bit so that after it is set, it remains set
until the register is written. The reset value is 0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-209
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[30:24] RAMID RAM Identifier. Indicates the RAM, the first memory error occurred in. The possible values are:
0x00 L1-I Tag RAM.
0x01 L1-I Data RAM.
0x08 L1-D Tag RAM.
0x09 L1-D Data RAM.
0x18 L2 TLB RAM.
[22:18] Bank/Way Indicates the bank or way of the RAM where the first memory error occurred.
[17:0] Index Indicates the index address of the first memory error.
Note
• If two or more memory errors in the same RAM occur in the same cycle, only one error is reported.
• If two or more first memory error events from different RAMs occur in the same cycle, one of the
errors is selected arbitrarily, while the Other error count field is only incremented by one.
• If two or more memory error events from different RAMs, that do not match the RAMID, bank, way,
or index information in this register while the sticky Valid bit is set, occur in the same cycle, the
Other error count field is only incremented by one.
To access the CPUMERRSR_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, S3_1_c15_c2_2 ; Read EL1 CPU Memory Error Syndrome Register
MSR S3_1_c15_c2_2 , <Xt>; Write EL1 CPU Memory Error Syndrome Register
To access the CPUMERRSR in AArch32 state, read or write the CP15 register with:
MRRC p15, 2, <Rt>, <Rt2>, c15; Read CPU Memory Error Syndrome Register
MCRR p15, 2, <Rt>, <Rt2>, c15; Write CPU Memory Error Syndrome Register
- RW RW RW RW RW
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-210
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Attributes See the register summary in Table 4-15 AArch64 implementation defined registers
on page 4-86.
Fatal Valid
[63] Fatal Fatal bit. This bit is set to 1 on the first memory error that caused a Data Abort. It is a sticky bit so that after it
is set, it remains set until the register is written. The reset value is 0.
[47:40] Other error This field is set to 0 on the first memory error and is incremented on any memory error that does not match
count the RAMID, bank, way, or index information in this register while the sticky Valid bit is set. The reset value is
0.
[39:32] Repeat error This field is set to 0 on the first memory error and is incremented on any memory error that exactly matches
count the RAMID, bank, way or index information in this register while the sticky Valid bit is set. The reset value is
0.
[31] Valid Valid bit. This bit is set to 1 on the first memory error. It is a sticky bit so that after it is set, it remains set until
the register is written. The reset value is 0.
[30:24] RAMID RAM Identifier. Indicates the RAM where the first memory error occurred. The possible values are:
0b001 0000 L2 Tag RAM.
0b001 0001 L2 Data RAM.
0b001 0010 L2 Snoop Tag RAM.
0b001 0100 L2 Dirty RAM.
0b0011000 L2 Inclusion PLRU RAM.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-211
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
[21:18] CPUID/Way Indicates which processor and way of the RAM where the first memory error occurred.
For L2 Tag, Data, and Dirty RAMs, bits[21:18] indicate one of 16 ways, from way 0 to way 15.
For L2 Snoop Tag RAM:
• Bits[20:19] indicate which processor of the L1 Tag RAM.
• Bit[18] indicates which way of the Tag RAM.
The possible values are:
0b0000 CPU0 tag, way 0.
0b0001 CPU0 tag, way 1.
0b0010 CPU1 tag, way 0.
0b0011 CPU1 tag, way 1.
0b0100 CPU2 tag, way 0.
0b0101 CPU2 tag, way 1.
0b0110 CPU3 tag, way 0.
0b0111 CPU3 tag, way 1.
[17:0] Index Indicates the index address of the first memory error.
Note
• If two or more memory errors in the same RAM occur in the same cycle, only one error is reported.
• If two or more first memory error events from different RAMs occur in the same cycle, one of the
errors is selected arbitrarily, while the Other error count field is only incremented by one.
• If two or more memory error events from different RAMs, that do not match the RAMID, bank, way,
or index information in this register while the sticky Valid bit is set, occur in the same cycle, the
Other error count field is only incremented by one.
To access the L2MERRSR_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, S3_1_c15_c2_3 ; Read EL1 L2 Memory Error Syndrome Register
MSR S3_1_c15_c2_3, <Xt> ; Write EL1 L2 Memory Error Syndrome Register
To access the L2MERRSR in AArch32 state, read or write the CP15 register with:
MRRC p15, 3, <Rt>, <Rt2>, c15; Read L2 Memory Error Syndrome Register
MCRR p15, 3, <Rt>, <Rt2>, c15; Write L2 Memory Error Syndrome Register
- RO RO RO RO RO
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-212
reserved.
Non-Confidential
4 System Control
4.3 AArch64 register descriptions
Configurations
The CBAR_EL1 is:
• Common to the Secure and Non-secure states.
• A 64-bit register in AArch64 state.
Attributes
See the register summary in Table 4-15 AArch64 implementation defined registers
on page 4-86.
The following figure shows the CBAR_EL1 bit assignments.
63 44 43 18 17 0
[43:18] PERIPHBASE The primary input PERIPHBASE[43:18] determines the reset value
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-213
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-214
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
Table 4-83 Column headings definition for System register summary tables
Name Short form architectural, operation, or code name for the register
4.4.1 c0 registers
The following table shows the CP15 System registers when CRn is c0 and the processor is in AArch32
state.
0 c0 0 MIDR RO 0x410FD083 Main ID Register. See 4.3.1 Main ID Register, EL1 on page 4-89.
1 CTR RO 0x8444C004 Cache Type Register. See 4.3.26 Cache Type Register, EL0 on page 4-121.
4, 7 MIDR RO 0x410FD083 Aliases of Main ID Register, see 4.3.1 Main ID Register, EL1
on page 4-89.
6 REVIDR RO 0x00000000 Revision ID Register. See 4.3.3 Revision ID Register, EL1 on page 4-92.
c1 0 ID_PFR0 RO 0x00000131 Processor Feature Register 0. See 4.3.4 AArch32 Processor Feature
Register 0, EL1 on page 4-93.
1 ID_PFR1 RO 0x00011011ba Processor Feature Register 1. See 4.3.5 AArch32 Processor Feature
Register 1, EL1 on page 4-94.
2 ID_DFR0 RO 0x03010066 Debug Feature Register 0. See 4.3.6 AArch32 Debug Feature Register 0,
EL1 on page 4-95.
3 ID_AFR0 RO 0x00000000 Auxiliary Feature Register 0. See 4.3.7 AArch32 Auxiliary Feature
Register 0, EL1 on page 4-96.
4 ID_MMFR0 RO 0x10201105 Memory Model Feature Register 0. See 4.3.8 AArch32 Memory Model
Feature Register 0, EL1 on page 4-96.
az The reset value depends on the primary inputs, CLUSTERIDAFF1 and CLUSTERIDAFF2, and the number of cores that the device implements. The value shown
is for a four processor implementation, with CLUSTERIDAFF1 and CLUSTERIDAFF2 set to zero.
ba The reset value depends on the primary input GICCDISABLE. The value shown assumes the GICCDISABLE signal is tied HIGH.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-215
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
5 ID_MMFR1 RO 0x40000000 Memory Model Feature Register 1. See 4.3.9 AArch32 Memory Model
Feature Register 1, EL1 on page 4-98.
6 ID_MMFR2 RO 0x01260000 Memory Model Feature Register 2. See 4.3.10 AArch32 Memory Model
Feature Register 2, EL1 on page 4-99.
7 ID_MMFR3 RO 0x02102211 Memory Model Feature Register 3. See 4.3.11 AArch32 Memory Model
Feature Register 3, EL1 on page 4-101.
c2 0 ID_ISAR0 RO 0x02101110 Instruction Set Attribute Register 0. See 4.3.12 AArch32 Instruction Set
Attribute Register 0, EL1 on page 4-103.
1 ID_ISAR1 RO 0x13112111 Instruction Set Attribute Register 1. See 4.3.13 AArch32 Instruction Set
Attribute Register 1, EL1 on page 4-104.
2 ID_ISAR2 RO 0x21232042 Instruction Set Attribute Register 2. See 4.3.14 AArch32 Instruction Set
Attribute Register 2, EL1 on page 4-106.
3 ID_ISAR3 RO 0x01112131 Instruction Set Attribute Register 3. See 4.3.15 AArch32 Instruction Set
Attribute Register 3, EL1 on page 4-107.
4 ID_ISAR4 RO 0x00011142 Instruction Set Attribute Register 4. See 4.3.16 AArch32 Instruction Set
Attribute Register 4, EL1 on page 4-108.
5 ID_ISAR5 RO 0x00010001bb Instruction Set Attribute Register 5. See 4.3.17 AArch32 Instruction Set
Attribute Register 5, EL1 on page 4-110.
1 c0 0 CCSIDR RO UNK Cache Size ID Register. See 4.3.22 Cache Size ID Register, EL1
on page 4-117.
1 CLIDR RO 0x0A200023 Cache Level ID Register. See 4.3.23 Cache Level ID Register, EL1
on page 4-118.
2 c0 0 CSSELR RW UNK Cache Size Selection Register. See 4.3.25 Cache Size Selection Register,
EL1 on page 4-120.
4.4.2 c1 registers
The following table shows the System registers when CRn is c1 and the processor is in AArch32 state.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-216
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
1 ACTLR - 0x00000000 Auxiliary Control Register. See 4.3.39 Auxiliary Control Register, EL3
on page 4-143.
2 CPACR RW 0x00000000 4.5.6 Architectural Feature Access Control Register on page 4-247.
2 NSACR RW bg 0x00000000 4.5.8 Non-secure Access Control Register on page 4-251.
1 HACTLR RW 0x00000000 Hyp Auxiliary Control Register. See 4.3.33 Auxiliary Control Register, EL2
on page 4-130.
2 HCPTR RW 0x000033FF 4.5.13 Hyp Architectural Feature Trap Register on page 4-263.
3 HSTR RW 0x00000000 Hyp System Trap Register. See 4.3.36 Hypervisor System Trap Register
on page 4-139.
4.4.3 c2 registers
The following table shows the System registers when CRn is c2 and the processor is in AArch32 state.
0 c0 0 TTBR0 RW UNK
4.5.14 Translation Table Base Register 0 and Register 1 on page 4-265
1 TTBR1 RW UNK
2 TTBCR RW 0x00000000bi 4.5.15 Translation Table Base Control Register on page 4-265
c1 2 VTCR RW UNK Virtualization Translation Control Register, see the ARM® Architecture
Reference Manual ARMv8
be The reset value depends on primary input, CFGEND. The value shown assumes this signal is set to zero.
bf See the ARM® Architecture Reference Manual ARMv8 for more information.
bg RO at EL2 and EL0(NS).
bh The reset value for bit[7] is UNK.
bi The reset value is 0x00000000 for the Secure copy of the register. The reset value for the EAE bit of the Non-secure copy of the register is 0b0. You must program
the Non-secure copy of the register with the required initial value, as part of the processor boot sequence.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-217
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
4.4.4 c3 registers
The following table shows the System registers when CRn is c3 and the processor is in AArch32 state.
0 c0 0 DACR RW UNK Domain Access Control Register, see the ARM® Architecture Reference Manual ARMv8
4.4.5 c5 registers
The following table shows the System registers when CRn is c5 and the processor is in AArch32 state.
1 IFSR RW UNK Instruction Fault Status Register. See 4.3.51 Instruction Fault Status Register,
EL2 on page 4-159.
c1 0 ADFSR RW 0x00000000 Auxiliary Data Fault Status Register. See 4.3.48 Auxiliary Fault Status Register
0, EL1 and EL3 on page 4-156.
1 AIFSR RW 0x00000000 Auxiliary Instruction Fault Status Register. See 4.3.49 Auxiliary Fault Status
Register 1, EL1 and EL3 on page 4-157.
4 c1 0 HADFSR RW 0x00000000 Hyp Auxiliary Data Fault Status Register. See 4.3.52 Auxiliary Fault Status
Register 0, EL2 and Hyp Auxiliary Data Fault Status Register on page 4-163.
1 HAIFSR RW 0x00000000 Hyp Auxiliary Instruction Fault Status Register. See 4.3.53 Auxiliary Fault
Status Register 1, EL2 and Hyp Auxiliary Instruction Fault Status Register
on page 4-163.
c2 0 HSR RW UNK Hyp Syndrome Register. See 4.3.54 Exception Syndrome Register, EL2
on page 4-163.
4.4.6 c6 registers
The following table shows the System registers when CRn is c6 and the processor is in AArch32 state.
See the ARM® Architecture Reference Manual ARMv8 for more information about these registers.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-218
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
4.4.7 c7 register
The following table shows the System registers when CRn is c7 and the processor is in AArch32 state.
The following table shows the System operations when CRn is c7 and the processor is in AArch32 state.
See the ARM® Architecture Reference Manual ARMv8 for more information about these operations.
bj PoU = Point of Unification. PoU is set by the BROADCASTINNER signal and can be in the L1 data cache or outside of the processor, in which case PoU is
dependent on the external memory system.
bk PoC = Point of Coherence. The PoC is always outside of the processor and is dependent on the external memory system.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-219
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
The following table shows the System operations when CRn is c8 and the processor is in AArch32 state.
See the ARM® Architecture Reference Manual ARMv8 for more information about these operations.
7 TLBIMVAALIS Invalidate unified TLB by VA all ASID Inner Shareable, Last level
4 c0 1 TLBIIPAS2IS TLB Invalidate entry by Intermediate Physical Address, Stage 2, Inner Shareable
5 TLBIIPAS2LIS TLB Invalidate entry by Intermediate Physical Address, Stage 2, Last level, Inner Shareable
5 TLBIMVALHIS Invalidate Unified Hyp TLB entry by VA Inner Shareable, Last level
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-220
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
5 TLBIIPAS2L TLB Invalidate entry by Intermediate Physical Address, Stage 2, Last level
4.4.10 c9 registers
The following table shows the System registers when CRn is c9 and the processor is in AArch32 state.
0 c12 0 PMCR RW 0x41023000 Performance Monitors Control Register. See 11.4.1 Performance
Monitors Control Register, EL0 on page 11-401.
bl See the ARM® Architecture Reference Manual ARMv8 for more information.
bm The reset value depends on the processor implementation and the state of the L2RSTDISABLE signal.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-221
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
The following table shows the System registers when CRn is c10 and the processor is in AArch32 state.
c3 0 AMAIR0 RW UNK Auxiliary Memory Attribute Indirection Register 0. See 4.3.56 Auxiliary
Memory Attribute Indirection Register, EL1 and EL3 on page 4-168.
1 AMAIR1 RW UNK Auxiliary Memory Attribute Indirection Register 1. See 4.3.56 Auxiliary
Memory Attribute Indirection Register, EL1 and EL3 on page 4-168.
4 c2 0 HMAIR0 RW UNK Hyp Memory Attribute Indirection Register 0, See 4.3.57 Auxiliary Memory
Attribute Indirection Register, EL2 on page 4-168.
1 HMAIR1 RW UNK Hyp Memory Attribute Indirection Register 1, See 4.3.57 Auxiliary Memory
Attribute Indirection Register, EL2 on page 4-168.
c3 0 HAMAIR0 RW UNK Hyp Auxiliary Memory Attribute Indirection Register 0. See 4.3.57 Auxiliary
Memory Attribute Indirection Register, EL2 on page 4-168.
1 HAMAIR1 RW UNK Hyp Auxiliary Memory Attribute Indirection Register 1. See 4.3.57 Auxiliary
Memory Attribute Indirection Register, EL2 on page 4-168.
The following table shows the System registers when CRn is c12 and the processor is in AArch32 state.
2 RMR RW 0x00000000bp Reset Management Register. See 4.3.61 Reset Management Register, EL3
on page 4-175.
The following table shows the System registers when CRn is c13 and the processor is in AArch32 state.
bn The reset value is 0x00000000 for the Secure copy of the register. You must program the Non-secure copy of the register with the required initial value, as part of
the processor boot sequence.
bo See the ARM® Architecture Reference Manual ARMv8 for more information.
bp The reset value of bit[0] depends on the AA64nAA32 signal. The following table assumes this signal is LOW.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-222
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
The following table shows the System registers when CRn is C14 and the processor is in AArch32 state.
See the ARM® Architecture Reference Manual ARMv8 for more information about these registers.
1 PMEVCNTR1
2 PMEVCNTR2
3 PMEVCNTR3
4 PMEVCNTR4
5 PMEVCNTR5
bq See the ARM® Architecture Reference Manual ARMv8 for more information.
br RO at EL0.
bs Ar EL3(S) only, otherwise it is RO.
bt The reset value for bits[9:8, 2:0] is 0b00000.
bu The reset value for bit[0] is 0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-223
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
1 PMEVTYPER1
2 PMEVTYPER2
3 PMEVTYPER3
4 PMEVTYPER4
5 PMEVTYPER5
The following table shows the System registers when CRn is c15 and the processor is in AArch32 state.
1 IL1DATA1
2 IL1DATA2
3 IL1DATA3
1 DL1DATA1
2 DL1DATA2
3 DL1DATA3
4 DL1DATA4
1 c0 0 L2ACTLR RW 0x00000010bx L2 Auxiliary Control Register. See L2 Auxiliary Control Register, EL1.
The following table gives a summary of the 64-bit wide System registers, accessed by the MCRR and MRRC
instructions when the processor is in AArch32 state.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-224
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
0 c15 - CPUACTLR RW -cb CPU Auxiliary Control Register. See 4.3.66 CPU Auxiliary Control
Register, EL1 on page 4-194.
1 c15 - CPUECTLR RW -cc CPU Extended Control Register. See 4.3.67 CPU Extended Control
Register, EL1 on page 4-206.
- 2 c15 - CPUMERRSR RW - CPU Memory Error Syndrome Register. See 4.3.68 CPU Memory Error
Syndrome Register, EL1 on page 4-209.
- 3 c15 - L2MERRSR RW -cd L2 Memory Error Syndrome Register. See 4.3.69 L2 Memory Error
Syndrome Register, EL1 on page 4-210.
MIDR c0 0 c0 0 RO 0x410FD083 Main ID Register. See 4.3.1 Main ID Register, EL1 on page 4-89.
CTR 1 RO 0x8444C004 Cache Type Register. See 4.3.26 Cache Type Register, EL0
on page 4-121.
bz See the ARM® Architecture Reference Manual ARMv8 for more information.
ca The reset value for bits[55:48] is zero.
cb The reset value is zero.
cc The reset value is 0x0000 001B 0000 0000.
cd The reset value for bits[63,47:40,39:32,31] is zero.
ce The reset value depends on the primary inputs, CLUSTERIDAFF1, and the number of processors that the MPCore device implements. The value shown is for a
four processor implementation, with CLUSTERIDAFF1 set to zero.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-225
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
MIDR 4, 7 RO 0x410FD083 Aliases of Main ID Register, see 4.3.1 Main ID Register, EL1
on page 4-89.
ID_PFR0 c1 0 RO 0x00000131 Processor Feature Register 0. See 4.3.4 AArch32 Processor Feature
Register 0, EL1 on page 4-93.
ID_PFR1 1 RO 0x00011011cf Processor Feature Register 1. See 4.3.5 AArch32 Processor Feature
Register 1, EL1 on page 4-94.
ID_DFR0 2 RO 0x03010066 Debug Feature Register 0. See 4.3.6 AArch32 Debug Feature
Register 0, EL1 on page 4-95.
ID_AFR0 3 RO 0x00000000 Auxiliary Feature Register 0. See 4.3.7 AArch32 Auxiliary Feature
Register 0, EL1 on page 4-96.
ID_MMFR0 4 RO 0x10201105 Memory Model Feature Register 0. See 4.3.8 AArch32 Memory
Model Feature Register 0, EL1 on page 4-96.
ID_MMFR1 5 RO 0x40000000 Memory Model Feature Register 1. See 4.3.9 AArch32 Memory
Model Feature Register 1, EL1 on page 4-98.
ID_MMFR2 6 RO 0x01260000 Memory Model Feature Register 2. See 4.3.10 AArch32 Memory
Model Feature Register 2, EL1 on page 4-99.
ID_MMFR3 7 RO 0x02102211 Memory Model Feature Register 3. See 4.3.11 AArch32 Memory
Model Feature Register 3, EL1 on page 4-101.
ID_ISAR0 c2 0 RO 0x02101110 Instruction Set Attribute Register 0. See 4.3.12 AArch32 Instruction
Set Attribute Register 0, EL1 on page 4-103
ID_ISAR1 1 RO 0x13112111 Instruction Set Attribute Register 1. See 4.3.13 AArch32 Instruction
Set Attribute Register 1, EL1 on page 4-104.
ID_ISAR2 2 RO 0x21232042 Instruction Set Attribute Register 2. See 4.3.14 AArch32 Instruction
Set Attribute Register 2, EL1 on page 4-106.
ID_ISAR3 3 RO 0x01112131 Instruction Set Attribute Register 3. See 4.3.15 AArch32 Instruction
Set Attribute Register 3, EL1 on page 4-107.
ID_ISAR4 4 RO 0x00011142 Instruction Set Attribute Register 4. See 4.3.16 AArch32 Instruction
Set Attribute Register 4, EL1 on page 4-108.
ID_ISAR5 5 RO 0x00010001cg Instruction Set Attribute Register 5. See 4.3.17 AArch32 Instruction
Set Attribute Register 5, EL1 on page 4-110.
CCSIDR 1 c0 0 RO UNK Cache Size ID Register. See 4.3.22 Cache Size ID Register, EL1
on page 4-117.
CLIDR 1 RO 0x0A200023 Cache Level ID Register. See 4.3.23 Cache Level ID Register, EL1
on page 4-118.
CSSELR 2 c0 0 RW UNK Cache Size Selection Register. See 4.3.25 Cache Size Selection
Register, EL1 on page 4-120.
cf The reset value depends on the primary input GICCDISABLE. The value shown assumes the GICCDISABLE signal is tied HIGH.
cg The reset value is 0x00011121 if the Cryptography engine is implemented.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-226
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
ch The reset value is the value of the Main ID Register. See 4.3.1 Main ID Register, EL1 on page 4-89 for more information.
ci The reset value is the value of the Multiprocessor Affinity Register.
cj The reset value depends on the primary input GICCDISABLE. The value shown assumes the GICCDISABLE signal is tied HIGH.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-227
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
The following table shows the Virtual memory control registers in AArch32 state.
HTCR c2 4 c0 2 RW UNK 32-bit 4.5.16 Hyp Translation Control Register on page 4-266.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-228
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
PRRR c10 0 c2 0 RW 0x00098AA4 32-bit 4.5.19 Primary Region Remap Register on page 4-272.
NMRR 1 RW 0x44E048E0 32-bit 4.5.21 Normal Memory Remap Register. on page 4-273.
The following table shows the Fault handling registers in AArch32 state.
IFSR 1 RW UNK Instruction Fault Status Register. See 4.3.51 Instruction Fault Status
Register, EL2 on page 4-159.
ADFSR c1 0 RW UNK Auxiliary Data Fault Status Register. See 4.3.48 Auxiliary Fault Status
Register 0, EL1 and EL3 on page 4-156.
AIFSR 1 RW UNK Auxiliary Instruction Fault Status Register. See 4.3.49 Auxiliary Fault
Status Register 1, EL1 and EL3 on page 4-157.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-229
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
HADFSR 4 c1 0 RW UNK Hyp Auxiliary Data Fault Status Register. See 4.3.52 Auxiliary Fault
Status Register 0, EL2 and Hyp Auxiliary Data Fault Status Register
on page 4-163.
HAIFSR 1 RW UNK Hyp Auxiliary Instruction Fault Status Register. See 4.3.53 Auxiliary
Fault Status Register 1, EL2 and Hyp Auxiliary Instruction Fault
Status Register on page 4-163.
HSR c2 0 RW UNK Hyp Syndrome Register. See 4.3.54 Exception Syndrome Register, EL2
on page 4-163.
RMR 2 RW 0x00000000cq Reset Management Register. See 4.3.53 Auxiliary Fault Status Register
1, EL2 and Hyp Auxiliary Instruction Fault Status Register
on page 4-163.
The Virtualization registers include additional fault handling registers. For more information see
4.4.28 Virtualization registers on page 4-235.
The following table shows the other System registers in AArch32 state.
ACTLR c1 0 c0 1 - 0x00000000 Auxiliary Control Register. See 4.3.39 Auxiliary Control Register, EL3
on page 4-143.
CPACR 2 RW 0x00000000 4.5.6 Architectural Feature Access Control Register on page 4-247.
HACTLR 4 c0 1 RW 0x00000000 Hyp Auxiliary Control Register. See 4.3.33 Auxiliary Control Register,
EL2 on page 4-130.
co See the ARM® Architecture Reference Manual ARMv8 for more information.
cp The reset value is 0x00000000 for the Secure copy of the register. You must program the Non-secure copy of the register with the required initial value, as part of
the processor boot sequence.
cq The reset value of bit[0] depends on the AA64nAA32 signal. Table 4-103 Fault and Exception handling registers on page 4-229 assumes this signal is LOW.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-230
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
The following table shows the System instructions for cache and branch predictor maintenance
operations in AArch32 state. See the ARM® Architecture Reference Manual ARMv8 for more information
about these operations.
The following table shows the System instructions for TLB maintenance operations in AArch32 state.
See the ARM® Architecture Reference Manual ARMv8 for more information about these operations.
cr PoU = Point of Unification. PoU is set by the BROADCASTINNER signal and can be in the L1 data cache or outside of the processor, in which case PoU is
dependent on the external memory system.
cs PoC = Point of Coherence. The PoC is always outside of the processor and is dependent on the external memory system.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-231
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
The Virtualization registers include additional TLB operations for use in Hyp mode.
Related information
4.2.13 AArch64 EL2 TLB maintenance operations on page 4-85.
The following table shows the address translation register in AArch32 state.
- 0 c7 - 64-bit
The following table shows the System instructions for address translation operations in AArch32 state.
ct See the ARM® Architecture Reference Manual ARMv8 for more information.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-232
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
The following table shows the System instructions and the registers for miscellaneous operations in
AArch32 state.
The following table shows the Performance Monitors registers in AArch32 state.
cu See the ARM® Architecture Reference Manual ARMv8 for more information.
cv RO at EL0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-233
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
PMCR c9 0 c12 0 RW 0x41023000 Performance Monitors Control Register. See 11.4.1 Performance
Monitors Control Register, EL0 on page 11-401.
The following table shows the 32-bit wide Security registers in AArch32 state.
cw See the ARM® Architecture Reference Manual ARMv8 for more information.
cx See the ARM® Architecture Reference Manual ARMv8 for more information.
cy The reset value is 0x00000000 for the Secure copy of the register. You must program the Non-secure copy of the register with the required initial value, as part of
the processor boot sequence.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-234
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
HACTLR 1 RW 0x00000000 32-bit Hyp Auxiliary Control Register. See 4.3.33 Auxiliary
Control Register, EL2 on page 4-130.
HDCR 1 RW 0x00000006dc 32-bit 4.5.12 Hyp Debug Control Register on page 4-261.
HSTR 3 RW 0x00000000 32-bit Hyp System Trap Register. See 4.3.36 Hypervisor System
Trap Register on page 4-139.
HACR 7 RW 0x00000000 32-bit 4.3.37 Hyp Auxiliary Configuration Register on page 4-141.
HTCR c2 4 c0 2 RW UNK 32-bit 4.5.16 Hyp Translation Control Register on page 4-266.
HADFSR c5 4 c1 0 RW UNK 32-bit Hyp Auxiliary Data Fault Status Register. See
4.3.52 Auxiliary Fault Status Register 0, EL2 and Hyp
Auxiliary Data Fault Status Register on page 4-163.
HAIFSR 1 RW UNK 32-bit Hyp Auxiliary Instruction Fault Status Register. See
4.3.53 Auxiliary Fault Status Register 1, EL2 and Hyp
Auxiliary Instruction Fault Status Register on page 4-163.
HSR c2 0 RW UNK 32-bit Hyp Syndrome Register. See 4.3.54 Exception Syndrome
Register, EL2 on page 4-163.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-235
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
HMAIR0 c10 4 c2 0 RW UNK 32-bit Hyp Memory Attribute Indirection Register 0. db
HAMAIR0 c3 0 RW UNK 32-bit Hyp Auxiliary Memory Attribute Indirection Register 0. See
4.3.57 Auxiliary Memory Attribute Indirection Register, EL2
on page 4-168.
HAMAIR1 1 RW UNK 32-bit Hyp Auxiliary Memory Attribute Indirection Register 1. See
4.3.57 Auxiliary Memory Attribute Indirection Register, EL2
on page 4-168.
The following table shows the System instructions for TLB maintenance operations added for
Virtualization in AArch32 state. See the ARM® Architecture Reference Manual ARMv8 for more
information about these operations.
See 9.3 Generic Timer register summary on page 9-341 for information on the Generic Timer registers.
The following table shows the IMPLEMENTATION DEFINED registers in AArch32 state. These registers provide
test features and any required configuration options specific to the Cortex-A72 processor.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-236
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
ACTLR c1 0 c0 1 - 0x00000000 32-bit Auxiliary Control Register. See 4.3.39 Auxiliary Control
Register, EL3 on page 4-143.
HACTLR 4 c0 1 RW 0x00000000 32-bit Hyp Auxiliary Control Register. See 4.3.33 Auxiliary
Control Register, EL2 on page 4-130.
HADFSR c5 4 c1 0 RW UNK 32-bit Hyp Auxiliary Data Fault Status Register. See
4.3.52 Auxiliary Fault Status Register 0, EL2 and Hyp
Auxiliary Data Fault Status Register on page 4-163.
HAIFSR 1 RW UNK 32-bit Hyp Auxiliary Instruction Fault Status Register. See
4.3.52 Auxiliary Fault Status Register 0, EL2 and Hyp
Auxiliary Data Fault Status Register on page 4-163.
L2CTLR c9 1 c0 2 RW 0x00000000dg 32-bit L2 Control Register. See 4.3.58 L2 Control Register, EL1
on page 4-168.
AMAIR0 c10 0 c3 0 RW UNK 32-bit Auxiliary Memory Attribute Indirection Register 0. See
4.3.56 Auxiliary Memory Attribute Indirection Register,
EL1 and EL3 on page 4-168.
IL1DATA2 2
IL1DATA3 3
DL1DATA0 c1 0 RW UNK 32-bit 4.3.63 Data L1 Data n Register, EL1 on page 4-177.
DL1DATA1 1
DL1DATA2 2
DL1DATA3 3
DL1DATA4 4
dg The reset value depends on the processor implementation and the state of the L2RSTDISABLE signal.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-237
reserved.
Non-Confidential
4 System Control
4.4 AArch32 register summary
CPUACTLR - 0 c15 - RW -dj 64-bit CPU Auxiliary Control Register. See 4.3.66 CPU
Auxiliary Control Register, EL1 on page 4-194.
CPUECTLR - 1 - RW -dk 64-bit CPU Extended Control Register. See 4.3.67 CPU
Extended Control Register, EL1 on page 4-206.
CPUMERRSR - 2 - RW - 64-bit CPU Memory Error Syndrome Register. See 4.3.68 CPU
Memory Error Syndrome Register, EL1 on page 4-209.
dh The reset value is 0x00000010 for an ACE interface and 0x00004018 for a CHI interface.
di The reset value depends on the primary input, PERIPHBASE[43:18].
dj The reset value is zero.
dk The reset value is 0x0000 001B 0000 0000.
dl The reset value for bits[63,47:40,39:32,31] is zero.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-238
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
The processor does not implement instruction or data Tightly Coupled Memory (TCM), so this register is
always RES0.
- RO RO RO RO RO
Configurations
The TLBTR is Common to Secure and Non-secure states.
Attributes
See the register summary in Table 4-84 c0 register summary on page 4-215.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-239
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
RES0 nU
[0] nU Not Unified. Indicates whether the implementation has a unified TLB. The value is:
0 Processor has a unified TLB.
To access the TLBTR in AArch32 state, read the CP15 register with:
MRC p15, 0, <Rt>, c0, c0, 3; Read TLB Type Register
- RO RO RO RO RO
Configurations
The MPIDR is:
• Common to Secure and Non-secure states.
• Architecturally mapped to the AArch64 MPIDR_EL1[31:0] register.
Attributes
See the register summary in Table 4-84 c0 register summary on page 4-215.
The following figure shows the MPIDR bit assignments.
31 30 29 25 24 23 16 15 8 7 2 1 0
RES1 MT CPU ID
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-240
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[30] U Indicates a single processor system, as distinct from core 0 in a cluster. This value
is:
0 Processor is part of a multicore system.
[24] MT Indicates whether the lowest level of affinity consists of logical cores that are
implemented using a multi-threading type approach:
0 Performance of cores at the lowest affinity level is largely independent.
1 Performance of cores at the lowest affinity level is very interdependent.
[23:16] Cluster ID Aff2 Indicates the value read in at reset, from the CLUSTERIDAFF2 configuration
signal. It identifies a Cortex-A72 device in a system with more than one Cortex-
A72 device present.
[15:8] Cluster ID Aff1 Indicates the value read in at reset, from the CLUSTERIDAFF1 configuration
signal. It identifies a Cortex-A72 device in a system with more than one Cortex-
A72 device present.
[1:0] CPU ID Indicates the core number in the Cortex-A72 device. The possible values are:
0x0 An MPCore device with one core only.
0x0, 0x1 A Cortex-A72 device with two cores.
0x0, 0x1, 0x2 A Cortex-A72 device with three cores.
0x0, 0x1, 0x2, 0x3 A Cortex-A72 device with four cores.
To access the MPIDR in AArch32 state, read the CP15 registers with:
MRC p15, 0, <Rt>, c0, c0, 5; Read Multiprocessor Affinity Register
Related information
4.3.2 Multiprocessor Affinity Register, EL1 on page 4-90.
- - - RW RW -
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-241
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
Configurations
The VMPIDR is:
• A Banked EL2 register.
• Architecturally mapped to the AArch64 VMPIDR_EL2 register.
Attributes
See the register summary in Table 4-84 c0 register summary on page 4-215.
The following figure shows the VMPIDR bit assignments.
31 0
VMPIDR
[31:0] VMPIDR MPIDR value returned by Non-secure EL1 reads of the MPIDR. For information on the subdivision of this value,
see 4.5.3 Multiprocessor Affinity Register on page 4-240.
Related information
4.5.3 Multiprocessor Affinity Register on page 4-240.
4.3.29 Virtualization Multiprocessor ID Register, EL2 on page 4-124.
- RW RW RW RW RW
Control bits in the SCTLR that are not applicable to a VMSA implementation read as the value
that most closely reflects that implementation, and ignore writes.
Some bits in the register are read-only. These bits relate to non-configurable features of an
implementation, and are provided for compatibility with other versions of the architecture.
Write access to the Secure copy of SCTLR is disabled when the CP15SDISABLE signal is
HIGH.
Configurations
The SCTLR is Banked for Secure and Non-secure states.
The architectural mapping of the SCTLR is:
• The Non-secure SCTLR is mapped to the AArch64 SCTLR_EL1.
• The Secure SCTLR is mapped to the AArch64 SCTLR_EL3.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-242
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
Attributes
See the register summary in Table 4-85 c1 register summary on page 4-217.
The following figure shows the SCTLR bit assignments.
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
[29] AFE Banked Access flag enable. This bit enables use of the AP[0] bit in
the translation table descriptors as the Access flag. It also
restricts access permissions in the translation table
descriptors to the simplified model as described in the ARM®
Architecture Reference Manual ARMv8. In the translation
table descriptors, AP[0] is:
0 An access permissions bit. The full range of access
permissions is supported. No access flag is implemented.
This is the reset value.
1 The Access flag. Only the simplified model for access
permissions is supported.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-243
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[28] TRE Banked TEX remap enable. This bit enables remapping of the
TEX[2:1] bits for use as two translation table bits that can be
managed by the operating system. Enabling this remapping
also changes the scheme that describes the memory region
attributes in the VMSA. The possible values are:
0 TEX remap disabled. TEX[2:0] are used, with the C and
B bits, to describe the memory region attributes. This is
the reset value.
1 TEX remap enabled. TEX[2:1] are reassigned for use as
bits managed by the operating system. The TEX[0], C
and B bits describe the memory region attributes, with
the MMU remap registers.
[25] EE Banked Exception Endianness. The value of this bit defines the value
of the CPSR.E bit on entry to an exception vector, including
reset. This value also indicates the endianness of the
translation table data for translation table lookups. The
values are:
0 Little endian.
1 Big endian.
[20] UWXN Banked Unprivileged write permission implies EL1 Execute Never
(XN). You can use this bit to require all memory regions with
unprivileged write permissions are treated as XN for accesses
from software executing at EL1. Regions with unprivileged
write permission are:
0 Not forced to be XN. This is the reset value.
1 Forced to be XN for accesses from software executing at
EL1.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-244
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[19] WXN Banked Write permission implies Execute Never (XN). You can use
this bit to require all memory regions with write permissions
are treated as XN. Regions with write permission are:
0 Not forced to be XN. This is the reset value.
1 Forced to be XN.
[13] V Banked Vectors bit. This bit selects the base address of the exception
vectors:
0 Normal exception vectors, base address 0x00000000.
This base address can be remapped.
1 High exception vectors, base address 0xFFFF0000. This
base address is never remapped.
[12] I Banked Instruction Cache enable. This is a global enable bit for
Instruction Caches:
0 Instruction Caches disabled. This is the reset value.
1 Instruction Caches enabled.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-245
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[5] CP15BEN Banked AArch32 CP15 barrier enable. The values are:
0 CP15 barrier operations disabled. Their encodings are
UNDEFINED.
[2] C Banked Cache enable. This is a global enable bit for data and unified
caches:
0 Data and unified caches disabled. This is the reset value.
1 Data and unified caches enabled.
[1] A Banked Alignment check enable. This is the enable bit for Alignment
fault checking:
0 Alignment fault checking disabled. This is the reset
value.
1 Alignment fault checking enabled.
[0] M Banked MMU enable. This is a global enable bit for the EL1 and
EL0 stage 1 MMU:
0 EL1 and EL0 stage 1 MMU disabled. This is the reset
value.
1 EL1 and EL0 stage 1 MMU enabled.
To access the SCTLR in AArch32 state, read or write the CP15 register with:
MRC p15, 0, <Rt>, c1, c0, 0; Read System Control Register
MCR p15, 0, <Rt>, c1, c0, 0; Write System Control Register
To access the SCTLR_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, SCTLR_EL1; Read System Control Register
MSR SCTLR_EL1, <Xt>; Write System Control Register
To access the SCTLR_EL3 in AArch64 state, read or write the register with:
MRS <Xt>, SCTLR_EL3; Read System Control Register
MSR SCTLR_EL3, <Xt>; Write System Control Register
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-246
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
Related information
4.3.30 System Control Register, EL1 on page 4-125.
4.3.38 System Control Register, EL3 on page 4-141.
- RW RW RW RW RW
Note
The NSACR controls Non-secure access to the CPACR fields.
Attributes
See the register summary in Table 4-85 c1 register summary on page 4-217.
The following figure shows the CPACR bit assignments.
31 30 29 28 27 24 23 22 21 20 19 0
TRCDIS
ASEDIS
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-247
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[23:22] cp11 Defines the access rights for coprocessor 11. The values are:
0b00 Access denied. Any attempt to access the coprocessor generates an Undefined Instruction exception. This
is the reset value.
0b01 Access at EL1 or higher only. Any attempt to access the coprocessor from software executing at EL0
generates an Undefined Instruction exception.
0b10 Reserved.
0b11 Full access. The meaning of full access is defined by the appropriate coprocessor.
[21:20] cp10 Defines the access rights for coprocessor 10. The values are:
0b00 Access denied. Any attempt to access the coprocessor generates an Undefined Instruction exception. This
is the reset value.
0b01 Access at EL1 or higher only. Any attempt to access the coprocessor from software executing at EL0
generates an Undefined Instruction exception.
0b10 Reserved.
0b11 Full access. The meaning of full access is defined by the appropriate coprocessor.
Note
If the values of the cp11 and cp10 fields are not the same, the behavior is same as if both fields were set
to the value of cp10, in all respects other than the value read back by explicitly reading cp11.
To access the CPACR in AArch32 state, read or write the CP15 register with:
MRC p15, 0, <Rt>, c1, c0, 2; Read Architectural Feature Access Control Register
MCR p15, 0, <Rt>, c1, c0, 2; Write Architectural Feature Access Control Register
Related information
4.3.32 Architectural Feature Access Control Register, EL1 on page 4-129.
4.5.8 Non-secure Access Control Register on page 4-251.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-248
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
- - TRAP - RW RW
Configurations The SCR is a Restricted access register that exists only in the Secure state.
The SCR is mapped to the AArch64 SCR_EL3 register.
Attributes See the register summary in Table 4-85 c1 register summary on page 4-217.
RES0 RES0 EA NS
TWI FW IRQ
TWE AW FIQ
nET
SCD
HCE
SIF
[9] SIF Secure Instruction Fetch. When the processor is in Secure state, this bit
disables instruction fetches from Non-secure memory. The possible values
are:
0 Secure state instruction fetches from Non-secure memory permitted.
This is the reset value.
1 Secure state instruction fetches from Non-secure memory not permitted.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-249
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[8] HCE Hyp Call enable. This bit enables the use of HVC instruction. The possible
values are:
0 The HVC instruction is UNDEFINED in any mode. This is the reset value.
1 The HVC instruction enabled in Non-secure EL1 or EL2, and performs a
Hyp Call.
[7] SCD Secure Monitor Call disable. This bit causes the SMC instruction to be
UNDEFINED in all privileged modes. The possible values are:
A trap of the SMC instruction to Hyp mode from Non-secure EL1 takes
priority over the value of this bit. See the ARM® Architecture Reference
Manual ARMv8 for more information.
[6] nET Not Early Termination. This bit disables early termination.
This bit is not implemented, RES0.
[5] AW A bit writable. This bit controls whether CPSR.A can be modified in Non-
secure state. For the Cortex-A72 processor:
• This bit has no effect on whether CPSR.A can be modified in Non-
secure state. The AW bit can be modified in either Security state.
• This bit, with the HCR.AMO bit, determines whether CPSR.A has any
effect on exceptions that are routed to a Non-secure mode.
[4] FW F bit writable. This bit controls whether CPSR.F can be modified in Non-
secure state. For the Cortex-A72 processor:
• This bit has no effect on whether CPSR.F can be modified in Non-
secure state. The FW bit can be modified in either Security state.
• This bit, with the HCR.FMO bit, determines whether CPSR.F has any
effect on exceptions that are routed to a Non-secure mode.
[3] EA External Abort handler. This bit controls which mode takes external aborts.
The possible values are:
0 External aborts taken in Abort mode. This is the reset value.
1 External aborts taken in Monitor mode.
[2] FIQ FIQ handler. This bit controls which mode takes FIQ exceptions. The
possible values are:
0 FIQs taken in FIQ mode. This is the reset value.
1 FIQs taken in Monitor mode.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-250
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[1] IRQ IRQ handler. This bit controls which mode takes IRQ exceptions. The
possible values are:
0 IRQs taken in IRQ mode. This is the reset value.
1 IRQs taken in Monitor mode.
[0] NS Non-secure bit. Except when the processor is in Monitor mode, this bit
determines the Security state of the processor. The possible values are:
0 Secure. This is the reset value.
1 Non-secure.
Note
When the processor is in Monitor mode, it is always in Secure state,
regardless of the value of the NS bit.
To access the SCR in AArch32 state, read or write the CP15 register with:
MRC p15, 0, <Rt>, c1, c1, 0; Read Secure Configuration Register data
MCR p15, 0, <Rt>, c1, c1, 0; Write Secure Configuration Register data
- RO TRAP RO RO RW
If EL3 is using AArch64, accesses to this register from Secure EL1 using AArch32 are trapped
to EL3.
Configurations
The NSACR:
• Is a Restricted access register that exists only in the Secure state but can be read from the
Non-secure state.
• Functionality is replaced by the behavior in the CPTR_EL3 register in AArch64 state.
When EL3 is using AArch64, reads of the NSACR from Non-secure EL2 or Non-secure EL1
using AArch32, return a fixed value of 0x00000C00.
Attributes
See the register summary in Table 4-85 c1 register summary on page 4-217.
The following figure shows the NSACR bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-251
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
31 21 20 19 16 15 14 12 11 10 9 0
[15] NSASEDIS Disables Non-secure Advanced SIMD functionality. The values are:
0 This bit has no effect on the ability to write to the CAPCR.ASEDIS bit. This is the reset value.
1 When executing in Non-secure state, the CPACR.ASEDIS bit is RES1.
To access the NSACR in AArch32 state, read or write the CP15 register with:
MRC p15, 0, <Rt>, c1, c1, 2; Read Non-secure Access Control Register data
MCR p15, 0, <Rt>, c1, c1, 2; Write Non-secure Access Control Register data
Related information
4.3.40 Architectural Feature Trap Register, EL3 on page 4-145.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-252
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
Purpose
Controls the trapping to Hyp mode of Secure accesses, at EL1 or lower, to functions provided by
the debug and trace architectures.
If EL3 is using AArch64, accesses to this register from Secure EL1 using AArch32 are trapped
to EL3.
Usage constraints
The accessibility to the SDCR by Exception level is:
- - TRAP - RW RW
Configurations
The SDCR is a Restricted access register that only exists in the Secure state.
The SDCR is mapped to the AArch64 MDCR_EL3 register.
Attributes
See the register summary in Table 4-85 c1 register summary on page 4-217.
The following figure shows the SDCR bit assignments.
31 22 21 20 19 18 17 16 15 14 13 0
[21] EPMAD Disables access to the performance monitor configuration registers by an external debugger:
0 External debugger access to the performance monitor configuration registers enabled. This is the reset value.
1 External debugger access to the performance monitor configuration registers disabled, unless overridden by
the authentication interface.
[20] EDAD Disables access to the breakpoint and watchpoint registers by an external debugger:
0 External debugger access to the breakpoint and watchpoint registers enabled. This is the reset value.
1 External debugger access to the breakpoint and watchpoint registers disabled, unless overridden by the
authentication interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-253
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[15:14] SPDdm AArch32 Secure privileged debug. Enables or disables debug exceptions from Secure state if Secure EL1 is using
AArch32, other than Software breakpoint instructions. The possible values are:
0b00 Legacy mode. Debug exceptions from Secure EL1 are enabled if
AArch32SelfHostedSecurePrivilegedInvasiveDebugEnabled() is true.
0b10 Secure privileged debug disabled. Debug exceptions from Secure EL1 are disabled.
0b11 Secure privileged debug enabled. Debug exceptions from Secure EL1 are enabled.
To access the SDCR in AArch32 state, read or write the CP15 register with:
MRC p15, 0, <Rt>, c1, c3, 1; Read Secure Debug Configuration Register
MCR p15, 0, <Rt>, c1, c3, 1; Write Secure Debug Configuration Register
- - - RW RW -
dm SPD only applies in Secure state and when either Secure EL1 or EL3 is using AArch32.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-254
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register 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 BSU
RES0 TGE DC VM
TRVM TVM TWI SWIO
TTLB TWE PTW
TPU TID0 FMO
TPC TID1 IMO
TSW TID2 AMO
TAC TID3 VF
TIDCP VI
TSC VA
FB
[30] TRVM Trap Read of Virtual Memory controls. When 1, this causes reads to the
EL1 virtual memory control registers from EL1 to be trapped to EL2.
This covers the following registers:
AArch32 SCTLR, TTBR0, TTBR1, TTBCR, DACR, DFSR, IFSR,
DFAR, IFAR, ADFSR, AIFSR, PRRR/MAIR0, NMRR/
MAIR1, AMAIR0, AMAIR1, and CONTEXTIDR.
[27] TGE Trap general exceptions. When this bit is set to 1, and the processor is
executing at EL0 in Non-secure state, Undefined Instruction exceptions,
Supervisor Call exceptions, synchronous External aborts and some
Alignment faults are taken in Hyp mode.
The SCTLR.M bit is treated as being 0 regardless of its actual state,
other than for the purpose of reading the bit.
When the processor is executing at EL1 in Non-secure state, and this bit
is set to 1, the Illegal Exception Return mechanism is invoked.
The reset value is 0.
[26] TVM Trap Virtual Memory controls. When 1, this causes writes to the EL1
virtual memory control registers from EL1 to be trapped to EL2. This
covers the following registers:
AArch32 SCTLR, TTBR0, TTBR1, TTBCR, DACR, DFSR, IFSR,
DFAR, IFAR, ADFSR, AIFSR, PRRR/MAIR0, NMRR/
MAIR1, AMAIR0, AMAIR1, and CONTEXTIDR.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-255
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[25] TTLB Trap TLB maintenance instructions. When 1, this causes TLB
maintenance instructions executed from EL1 that are not UNDEFINED to
be trapped to EL2. This covers the following instructions:
AArch32 TLBIALLIS, TLBIMVAIS, TLBIASIDIS, TLBIMVAAIS,
ITLBIALL, DTLBIALL, TLBIALL, ITLBIMVA, DTLBIMVA,
TLBIMVA, ITLBIASID, DTLBIASID, TLBIASID,
TLBIMVAA, TLBIMVALIS, TLBIMVAALIS, TLBIMVAL, and
TLBIMVAAL.
[21] TAC Trap ACTLR accesses. When this bit is set to 1, any valid Non-secure
access to the ACTLR is trapped to Hyp mode.
The reset value is 0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-256
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[19] TSC Trap SMC instruction. When this bit is set to 1, any attempt from Non-
secure EL1 to execute an SMC instruction, that passes its condition check
if it is conditional, is trapped to Hyp mode.
The reset value is 0.
[18] TID3 Trap ID Group 3. When 1, this causes reads to the following registers
executed from EL1 to be trapped to EL2:
AArch32 ID_PFR0, ID_PFR1, ID_DFR0, ID_AFR0, ID_MMFR0,
ID_MMFR1, ID_MMFR2, ID_MMFR3, ID_ISAR0,
ID_ISAR1, ID_ISAR2, ID_ISAR3, ID_ISAR4, ID_ISAR5,
MVFR0, MVFR1, and MVFR2 and MRC instructions to the
following locations:
• op1 is 0, CRn is 0, CRm is c3, c4, c5, c6, or c7, and op2
is 0 or 1.
• op1 is 0, CRn is 0, CRm is c3, and op2 is 2.
• op1 is 0, CRn is 0, CRm is 5, and op2 is 4 or 5.
[17] TID2 Trap ID Group 2. When 1, this causes reads (or writes to CSSELR/
CSSELR_EL1) to the following registers executed from EL1 or EL0 if
not UNDEFINED to be trapped to EL2:
AArch32 CTR, CCSIDR, CLIDR, and CSSELR.
[16] TID1 Trap ID Group 1. When 1, this causes reads to the following registers
executed from EL1 to be trapped to EL2:
AArch32 TCMTR, TLBTR, AIDR, and REVIDR.
[15] TID0 Trap ID Group 0. When 1, this causes reads to the following registers
executed from EL1 or EL0 if not UNDEFINED to be trapped to EL2:
AArch32 FPSID and JIDR.
[14] TWE Traps WFE instruction if it would cause suspension of execution. For
example, if there is no pending WFE event:
0 WFE instruction is not trapped. This is the reset value.
1 WFE instruction executed in Non-secure EL1 or EL0 is trapped to
EL2.
[13] TWI Traps WFI instruction if it would cause suspension of execution. For
example, if there is no pending WFI event:
0 WFI instruction is not trapped. This is the reset value.
1 WFI instruction executed in Non-secure EL1 or EL0 is trapped to
EL2.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-257
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[12] DC Default Cacheable. When this bit is set to 1 the memory type and
attributes determined by the stage 1 translation is Normal, Non-
shareable, Inner Write-Back Write-Allocate, Outer Write-Back Write-
Allocate.
When executing in a Non-secure mode other than Hyp mode and the
HCR.DC bit is set, the processor behavior is consistent with the
behavior when:
• The SCTLR.M bit is clear, regardless of the actual value of the
SCTLR.M bit.
— An explicit read of the SCTLR.M bit returns its actual value.
• The HCR.VM bit is set, regardless of the actual value of the
HCR.VM bit.
— An explicit read of the HCR.VM bit returns its actual value.
The reset value is 0.
[11:10] BSU Barrier Shareability upgrade. The value in this field determines the
minimum shareability domain that is applied to any barrier executed
from EL1 or EL0. The values are:
0b00 No effect.
0b01 Inner Shareable.
0b10 Outer Shareable.
0b11 Full System.
[8] VA Virtual Asynchronous Abort exception. Setting this bit signals a virtual
Asynchronous Abort exception to the Guest OS, when the AMO bit is
set to 1 and the processor is executing in Non-secure state at EL0 or
EL1.
The Guest OS cannot distinguish the virtual exception from the
corresponding physical exception.
The reset value is 0.
[7] VI Virtual IRQ exception. Setting this bit signals a virtual IRQ exception to
the Guest OS, when the IMO bit is set to 1 and the processor is
executing in Non-secure state at EL0 or EL1.
The Guest OS cannot distinguish the virtual exception from the
corresponding physical exception.
The reset value is 0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-258
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[6] VF Virtual FIQ exception. Setting this bit signals a virtual FIQ exception to
the Guest OS, when the FMO bit is set to 1 and the processor is
executing in Non-secure state at EL0 or EL1.
The Guest OS cannot distinguish the virtual exception from the
corresponding physical exception.
The reset value is 0.
[5] AMO Asynchronous Abort Mask Override. When this bit is set to 1, it
overrides the effect of CPSR.A, and enables virtual exception signaling
by the VA bit.
The reset value is 0.
[4] IMO IRQ Mask Override. When this bit is set to 1, it overrides the effect of
CPSR.I, and enables virtual exception signaling by the VI bit.
The reset value is 0.
[3] FMO FIQ Mask Override. When this bit is set to 1, it overrides the effect of
CPSR.F, and enables virtual exception signaling by the VF bit.
The reset value is 0.
[2] PTW Protected Table Walk. When 1, if the stage 2 translation of a translation
table access made as part of a stage 1 translation table walk at Non-
secure EL0 or EL1 maps that translation table access to Device memory,
the access is faulted as a stage 2 Permission fault.
The reset value is 0.
[1] SWIO Set/Way Invalidation Override. When 1, this causes EL1 execution of
the Data Cache Invalidate by Set/Way instruction to be treated as Data
Cache Clean and Invalidate by Set/Way. The affected instructions are:
AArch32 DCISW is executed as DCCISW.
[0] VM Second stage of Translation enable. When 1, this enables the second
stage of translation for execution in EL1 and EL0. This bit is permitted
to be cached in a TLB.
The reset value is 0.
To access the HCR in AArch32 state, read or write the CP15 register with:
MRC p15, 4, <Rt>, c1, c1, 0; Read Hyp Configuration Register
MCR p15, 4, <Rt>, c1, c1, 0; Write Hyp Configuration Register
Related information
4.3.34 Hypervisor Configuration Register, EL2 on page 4-131.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-259
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
Purpose
Provides additional configuration controls for virtualization.
Usage constraints
The accessibility to the HCR2 in AArch32 state by Exception level is:
- - - RW RW -
Configurations
The HCR2 is:
• A Banked EL2 register.
• Architecturally mapped to the AArch64 HCR_EL2[63:31] register.
Attributes
See the register summary in Table 4-85 c1 register summary on page 4-217.
The following figure shows the HCR2 bit assignments.
31 2 1 0
RES0 ID
CD
[1] ID Stage 2 Instruction Cache disable. When HCR_EL2.VM is 1, this forces all stage2 translations for instruction accesses
to Normal memory to be Non-cacheable for the EL1/EL0 translation regime. The values are:
0 No effect on the stage 2 of the EL1/EL0 translation regime for instruction accesses. This is the reset value.
1 Forces all stage 2 translations for instruction accesses to Normal memory to be Non-cacheable for the EL0/EL1
translation regime.
[0] CD Stage 2 Data cache disable. When HCR_EL2.VM is 1, this forces all stage2 translations for data accesses and
translation table walks to Normal memory to be Non-cacheable for the EL1/EL0 translation regime. The values are:
0 No effect on the stage 2 of the EL1/EL0 translation regime for data accesses and translation table walks. This is
the reset value.
1 Forces all stage 2 translations for data accesses and translation table walks to Normal memory to be Non-
cacheable for the EL0/EL1 translation regime.
To access the HCR2 in AArch32 state, read or write the CP15 register with:
MRC p15, 4, <Rt>, c1, c1, 4; Read Hyp Configuration Register 2
MCR p15, 4, <Rt>, c1, c1, 4; Write Configuration Register 2
Related information
4.3.34 Hypervisor Configuration Register, EL2 on page 4-131.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-260
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
- - - RW RW -
Configurations
The HDCR is:
• A Banked EL2 register.
• Architecturally mapped to the AArch64 MDCR_EL2 register.
Attributes
See the register summary in Table 4-85 c1 register summary on page 4-217.
The following figure shows the HDCR bit assignments.
31 12 11 10 9 8 7 6 5 4 0
RES0 HPMN
TDRA TPMCR
TDOSA TPM
TDA HPME
TDE
When this bit is set to 1, any valid Non-secure access to DBGDRAR or DBGDSAR is trapped to Hyp mode.
If bit[8], TDE, is set, or if the HCR.TGE bit is set, the TDRA value is ignored and the processor behaves as if this
bit is set to 1.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-261
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[10] TDOSA Trap Debug OS-related register Access. The values are:
0 Has no effect on accesses to CP14 Debug registers. This is the reset value.
1 Trap valid EL0 or EL1 Non-secure accesses to CP14 OS-related Debug registers to Hyp mode.
When this bit is set to 1, any valid Non-secure CP14 access to the following OS-related Debug registers is trapped
to Hyp mode:
• DBGOSLSR.
• DBGOSLAR.
• DBGOSDLR.
• DBGPRCR.
If bit[8], TDE, is set, or if the HCR.TGE bit is set, the TDRA value is ignored and the processor behaves as if this
bit is set to 1.
When this bit is set to 1, any valid Non-secure access to the CP14 Debug registers, other than the registers trapped
by the TDRA and TDOSA bits, is trapped to Hyp mode.
If bit[8], TDE, is set, or if the HCR.TGE bit is set, the TDRA value is ignored and the processor behaves as if this
bit is set to 1.
When this bit is set to 1, any Debug exception taken in Non-secure state is trapped to Hyp mode.
When this bit is set to 1, the TRA, TDOSA, and TDA bits are treated as if they are set to 1, irrespective of the value
stored in the register. If the HCR.TGE bit is set to 1, this bit is treated as if it was set to 1, irrespective of the value
stored in the register.
When this bit is set to 1, access to the Performance Monitors counters that are reserved for use from Hyp mode is
enabled. For more information, see the description of the HPMN field.
When this bit is set to 1, any valid Non-secure EL0 or EL1 access to the Performance Monitors registers is trapped
to Hyp mode.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-262
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
[5] TPMCR Trap Performance Monitors Control Register accesses. The values are:
0 Has no effect on PMCR accesses. This is the reset value.
1 Trap valid Non-secure PMCR accesses to Hyp mode.
When this bit is set to 1, any valid Non-secure access to the PMCR is trapped to Hyp mode.
[4:0] HPMN Defines the number of Performance Monitors counters that are accessible from Non-secure EL1, and from Non-
secure EL0 if unprivileged access is enabled.
This field behaves as if it contains an UNKNOWN value of less than or equal to PMCR.N, in all ways other than
when reading back this field if:
• This field is set to 0.
• This field is set to a value greater than PMCR.N.
In Non-secure state, HPMN divides the Performance Monitors counters as follows:
If PMXEVCNTR is accessing Performance Monitors counter n then, in Non-secure state:
• If n is in the range 0 ≤ n < HPMN, the counter is accessible from EL1 and EL2, and from EL0 if unprivileged
access to the counters is enabled.
• If n is in the range HPMN ≤ n < PMCR.N, the counter is accessible only from EL2. The HPME bit enables
access to the counters in this range.
This field resets to 0x6, the value of PMCR.N.
To access the HDCR in AArch32 state, read or write the CP15 register with:
MRC p15, 4, <Rt>, c1, c1, 1; Read Hyp Debug Configuration Register
MCR p15, 4, <Rt>, c1, c1, 1; Write Hyp Debug Configuration Register
To access the MDCR_EL2 in AArch64 state, read or write the register with:
MRS <Xt>, MDCR_EL2; Read Monitor Debug Configuration Register
MSR MDCR_EL2, <Xt>; Write Monitor Debug Configuration Register
- - - RW RW -
If a bit in the NSACR prohibits a Non-secure access, then the corresponding bit in the HCPTR
behaves as RES1 for Non-secure accesses. See the bit descriptions for more information.
Configurations
The HCPTR is:
• A Banked EL2 register.
• Architecturally mapped to the AArch64 CPTR_EL2 register.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-263
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
Attributes
See the register summary in Table 4-85 c1 register summary on page 4-217.
The following figure shows the HCPTR bit assignments.
31 30 21 20 19 16 15 14 13 12 11 10 9 0
[31] TCPAC Trap Coprocessor Access Control Register accesses. When this bit is set to 1, any valid Non-secure EL1 accesses to
the CPACR is trapped to Hyp mode. The values are:
0 Has no effect on CPACR accesses. This is the reset value.
1 Trap valid Non-secure EL1 CPACR accesses to Hyp mode.
[15] TASE Trap Advanced SIMD use. If NSACR.NSASEDIS is set to 1, this bit behaves as RES1 on Non-secure accesses. The
values are:
0 If the NSACR settings permit Non-secure use of the Advanced SIMD functionality then Hyp mode can access
that functionality, regardless of any settings in the CPACR. This is the reset value.
Note
This bit value has no effect on possible use of the Advanced SIMD functionality from Non-secure EL1 and
EL0.
Note
If TCP10 and TCP11 are set to 1, then all Advanced SIMD use is trapped to Hyp mode, regardless of the value of
this field.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-264
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
To access the HCPTR in AArch32 state, read or write the CP15 register with:
MRC p15, 4, <Rt>, c1, c1, 2; Read Hyp Architectural Feature Trap Register
MCR p15, 4, <Rt>, c1, c1, 2; Write Hyp Architectural Feature Trap Register
Related information
4.5.8 Non-secure Access Control Register on page 4-251.
4.3.35 Architectural Feature Trap Register, EL2 on page 4-137.
The processor does not use any IMPLEMENTATION DEFINED bits in the 32-bit TTBR0 and TTBR1 format, so
these bits are RES0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-265
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
Purpose
Controls which Translation Table Base Register defines the base address for a translation table
walk required for the stage 1 translation of a memory access from any mode other than Hyp
mode in AArch32 state. This register also controls the translation table format and, when using
the Long-descriptor translation table format, holds cacheability and shareability information.
The processor does not use the IMPLEMENTATION DEFINED bit, TTBCR[30], when using the Long-
descriptor translation table format, so this bit is RES0.
Usage constraints
The accessibility to the TTBCR by Exception level is:
- RW RW RW RW RW
Write access to the Secure copy of SCTLR is disabled when the CP15SDISABLE signal is
HIGH.
Configurations
The TTBCR is Banked in the Secure and Non-secure states.
The architectural mapping of the TTBCR is:
• The Non-secure TTBCR is mapped to the AArch64 TCR_EL1[31:0] register.
• The Secure TTBCR is mapped to the AArch64 TCR_EL3[31:0] register
Attributes
See the register summary in Table 4-85 c1 register summary on page 4-217.
See the ARM® Architecture Reference Manual ARMv8 for more information.
To access the TTBCR in AArch32 state, read or write the CP15 register with:
MRC p15, 0, <Rt>, c2, c0, 2; Read Translation Table Base Control Register
MCR p15, 0, <Rt>, c2, c0, 2; Write Translation Table Base Control Register
Related information
4.3.41 Translation Control Register, EL1 on page 4-146.
4.3.47 Translation Control Register, EL3 on page 4-155.
The processor does not use the IMPLEMENTATION DEFINED bit, HTCR[30], so this bit is RES0.
The HTCR characteristics are:
Purpose
Controls translation table walks required for the stage 1 translation of memory accesses from
Hyp mode, and holds cacheability and shareability information for the accesses.
Usage constraints
The accessibility to the HTCR by Exception level is:
- - - RW RW -
Configurations
The HTCR is:
• A Banked EL2 register.
• Architecturally mapped to the AArch64 TCR_EL2.
The TCR_EL2 is a 32-bit register in AArch64 state.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-266
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
Attributes
See the register summary in Table 4-85 c1 register summary on page 4-217.
See the ARM® Architecture Reference Manual ARMv8 for more information.
To access the HTCR in AArch32 state, read or write the CP15 register with:
MRC p15, 4, <Rt>, c2, c0, 2; Read Hyp Translation Control Register
MCR p15, 4, <Rt>, c2, c0, 2; Write Hyp Translation Control Register
Related information
4.3.42 Translation Control Register, EL2 on page 4-149.
- RW RW RW RW RW
Configurations
The DFSR is Banked for Secure and Non-secure states.
The architectural mapping of the DFSR is:
• The Non-secure DFSR is mapped to the AArch64 ESR_EL1 register.
• The Secure DFSR is mapped to the AArch64 ESR_EL3 register.
Attributes
See the register summary in Table 4-2 AArch64 exception handling registers on page 4-78.
There are two formats for this register. The value of TTBCR.EAE selects which format of the register is
used. The two formats are:
• DFSR format when using the Short-descriptor translation table format on page 4-268.
• DFSR format when using the Long-descriptor translation table format on page 4-269.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-267
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
UA RES0
UC LPAE
CM FS[4]
ExT WnR
Figure 4-91 DFSR bit assignments for Short-descriptor translation table format
The following table shows the DFSR bit assignments when using the Short-descriptor translation table
format.
Table 4-127 DFSR bit assignments for Short-descriptor translation table format
[15] UA Unattributable fault. This bit is only set for System Errors. For other
faults, it is RES0. The values are:
0 Attributable, can be attributed to the processing element counting
the event.
1 Unattributable, cannot be attributed to any particular processor.
[14] UC Uncontainable fault. This bit is only set for System Errors. For other
faults, it is RES0. The values are:
0 Containable, an attributable event that can be contained to a
particular code sequence.
1 Uncontainable, cannot be contained to a particular code sequence.
[13] CM Cache maintenance fault. For synchronous faults, this bit indicates
whether a cache maintenance operation generated the fault. The values
are:
0 Abort not caused by a cache maintenance operation.
1 Abort caused by a cache maintenance operation.
[12] ExT External abort type. This field indicates whether an AXI decode or slave
error caused an abort:
0 External abort marked as DECERR.
1 External abort marked as SLVERR.
For aborts other than external aborts this bit always returns 0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-268
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
Table 4-127 DFSR bit assignments for Short-descriptor translation table format (continued)
[11] WnR Write not Read bit. This field indicates whether a write or a read access
caused the abort:
0 Abort caused by a read access.
1 Abort caused by a write access.
[10] FS[4] Part of the Fault Status field. See bits[3:0] in this table.
[9] LPAE Large physical address extension. The value of the format descriptor is:
0 Short-descriptor translation table formats.
[7:4] Domain The domain of the fault address. Use of the field is deprecated.
[3:0] FS[3:0] Fault Status bits. This field indicates the type of exception generated.
The possible values are:
0b00001 Alignment fault.
0b01100 Synchronous external abort on translation table walk, 1st
level.
0b01110 Synchronous external abort on translation table walk, 2nd
level.
0b11100 Synchronous parity error on translation table walk, 1st
level.
0b11110 Synchronous parity error on translation table walk, 2nd
level.
0b00101 Translation fault, 1st level.
0b00111 Translation fault, 2nd level.
0b00011 Access flag fault, 1st level.
0b00110 Access flag fault, 2nd level.
0b01001 Domain fault, 1st level.
0b01011 Domain fault, 2nd level.
0b01101 Permission fault, 1st level.
0b01111 Permission fault, 2nd level.
0b00010 Debug event.
0b01000 Synchronous external abort, non-translation.
0b11001 Synchronous parity error on memory access.
0b10110 Asynchronous external abort.
0b11000 Asynchronous parity error on memory access.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-269
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
31 16 15 14 13 12 11 10 9 8 6 5 0
UA LPAE
UC RES0
CM WnR
ExT
Figure 4-92 DFSR bit assignments for Long-descriptor translation table format
The following table shows the DFSR bit assignments when using the Long-descriptor translation table
format.
Table 4-128 DFSR bit assignments for Long-descriptor translation table format
[15] UA Unattributable fault. This bit is only set for System Errors. For other
faults, it is RES0. The values are:
0 Attributable, can be attributed to the processing element counting
the event.
1 Unattributable, cannot be attributed to any particular processor.
[14] UC Uncontainable fault. This bit is only set for System Errors. For other
faults, it is RES0. The values are:
0 Containable, an attributable event that can be contained to a
particular code sequence.
1 Uncontainable, cannot be contained to a particular code sequence.
[13] CM Cache maintenance fault. For synchronous faults, this bit indicates
whether a cache maintenance operation generated the fault:
0 Abort not caused by a cache maintenance operation.
1 Abort caused by a cache maintenance operation.
[12] ExT External abort type. This field indicates whether an AXI decode or slave
error caused an abort:
0 External abort marked as DECERR.
1 External abort marked as SLVERR.
For aborts other than external aborts this bit always returns 0.
[11] WnR Write not Read bit. This field indicates whether a write or a read access
caused the abort:
0 Abort caused by a read access.
1 Abort caused by a write access.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-270
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
Table 4-128 DFSR bit assignments for Long-descriptor translation table format (continued)
[9] LPAE Large physical address extension. The value of the format descriptor is:
1 Long-descriptor translation table formats.
[5:0] Status Fault Status bits. This field indicates the type of exception generated.
The possible values are:
0b0000LL Address size fault, LL bits indicate level.
0b0001LL Translation fault, LL bits indicate level.
0b0010LL Access flag fault, LL bits indicate level.
0b0011LL Permission fault, LL bits indicate level.
0b010000 Synchronous external abort.
0b011000 Synchronous parity error on memory access.
0b010001 Asynchronous external abort.
0b011001 Asynchronous parity error on memory access.
0b0101LL Synchronous external abort on translation table walk, LL
bits indicate level.
0b0111LL Synchronous parity error on memory access on translation
table walk, LL bits indicate level.
0b100001 Alignment fault.
0b100010 Debug event.
The following table shows how the LL bits in the Status field encode the lookup level associated with the
MMU fault.
LL bits Meaning
00 Level 0 fault
01 First level
10 Second level
11 Third level
To access the DFSR in AArch32 state, read or write the CP15 register with:
MRC p15, 0, <Rt>, c5, c0, 0; Read Data Fault Status Register
MCR p15, 0, <Rt>, c5, c0, 0; Write Data Fault Status Register
Related information
4.3.50 Exception Syndrome Register, EL1 and EL3 on page 4-157.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-271
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
Purpose
Receives the PA from any address translation operation.
Usage constraints
The accessibility to the PAR by Exception level is:
- RW RW RW RW RW
Configurations
The PAR is Banked for the Secure and Non-secure states.
The Non-secure PAR is architecturally mapped to AArch64 PAR_EL1 register.
The PAR[63:32] is RES0 when using the Short-descriptor translation format.
Attributes
The processor does not use any IMPLEMENTATION DEFINED bits in the 32-bit or 64-bit format PAR or
the PAR_EL1, so these bits are RES0.
See the register summary in Table 4-90 c7 register summary on page 4-219.
See the ARM® Architecture Reference Manual ARMv8 for more information.
To access the PAR in AArch32 state when using the Short-descriptor translation format, read or write the
CP15 register with:
MRC p15, 0, <Rt>, c7, c4, 0; Read Physical Address Register
MCR p15, 0, <Rt>, c7, c4, 0; Write Physical Address Register
To access the PAR in AArch32 state when using the Long-descriptor translation format, read or write the
CP15 register with:
MRRC p15, 0, <Rt>, <Rt2>, c7; Read Physical Address Register
MCRR p15, 0, <Rt>, <Rt2>, c7; Write Physical Address Register
Related information
4.3.55 Physical Address Register, EL1 on page 4-165.
- RW RW RW RW RW
Write access to the Secure copy of PRRR is disabled when the CP15SDISABLE signal is
HIGH.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-272
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
Configurations
The PRRR is:
• Banked for the Secure and Non-secure states.
• Only relevant if the TTBCR.EAE bit is 0.
• Architecturally mapped to the MAIR0 register in AArch32 state.
The Non-secure PRRR is architecturally mapped to the AArch64 MAIR_EL1[31:0] register.
The Secure PRRR is mapped to the AArch64 MAIR_EL3[31:0] register.
Attributes
See the register summary in Table 4-94 c10 register summary on page 4-222.
See the ARM® Architecture Reference Manual ARMv8 for more information.
To access the PRRR in AArch32 state when TTBCR.EAE is 0, read or write the CP15 register with:
MRC p15, 0, <Rt>, c10, c2, 0; Read Primary Region Remap Register
MCR p15, 0, <Rt>, c10, c2, 0; Write Primary Region Remap Register
The processor does not set any IMPLEMENTATION DEFINED attributes with the Memory Attribute Indirection
Register 0 (MAIR0).
- RW RW RW RW RW
Write access to the Secure copy of NMRR is disabled when the CP15SDISABLE signal is
HIGH.
Configurations
The NMRR is:
• Banked for the Secure and Non-secure states.
• Only relevant if the TTBCR.EAE bit is 0.
• Architecturally mapped on to the MAIR1 register in AArch32 state.
The Non-secure NMRR is architecturally mapped to the AArch64 MAIR_EL1[63:32] register.
The Secure NMRR is mapped to the AArch64 MAIR_EL3[63:32] register.
Attributes
See the register summary in Table 4-94 c10 register summary on page 4-222.
See the ARM® Architecture Reference Manual ARMv8 for more information.
To access the NMRR in AArch32 state, read or write the CP15 register with:
MRC p15, 0, <Rt>, c10, c2, 1; Read Normal Memory Remap Register
MCR p15, 0, <Rt>, c10, c2, 1; Write Normal Memory Remap Register
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-273
reserved.
Non-Confidential
4 System Control
4.5 AArch32 register descriptions
The processor does not set any IMPLEMENTATION DEFINED attributes with the Memory Attribute Indirection
Register 1 (MAIR1).
The processor does not implement Fast Context Switch Extension (FCSE), so this register is always RES0.
- RO RO RO RO RO
Configurations
The CBAR is Common to the Secure and Non-secure states.
Attributes
See the register summary in Table 4-98 c15 register summary on page 4-224.
The following figure shows the CBAR bit assignments.
31 18 17 12 11 0
[31:18] PERIPHBASE[31:18] The primary input PERIPHBASE[31:18] determines the reset value.
[11:0] PERIPHBASE[43:32] The primary input PERIPHBASE[43:32] determines the reset value.
To access the CBAR in AArch32 state, read the CP15 register with:
MRC p15, 1, <Rt>, c15, c3, 0; Read Configuration Base Address Register
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 4-274
reserved.
Non-Confidential
Chapter 5
Memory Management Unit
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 5-275
reserved.
Non-Confidential
5 Memory Management Unit
5.1 About the MMU
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 5-276
reserved.
Non-Confidential
5 Memory Management Unit
5.2 TLB organization
The L1 instruction TLB is a 48-entry fully-associative structure. This TLB caches entries of three
different page sizes, natively 4KB, 64KB, and 1MB, of VA to PA mappings. If the page tables map the
memory region to a larger granularity than 1MB, it only allocates one mapping for the particular 1MB
region to which the current access corresponds.
A hit in the instruction TLB provides a single CLK cycle access to the translation, and returns the PA to
the instruction cache for comparison. It also checks the access permissions to signal a Prefetch Abort.
The L1 data TLB is a 32-entry fully-associative TLB that is used for data loads and stores. This TLB
caches entries of three different page sizes, natively 4KB, 64KB, and 1MB, of VA to PA mappings.
A hit in the data TLB provides a single CLK cycle access to the translation, and returns the PA to the
data cache for comparison. It also checks the access permissions to signal a Data Abort.
5.2.3 L2 TLB
Misses from the L1 instruction and data TLBs are handled by a unified L2 TLB. This is a 1024-entry 4-
way set-associative structure. The L2 TLB supports the page sizes of 4K, 64K, 1MB and 16MB. It also
supports page sizes of 2MB and 1GB for the long descriptor format translation in AArch32 state and in
AArch64 state when using the 4KB translation granule. In addition, the L2 TLB supports the 512MB
page map size defined for the AArch64 translations that use a 64KB translation granule.
Accesses to the L2 TLB take a variable number of cycles, based on the competing requests from each of
the L1 TLBs, TLB maintenance operations in flight, and the different page size mappings in use.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 5-277
reserved.
Non-Confidential
5 Memory Management Unit
5.3 TLB match process
Note
• For a request originating from EL2 or EL3, the ASID and VMID match are ignored.
• For a request originating from Secure state, the VMID match is ignored.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 5-278
reserved.
Non-Confidential
5 Memory Management Unit
5.4 Memory access sequence
For Stage2 translations, the IRGN bits must be programmed in the VTCR_EL2 register.
If the encoding of the IRGN bits is WriteBack, an L2 data cache lookup is performed and data is read
from the data cache. If the encoding of the IRGN bits is Write-Through or Non-cacheable, an access to
external memory is performed.
In the case of an L2TLB miss, the hardware does a translation table walk provided the MMU is enabled,
and the translation using the base register has not been disabled by:
• Setting the PD0 or PD1 bit in the 4.5.15 Translation Table Base Control Register on page 4-265, to
disallow translation using either TTBR0 or TTBR1 respectively, when using AArch32 along with the
Short Descriptor Format.
• Setting of the EPD0 or EPD1 bit in the TCR_EL1 register when using AArch64 or when using the
Long Descriptor format in AArch32.
If the translation table walk is disabled for a particular base register, the processor returns a Translation
Fault. If the TLB finds a matching entry, it uses the information in the entry as follows:
• The access permission bits and the domain, when using the Short Descriptor format in AArch32 state,
determine if the access is permitted. If the matching entry does not pass the permission checks, the
MMU signals a Permission fault. See the ARM® Architecture Reference Manual ARMv8 for:
— A description of the various faults.
— The fault codes.
— Information regarding the registers where the fault codes are set.
• The memory region attributes specified in the TLB entry determine if the access is:
— Secure or Non-secure.
— Inner, Outer or not Cacheable.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 5-279
reserved.
Non-Confidential
5 Memory Management Unit
5.4 Memory access sequence
— Normal Memory or Device type, Strongly-ordered or Device type when using the Short
Descriptor Format in AArch32.
— One of the four different device memory types defined for ARMv8:
Device-nGnRnE Device non-Gathering, non-Reordering, No Early Write Acknowledgment.
Device-nGnRE Device non-Gathering, non-Reordering, Early Write Acknowledgment.
Device-nGRE Device non-Gathering, Reordering, Early Write Acknowledgment.
Device-GRE Device Gathering, Reordering, Early Write Acknowledgment.
• The TLB translates the VA to a PA for the memory access.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 5-280
reserved.
Non-Confidential
5 Memory Management Unit
5.5 MMU enabling and disabling
Related information
4.3.67 CPU Extended Control Register, EL1 on page 4-206.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 5-281
reserved.
Non-Confidential
5 Memory Management Unit
5.6 Intermediate table walk caches
Example 5-1 Using a reserved ASID to synchronize ASID and TTBR changes
In this example, the operating system uses a particular reserved ASID value for the synchronization of
the ASID and the Translation Table Base Register. You can use this approach only when the size of the
mapping for any given Virtual Address is the same in the old and new translation tables. The example
uses the value of 0.
The software uses the following sequences that must be executed from memory marked as global:
Change ASID to 0
ISB
Change Translation Table Base Register
ISB
Change ASID to new value
ISB
If the code relies on only leaf translation table entries that are cached, it can incorrectly assume that
entries tagged with the reserved ASID are not required to be flushed. For example:
• Global leaf entries that remain valid or must be flushed for all ASIDs when modified
• Non-global leaf entries that are not used because the reserved ASID is not set outside the context
switch code.
The incorrect assumption leads to the following failure:
• The context switch code sets the ASID to the reserved value.
• Speculative fetching reads and caches the first level page table entry, using the current TTBR, and
tagging the entry with the reserved ASID. This is a pointer to a second level table.
• Context switch completes.
• Processing continues, and the process with the page tables terminates. The OS frees and reallocates
the page table memory.
• A later context switch sets the ASID to the reserved value
• Speculative fetching makes use of the cached first level page table entry, because it is tagged with the
reserved ASID, and uses it to fetch a second level page table entry. Because the memory is
reallocated and reused, the entry contains random data that can appear to be a valid, global entry. This
second level page table entry is cached.
• Context switch completes, and application execution continues.
• The application references the address range covered by the cached second level page table entry.
Because the entry is marked as global, a match occurs and so data is fetched from a random address.
Note
When you use a reserved ASID, you must invalidate the TLB to deallocate the translation table memory.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 5-282
reserved.
Non-Confidential
5 Memory Management Unit
5.7 External aborts
Externally generated errors during a data read or write can be asynchronous. This means that the
ELR_EL1, ELR_EL2, ELR_EL3, of r14 entry into the abort handler on such an abort might not hold the
address of the instruction that caused the abort.
The DFAR is UNPREDICTABLE when an asynchronous abort occurs.
For a load multiple or store multiple operation, the address captured in the DFAR is that of the address
that generated the synchronous external abort.
To determine a fault type, check the Execution state. If the abort handler code targeted by the exception
is in AArch64 state, read the appropriate ESR_ELx register. If the abort handler code is an AArch32
hypervisor, see 4.3.54 Exception Syndrome Register, EL2 on page 4-163. If the abort handler code is not
an AArch32 non-hypervisor, see 4.3.51 Instruction Fault Status Register, EL2 on page 4-159 for an
Instruction Abort or the ">4.5.17 Data Fault Status Register on page 4-267 for a Data Abort.
Related information
4.5.7 Secure Configuration Register on page 4-248.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 5-283
reserved.
Non-Confidential
Chapter 6
Level 1 Memory System
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-284
reserved.
Non-Confidential
6 Level 1 Memory System
6.1 About the L1 memory system
Note
The Cortex-A72 processor does not support cache lockdown.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-285
reserved.
Non-Confidential
6 Level 1 Memory System
6.2 Cache organization
Related information
4.5.5 System Control Register on page 4-242.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-286
reserved.
Non-Confidential
6 Level 1 Memory System
6.3 L1 instruction memory system
The SCTLR.I bit enables or disables the L1 instruction cache. If the I bit is disabled, fetches cannot
access any of the instruction cache arrays. An exception to this rule is the instruction cache system
operations. If the instruction cache is disabled, the instruction cache maintenance operations can still
execute normally.
Related information
4.5.5 System Control Register on page 4-242.
An instruction remains in the pipeline between the fetch and the execute stages. Because there can be
several unresolved branches in the pipeline, instruction fetches are speculative, meaning there is no
guarantee that they are executed. A branch or exceptional instruction in the code stream can cause a
pipeline flush, discarding the currently fetched instructions.
Because of the aggressive prefetching behavior, you must not place read-sensitive devices in the same
page as code. Pages with Device memory type attributes are treated as Non-cacheable Normal Memory.
You must mark pages that contain read-sensitive devices with the TLB Execute Never (XN) attribute bit.
To avoid speculative fetches to read sensitive devices when address translation is disabled, these devices
and code that are fetched must be separated in the physical memory map. See the ARM® Architecture
Reference Manual ARMv8 for more information. To avoid speculative fetches to potential non-code
regions, the static predictor is disabled and branches are forced to resolve in order when address
translation is disabled.
The instruction cache is fed by three fill buffers that hold instructions returned from the L2 cache on a
linefill operation, or instructions from Non-cacheable regions. The fill buffers are non-blocking. An
instruction cache hit can bypass an in-progress cache miss, even before the critical word is returned. A
line at a given Physical Address remains in a fill buffer until the fill buffer must be reclaimed. At this
time, the fill buffer contents are either transferred to the main instruction cache or discarded if no fetch
has occurred to the address of the line over the lifetime of the line in the fill buffer.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-287
reserved.
Non-Confidential
6 Level 1 Memory System
6.3 L1 instruction memory system
The instruction cache implements one parity bit per 16-bits of instruction data. The instruction cache Tag
array is also protected by two parity bits per tag entry. Parity errors invalidate the offending cache line,
and force a fetch from the L2 cache on the next access. No aborts are generated on parity errors that
occur within the instruction cache. The location of a parity error is reported in the CPU Memory Error
Syndrome Register. Because the data cache shares this register, there is no guarantee that this register
contains the location of the last instruction side parity error.
Related information
4.3.68 CPU Memory Error Syndrome Register, EL1 on page 4-209.
The processor implements speculative prefetching on the instruction side. Following an L1 I-cache miss,
the next sequential line is looked up in the L1 instruction cache. If a miss is indicated, and no pipeline
flushes have occurred, a second L2 request is initiated for the next sequential line. This line is not
committed to the instruction cache unless actually demanded by a fetch. This is the default behavior.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-288
reserved.
Non-Confidential
6 Level 1 Memory System
6.4 L1 data memory system
The L1 data memory system uses memory attributes from the MMU to determine the behaviors of
memory transactions to regions of memory.
The L1 data memory system uses the following memory types:
• Write-Back Read-Write-Allocate on page 6-290.
• Write-Back No-Allocate on page 6-291.
• Write-Through on page 6-291.
• Non-cacheable on page 6-291.
• Device on page 6-291.
Note
Some attribute combinations are only available if the LPAE page table format is used.
Table 6-1 Memory attribute combinations on page 6-290 shows the memory attribute combinations
available.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-289
reserved.
Non-Confidential
6 Level 1 Memory System
6.4 L1 data memory system
The L1 and L2 data memory system use the internal memory type to determine its behavior in addition to
the value of the ARCACHE, AWCACHE, and TXREQFLIT[MemAttr] signals. The L1 and L2 caches
use allocation hints from the inner memory attributes and the ARCACHE, AWCACHE, and
TXREQ[MemAttr] signals use allocation hints from the outer memory attributes.
Note
The Cortex-A72 processor provides the raw memory attributes from the MMU on external signals.
If any memory instruction crosses a 4KB page boundary between two pages with different memory types
such as Normal and Device memory, the result is unpredictable and an abort might be triggered or
incorrect data delivered.
If any given Physical Address is mapped to Virtual Addresses with different memory types or different
cacheability such as Non-cacheable, Write-Through, or Write-Back, the result is unpredictable. This can
occur if two Virtual Addresses are mapped to the same Physical Address at the same time with different
memory type or cacheability, or if the same Virtual Address has its memory type or cacheability changed
over time without the appropriate cache cleaning or barriers.
Write-Back Read-Write-Allocate
This is expected to be the most common and highest performance memory type. Any read or write to this
memory type searches the cache to determine if the line is resident. If it is, the line is read or updated. A
store that hits a Write-Back cache line does not update main memory.
If the required cache line is not in the cache, one or more cache lines is requested from the L2 cache. The
L2 cache can obtain the lines from its cache, from another coherent L1 cache, or from memory. The line
is then placed in the L1 cache, and the operation completes from the L1 cache.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-290
reserved.
Non-Confidential
6 Level 1 Memory System
6.4 L1 data memory system
Write-Back No-Allocate
Use Write-Back No-Allocate memory to access data that might be in the cache because other virtual
pages that are mapped to the same Physical Address are Write-Back Read-Write-Allocate. Write-Back
No-Allocate memory avoids polluting the caches when accessing large memory structures that are used
only one time. The cache is searched and the correct data is delivered or updated if the data resides in one
of the caches. However, if the request misses the L1 or L2 cache, the line is not allocated into that cache.
For a read that misses all caches, the required data is read to satisfy the memory request, but the line is
not added to the cache. For a write that misses in all caches, the modified bytes are updated in memory.
Note
The No-Allocate allocation hint is only a performance hint. The processor might in some cases, allocate
Write-Back No-Allocate lines into the L1 data cache or the L2.
Write-Through
The Cortex-A72 processor memory system treats all Write-Through pages as Non-cacheable.
Non-cacheable
Normal Non-cacheable memory is not looked up in any cache. The requests are sent directly to memory.
Read requests might over-read in memory, for example, reading 64 bytes of memory for a 4-byte access,
and a single external memory access might satisfy multiple memory requests. Write requests might
merge with other write requests to the same bytes or nearby bytes.
Device
Device memory types are used for communicating with input and output devices and memory-mapped
peripherals. They are not looked up in any cache.
All the memory operations for a single instruction can be sent to the interconnect as multiple naturally
aligned requests.
Related information
Chapter 5 Memory Management Unit on page 5-275.
A.8 ACE and CHI interface signals on page Appx-A-540.
6.4.2 Coherence
All memory requests for pages that are marked as Inner Shareable in the page tables and are Write-Back
Cacheable, regardless of allocation policy, are coherent in all the caches that comprise the inner domain.
At a minimum, this includes the L1 data cache of the executing core, the L2 cache, and all other L1 data
caches in the processor. The inner domain might contain additional caches outside the processor
depending on how the system is configured.
It is unpredictable whether memory requests for pages that are marked as Inner Non-shareable are
coherent with the processor. No code must assume that Non-shareable pages are incoherent among the
caches.
The L1 data cache implements a MESI coherence protocol.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-291
reserved.
Non-Confidential
6 Level 1 Memory System
6.4 L1 data memory system
Related information
4.5.5 System Control Register on page 4-242.
You can enable the CPUACTLR[24], Non-cacheable streaming enhancement bit, only if your memory
system meets the requirement that cache line fill requests from the processor are atomic. Specifically, if
the processor requests a cache line fill on the AXI master read address channel, any given write request
from a different master is ordered completely before or after the cache line fill read. This means that after
the memory read for the cache line fill starts, writes from any other master to the same cache line are
stalled until that memory read completes. Setting this bit enables higher performance for applications
with streaming reads from memory types that do not allocate into the cache.
Because it is possible to build an AXI interconnect that does not comply with the specified requirement,
the CPUACTLR[24] bit defaults to disabled.
If synchronization primitives are used for memory pages that are Shareable Normal Write-Back and the
cache is enabled, SCTLR.C is 1, the external monitor on AXI is not used. Instead, the global monitor
function is handled in the L1 cache using the cache coherence information.
If synchronization primitives are used for memory pages that are Device, or Inner-Shareable Normal
Non-cacheable, a global monitor must be provided in the interconnect. See the ARM® Architecture
Reference Manual ARMv8, for ARMv8-A architecture profile for more information. The memory requests
are sent on the AXI interface as Read-Exclusive or Write-Exclusive. See the ARM® AMBA® AXI and ACE
Protocol Specification for more information.
Note
Use of synchronization primitives on addresses in regions marked as Device memory is UNPREDICTABLE in
the ARMv8-A architecture. Code that makes such accesses is not portable.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-292
reserved.
Non-Confidential
6 Level 1 Memory System
6.4 L1 data memory system
The load/store unprivileged instructions are used in privileged modes to emulate User mode instructions
and to enforce User mode permissions. These instructions are for all memory types when enforcing
permission checking against the permissions that the page table specifies. The User mode permissions
from the page table are used instead of the privileged mode permissions.
You can also use these instructions to modify the privileged and user information on the ARPROT and
AWPROT signals on the AXI. This is required if external permission checking hardware exists in the
fabric memory.
The LDRT and STRT instructions for Strongly-ordered and Device pages appear on the AXI with an
AxPROT value that indicates User mode access. However, the same instructions for Normal Memory
might not always result in AXI transactions with an AxPROT value that indicates User mode access.
This is because any Normal Memory page permits speculative prefetching at any time. Those prefetch
requests, either caused by hardware prefetching or speculative prefetching triggered by flushed memory
instructions, can have a value of the AxPROT field that indicates privileged mode access. This reflects
the mode of the processor during the prefetch.
For Normal Write-Through Cacheable or Non-cacheable memory, the processor can still access the
memory speculatively, and can merge multiple stores together before issuing them to the AXI. Because
of this, you must use the LDRT and STRT instructions to present User mode on AxPROT if the LDRT and
STRT instructions are preceded and followed by DMB instructions:
• DMB.
• LDRT or STRT.
• DMB.
The DMB instructions prevent the LDRT or STRT instruction from hitting any previously requested read
data, or from merging with any other requests. The DMB instructions can be DMBSY, DMBISH, DMBISH, and
DMBOSH.
The multiprocessor supports the PLD, PLDW, and PRFM prefetch hint instructions. For Normal Write-Back
Cacheable memory page, the PLD, PLDW, and PRFM L1 instructions cause the line to be allocated to the L1
data cache of the executing processor. The PLD instruction brings the line into the cache in Exclusive or
Shared state and the PLDW instruction brings the line into the cache in Exclusive state. The preload
instruction cache, PLDI, is treated as a NOP. PLD and PLDW instructions are performance hints instructions
only and might be dropped in some cases.
The L1 data cache supports optional single bit correct and double bit detect error correction logic in both
the Tag and Data arrays. The ECC granularity for the Tag array is the tag for a single cache line and the
ECC granularity for the Data array is a 32-bit word.
Because of the ECC granularity in the Data array, a write to the array cannot update a portion of a 4-byte
aligned memory location because there is not enough information to calculate the new ECC value. This
is the case for any store instruction that does not write one or more aligned 4-byte regions of memory. In
this case, the L1 data memory system reads the existing data in the cache, merges in the modified bytes,
and calculates the ECC from the merged value. The L1 memory system attempts to merge multiple stores
together to meet the aligned 4-byte ECC granularity and to avoid the read-modify-write requirement.
Single bit ECC errors in the Tag or cache are corrected in the background. Because the line is removed
from the L1 cache as part of the correction process, no software intervention is required. No exception or
interrupt is generated. The CPU Memory Error Syndrome Register is updated to indicate a nonfatal error.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-293
reserved.
Non-Confidential
6 Level 1 Memory System
6.4 L1 data memory system
Double bit ECC errors in the Tag or cache are detected and an imprecise Data Abort is triggered. The
line that contains the error is evicted from the cache. When a double bit error is reported, you must
assume that data corruption has occurred and handle this appropriately.
For any detected ECC error in the L1 memory system, the CPU Memory Error Syndrome Register is
updated. For the first error reported, the register is updated with information for the RAM, bank, way,
and index that contain the error. If that same location reports multiple errors, the repeat error count is
incremented. If any other RAM locations report errors, the other error count is incremented. Double-bit
ECC errors set the fatal bit. When the register is written with zeros, the register clears all counts and
starts to monitor for a new first error again.
Related information
4.3.68 CPU Memory Error Syndrome Register, EL1 on page 4-209.
Prefetching on loads
The load side prefetcher uses a hybrid mechanism which is based on both physical-address (PA) and
virtual-address (VA) prefetching to either or both of the L1D cache and L2 cache, depending on the
memory access patterns.
Prefetching on stores
Prefetching on store accesses is managed by a PA based prefetcher and only prefetches to the L2 cache.
The Load/Store HW prefetcher can be controlled in the following manner using software programmable
bits:
1. Disable the Load/Store HW prefetcher: The load/store HW prefetcher can be disabled by setting the
CPUACTLR_EL1 bit [56].
2. Disable VA based prefetch: Prefetching using VA can be disabled by setting the CPUACTLR_EL1
bit [43]. When set, prefetch is restricted to within the page boundary of the demand request triggering
that triggers the prefetch.
3. Disable prefetch on store: Prefetching on stores can be disabled by setting the CPUACTLR_EL1 bit
[42].
4. Maximum load prefetch distance to L2: You can control the maximum prefetch distance to the L2, for
load side prefetching, by programming bits [33:32] of the CPUECTLR_EL1 register.
Related information
4.3.66 CPU Auxiliary Control Register, EL1 on page 4-194.
4.3.67 CPU Extended Control Register, EL1 on page 4-206.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-294
reserved.
Non-Confidential
6 Level 1 Memory System
6.5 Program flow prediction
The return stack stores the address and the ARM or Thumb state of the instruction after a function-call
type branch instruction. This address is the same as the Link Register value stored in r14 in AArch32
state or X30 in AArch64 state. The following instructions cause a return stack push if predicted:
• BL immediate.
• BLX(1) immediate in AArch32 state.
• BLX(2) register in AArch32 state.
• BLR register in AArch64 state.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-295
reserved.
Non-Confidential
6 Level 1 Memory System
6.5 Program flow prediction
Branches must be resolved one time to be predicted by the dynamic predictor. To accelerate cold startup
of code, the processor includes a static predictor that detects branches in the code stream as follows:
• Direct unconditional branches, B immediate, are predicted taken.
• Direct unconditional call-type branches, BL immediate and BLX immediate, are predicted taken, and
the preferred return address value is pushed on the return stack.
• Unconditional return-type branches are predicted taken and the target is popped from the return stack.
To avoid potential illegal speculation, the static predictor is disabled when the MMU is disabled.
Related information
6.5.2 Return stack predictions on page 6-295.
Program flow prediction is always enabled and no programming is required to take advantage of
program flow prediction.
When reset, the processor:
• Invalidates the BTB.
• Resets the GHB and indirect predictor to a known state.
No software intervention is required to prepare the prediction logic before enabling program flow
prediction.
The BTB is tagged by all memory space information required to uniquely identify a virtual memory
space, ASID, VMID, security, and Exception level. All predictions are checked at branch resolution time
to ensure that a legal branch is resolved. Therefore, flushing the BTB on a context switch is not required.
AArch64 state does not implement BTB flush instructions.
The processor automatically invalidates the BTB when either stage of the MMU is disabled.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-296
reserved.
Non-Confidential
6 Level 1 Memory System
6.6 L1 RAM memories
dn The L2 TLB RAM is a unified TLB structure that supports L1 instruction and L1 data TLB misses.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 6-297
reserved.
Non-Confidential
Chapter 7
Level 2 Memory System
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-298
reserved.
Non-Confidential
7 Level 2 Memory System
7.1 About the L2 memory system
Note
• The Cortex-A72 processor does not support TLB or cache lockdown.
Related information
7.2.2 Strictly-enforced inclusion property with L1 data caches on page 7-300.
7.2.4 Error Correction Code on page 7-301.
7.2.5 Register slice support for large cache sizes on page 7-301.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-299
reserved.
Non-Confidential
7 Level 2 Memory System
7.2 Cache organization
The L2 cache is partitioned into multiple banks to enable parallel operations. The following levels of
banking exist:
• The Tag array is partitioned into multiple banks to enable up to two requests to access different tag
banks of the L2 cache simultaneously.
• Each tag bank is partitioned into multiple data banks to enable streaming accesses to the data banks.
Each tag bank consists of four data banks.
Figure 7-1 L2 cache bank structure on page 7-300 shows the logical representation of an L2 cache bank
structure with a configuration of all possible tag and data bank combinations.
Tag bank selected by PA [6]
Data bank selected by PA [5:4]
The L2 memory system requires support for inclusion between the L1 data caches and the L2 cache. A
line that resides in any of the L1 data caches must also reside in the L2 cache. However, the data can
differ between the two caches when the L1 cache line is in a dirty state. If another agent, a core in the
cluster or another cluster, accesses this line in the L2 then it knows the line is present in the L1 of a
processor and then it queries that core for the most recent data.
This strictly-enforced inclusion property has the following benefits:
• Any AXI or CHI ReadClean operation that results in a line being in shared state in the L1 data caches
can be returned from the L2 cache. This yields the highest performance for delivering data to a core.
• When powering down the processor, it reduces the time to clean and invalidate the entire L1 data
cache.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-300
reserved.
Non-Confidential
7 Level 2 Memory System
7.2 Cache organization
For processor requests, the L2 cache is enabled when the C bit of the SCTLR register is enabled. The
cache attributes are provided with each request, taking into account the page attributes that the MMU
page tables provided and overriding these attributes if the corresponding cache enable bit in the SCTLR
is disabled.
To enable the L2 cache to cache both instructions and data following the reset sequence, you must:
1. Complete the processor reset sequence.
2. Enable L2 ECC, if present and required, by programming bit[21] of the L2 Control Register.
3. Program the I bit and C bit of the SCTLR.
To disable the L2 cache, you must use the following sequence:
1. Disable the C bit.
2. Clean and invalidate the L1 and L2 caches.
For ACP requests, the L2 cache is enabled if the request uses Normal Write-Back memory attributes. The
processor searches the L2 cache to determine if the request is valid before allocating the line for Normal
Write-Back Read-Write-Allocate memory.
Related information
4.5.5 System Control Register on page 4-242.
4.3.58 L2 Control Register, EL1 on page 4-168.
The L2 cache supports optional ECC in most of its memories. For core instruction and data accesses
resulting in an L2 cache hit, where a single-bit error is detected on the Data array, the L2 memory system
supports in-line ECC correction. Uncorrected data is forwarded to the requesting unit, and in parallel, the
ECC circuitry checks for accuracy. If a single-bit error is detected, any uncorrected data returned within
two cycles before the error indicator must be discarded. The L2 memory system begins to stream
corrected data to the requestor.
When there is no data transfers, the L2 memory system shifts back to return uncorrected data until it
detects the next single-bit error. Forwarding uncorrected data can be disabled by programming bit[20] of
the L2 Control Register. This avoids the requirement to flush requests associated with single-bit ECC
errors on L2 cache hits, but adds an additional 2 cycles to the L2 hit latency.
For all other single-bit ECC errors detected, the request is flushed from the L2 pipeline and is forced to
reissue. The tag bank where the single-bit error occurred, performs a read-modify-write sequence to
correct the single-bit error in the array. The request is then reissued.
Related information
4.3.68 CPU Memory Error Syndrome Register, EL1 on page 4-209.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-301
reserved.
Non-Confidential
7 Level 2 Memory System
7.2 Cache organization
The L2 RAMs support one inserted register slice. Each register slice introduces a pair of registers, one
before the RAM and one after the RAM.
Bits[12] and [10] of the CP15 L2 Control Register, L2CTLR, indicate the presence of RAM register
slices in the design. In addition, the L2CTLR contains bits to program the setup and latency for the L2
Tag and Data RAMs.
Table 7-1 Total effective L2 Tag latency with slice and setup factored in
000do 2 3 4 5
001 2 3 4 5
010 3 4 5 5
011 4 5 5 5
100 5 5 5 5
1xx, ≥ 4 5 5 5 5
Note
• The total effective L2 Tag latency is set to a maximum of 5 cycles.
• Each tag slice adds 2 cycles and affects the L2 Tag, Snoop Tag, Dirty, and Inclusion PLRU RAMs.
• Setting tag setup to 1 adds 1 cycle.
• Slice and setup have priority over programmed latency in determining the total effective L2 Tag
latency.
The following example shows a Tag RAM access with 3 cycles total effective Tag latency.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-302
reserved.
Non-Confidential
7 Level 2 Memory System
7.2 Cache organization
The following example shows a Tag RAM access with 4 cycles total effective Tag latency.
The following example shows a Tag RAM access with 5 cycles total effective Tag latency.
The following table shows the total effective L2 Data latency with the register slice and setup factored in.
Table 7-2 Total effective L2 Data latency with slice and setup factored in
000dp 2 3 4 5 6 7
001 2 3 4 5 6 7
010 3 4 5 6 7 8
011 4 5 6 6 8 8
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-303
reserved.
Non-Confidential
7 Level 2 Memory System
7.2 Cache organization
Table 7-2 Total effective L2 Data latency with slice and setup factored in (continued)
100 5 6 6 6 8 8
Note
• The total effective L2 Data latency is set to a maximum of 8 cycles for configurations supporting
Data slice=2, otherwise the maximum is set to 6 cycles.
• Each data slice adds 2 cycles and affects the L2 data and data ECC RAMs.
• Setting data setup to 1 adds 1 cycle.
• Slice and setup have priority over programmed latency in determining the total effective L2 Data
latency.
The following example shows a Data RAM access with 4 cycles total effective Data latency.
The following example shows a Data RAM access with 5 cycles total effective Data latency.
The following example shows a Data RAM access with 6 cycles total effective Data latency.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-304
reserved.
Non-Confidential
7 Level 2 Memory System
7.2 Cache organization
The following example shows a Data RAM access with 8 cycles total effective Data latency.
Related information
4.3.58 L2 Control Register, EL1 on page 4-168.
Related information
4.5.5 System Control Register on page 4-242.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-305
reserved.
Non-Confidential
7 Level 2 Memory System
7.3 L2 RAM memories
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-306
reserved.
Non-Confidential
7 Level 2 Memory System
7.4 L2 cache prefetcher
Note
The Load/store unit handles prefetch generation for Load/store accesses targeting both the L1D cache
and L2 cache.
Note
The prefetcher is limited to prefetch within the 4KB page of the current request, if the page has been
mapped at a 4KB granularity.
• Support for forwarding from prefetched requests. If a read request was sent over AXI because of a
prefetch request, and a demand access for the same line was received, the read data can be forwarded
from the internal data buffers to the demand request, before waiting for the line to be allocated to the
cache.
You can program the CPUECTLR register to indicate the maximum number of prefetches to be allocated
in the PRQ on the following:
• An instruction fetch miss in the L2 cache by programming CPUECTLR_EL1[36:35].
The programmed distance is also used as the skip distance for any instruction fetch read with a stride
match that hits in the L2 cache. In these cases, a single prefetch request is allocate in the PRQ as:
prefetch address = current address + (stride × programmed distance)
Note
The stride for an instruction fetch access is always one cache line.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-307
reserved.
Non-Confidential
7 Level 2 Memory System
7.5 Cache coherency
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-308
reserved.
Non-Confidential
7 Level 2 Memory System
7.6 Asynchronous errors
Related information
4.3.59 L2 Extended Control Register, EL1 on page 4-172.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-309
reserved.
Non-Confidential
7 Level 2 Memory System
7.7 External coherent interfaces
Write issuing 16 16 outstanding writes supported that can be evictions, single writes, or write bursts of any
capability memory type.
Snoop acceptance 20 Up to 20 outstanding snoop requests are accepted on the AC channel in response to those
capability requests on the CR channel.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-310
reserved.
Non-Confidential
7 Level 2 Memory System
7.7 External coherent interfaces
The ACE and CHI coherent interconnect interfaces can be configured through input signals to change the
interface behavior. The multiprocessor implements the following configuration signals:
• SYSBARDISABLE on page 7-311.
• BROADCASTINNER on page 7-311.
• BROADCASTOUTER on page 7-311.
• BROADCASTCACHEMAINT on page 7-312.
SYSBARDISABLE
BROADCASTINNER
BROADCASTINNER controls issuing coherent transactions targeting the Inner Shareable domain on
the coherent interconnect. When BROADCASTINNER is asserted, the processor is considered to be
part of an Inner Shareable domain that extends beyond the processor and any transaction that requires
coherency with other masters in this domain is broadcast on the ACE or CHI interface.
When BROADCASTINNER is asserted, BROADCASTOUTER must also be asserted. In this
configuration, coherent masters can share memory in the Inner or Outer Shareable domains.
When BROADCASTINNER is deasserted, the processor does not issue DVM requests on the ACE AR
channel or CHI TXREQ channel.
BROADCASTOUTER
BROADCASTOUTER controls issuing coherent transactions targeting the outer shareability domain on
the coherent interconnect. When BROADCASTOUTER is asserted, the processor is considered to be
part of the Outer Shareable domain and any transaction that requires coherency with other masters in this
domain is broadcast on the ACE or CHI interface.
It is possible to assert BROADCASTOUTER without asserting BROADCASTINNER. This selects a
configuration that limits coherent masters to sharing memory only in the outer shareability domain.
However, cores within the cluster can still share memory in the Inner Shareable domain.
When BROADCASTOUTER is deasserted, BROADCASTINNER must also be deasserted.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-311
reserved.
Non-Confidential
7 Level 2 Memory System
7.7 External coherent interfaces
When BROADCASTINNER and BROADCASTOUTER are both deasserted, the processor does not
issue coherent read or write requests on the ACE AR and AW channels, or the CHI TXREQ channel.
BROADCASTCACHEMAINT
In general, the processor can issue a Write-Back, WriteEvict, or an Evict transaction for any cache line
that is removed from the L2 cache. You can use these messages to manage an external snoop filter.
However, the snoop filter logic must not depend on such a message for every clean line dropped from the
processor caches, because in some circumstances the processor might not signal an eviction. For
example, clean evictions are not guaranteed to occur in cases involving L1 or L2 tag ECC errors.
In a system where the processor can receive a Distributed Virtual Memory (DVM) synchronization
message over the AXI master snoop address channel, BRESP for any write transaction must not be
asserted to the core until all AXI masters that might have initiated the DVM synchronization request
observe the transaction.
Note
The Cortex-A72 processor does not support a multi-part DVM hint message.
The Cortex-A72 processor uses a combination of inner and outer memory attributes from the MMU to
determine how its memory system handles each combination. Table 6-1 Memory attribute combinations
on page 6-290 shows the Inner and Outer memory attributes used by the L1 and L2 caches to form the
internal memory types. Table 7-5 External memory attributes on page 7-312 shows how these attributes
are used to form the external memory type presented on ARCACHE, AWCACHE, or
TXREQFLIT[MemAttr].
Outer MemAttr Inner MemAttr External memory type ARCACHE AWCACHE TREQFLIT[MemAttr]
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-312
reserved.
Non-Confidential
7 Level 2 Memory System
7.7 External coherent interfaces
Outer MemAttr Inner MemAttr External memory type ARCACHE AWCACHE TREQFLIT[MemAttr]
In addition to ARCACHE, AWCACHE, and TXREQFLIT[MemAttr] the processor also presents the
raw outer memory attributes, inner memory type, and Inner and Outer Shareable on dedicated external
interface signals RDMEMATTR, WRMEMATTR, and REQMEMATTR corresponding to
transactions on ACE read channel, ACE write channel and CHI TXREQ channel, respectively.
Related information
A.9 CHI interface signals on page Appx-A-543.
A.10 ACE interface signals on page Appx-A-548.
When the system issues multiple requests on the AR channel with the same ARID, or on the AW channel
with the same AWID, it must follow the appropriate ordering rules as described in the ARM® AMBA® AXI
and ACE Protocol Specification.
For certain transactions, the system must be able to identify which core generated the request. This
applies to requests affecting the global exclusive monitor in addition to Strongly-ordered or Device
memory type accesses to peripherals.
ARCACHEM[3:0] and AWCACHEM[3:0] identify whether the memory types are Strongly-ordered or
Device. See the ARM® AMBA® AXI and ACE Protocol Specification. For these memory types, if
ARIDM[2] or AWIDM[2] is LOW, then the request is generated from one of the cores. ARIDM[1:0] or
AWIDM[1:0] indicate which core generated the request.
For an exclusive read transaction such as ARLOCK asserted, ARID[1:0] indicates which core generated
the request. Only cores can generate exclusive read requests, and not the ACP or any other source.
For an exclusive write transaction such as AWLOCK asserted, AWID[1:0] indicates which core
generated the request. Only cores can generate exclusive write requests, and not the ACP or any other
source.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-313
reserved.
Non-Confidential
7 Level 2 Memory System
7.7 External coherent interfaces
The system must not rely on specific values of ARID or AWID that correspond with specific transaction
sources or transaction types other than the information described in this section.
CHI TXREQ transactions include the Logical Processor ID (LPID) field. This field uniquely identifies
the logical core that generated the request transaction.
The processor uses the following LPID values:
0b000 Core 0 request.
0b001 Core 1 request.
0b010 Core 2 request.
0b011 Core 3 request.
0b100 ACP request.
0b111 L2 hardware flush request.
Secondary transactions such as copybacks from the L2, because of cache fills caused by core or ACP
access L2 misses, use the LPID of the request that caused the copyback.
For Normal Inner-Cacheable memory transfers initiated from one of the Cortex-A72 processors, the
following transfers are supported on the ACE:
• WRAP 4× 128-bit read transfers.
• WRAP 4× 128-bit write transfers.
For Normal Non-Cacheable memory transfers initated from one of the Cortex-A72 processors, the
following transfers are supported on the ACE:
• WRAP 4× 128-bit read transfers.
• WRAP 4× 128-bit write transfers.
• INCR 1× 128-bit read transfers.
• INCR 1× 128-bit write transfers.
For Strongly-ordered or Device transactions initiated from one of the Cortex-A72 processors, the
following transfers are supported on the ACE:
• INCR 1× 8-bit read transfers.
• INCR 1× 16-bit read transfers.
• INCR 1× 32-bit read transfers.
• INCR 1× 64-bit read transfers.
• INCR N (N:1 or 4) 128-bit read transfers.
• INCR 1× 8-bit write transfers.
• INCR 1× 16-bit write transfers.
• INCR 1× 32-bit write transfers.
• INCR 1× 64-bit write transfers.
• INCR N (N:1 or 4) 128-bit write transfers.
The following table describes the use of the burst types for Non-Cacheable and Cacheable but not
allocated memory attributes.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-314
reserved.
Non-Confidential
7 Level 2 Memory System
7.7 External coherent interfaces
Table 7-6 Use of WRAP and INCR burst types for Non-Cacheable and Cacheable but not allocated transactions
If there are requests on the ACP interface, the following transfers can be generated on the ACE if
comparable requests are received on the ACP:
• WRAP N 4× 128-bit read transfers.
• WRAP 4× 128-bit write transfers.
• INCR 1× 128-bit read transfers.
• INCR 1× 128-bit write transfers.
CHI link layer flow control uses a counter on each link to track the number of outstanding link layer
credits. The Cortex-A72 processor can receive a maximum of 15 link-layer credits on the TXREQ,
TXRSP, and TXDAT links and issues a maximum of nine link layer credits on the RXSNP, RXRSP, and
RXDAT links.
The Cortex-A72 processor can have a maximum of four outstanding DVM transactions on its snoop
interface. When this limit is reached, the system cannot send any more DVM transactions on the RXRSP
link until the processor has provided a response to an older DVM transaction on the TXRSP link
This section describes the recommended performance settings for the Cortex-A72 L2 Auxiliary Control
Register in various system configurations.
Evict transactions
Evict and WriteEvict transactions indicate that a shareable cache line has been evicted from the master's
local caches. The downstream snoop filter can use this information to update its directory to indicate that
the issuing master no longer contains a copy of the cache line.
WriteEvict carries data and can be used to allow allocation into a system or Level 3 cache. In general,
ARM recommends the following:
• A system that contains a snoop filter enables Evict transactions.
• A system that contains a L3 cache that wants to behave like a victim cache for cache lines in the
Unique state enables WriteEvict transactions.
The Cortex-A72 L2ACTLR_EL1 register contains bits that can enable or disable Evict and WriteEvict
transactions individually. See L2ACTLR_EL1[3] and L2ACTLR_EL1[14], respectively, in the L2
Auxiliary Control Register, EL1.
When the Cortex-A72 processor is used with the ARM CCI-400 in an ACE-based system, ARM
recommends that you set L2ACTLR_EL1[3] to 1 to disable Evict transactions. The reset value of
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-315
reserved.
Non-Confidential
7 Level 2 Memory System
7.7 External coherent interfaces
Related information
L2 Auxiliary Control Register, EL1.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-316
reserved.
Non-Confidential
7 Level 2 Memory System
7.8 ACP
7.8 ACP
The optional Accelerator Coherency Port (ACP) is implemented as an AXI4 slave interface with the
following restrictions:
• 128-bit read and write interfaces.
• ARCACHE and AWCACHE are restricted to Normal, Write-Back, Read-Write-Allocate, Read-
Allocate, Write-Allocate, and No-Allocate memory. ARCACHE and AWCACHE are limited to the
values 0b0111, 0b1011, and 0b1111. Other values cause a SLVERR response on RRESP or BRESP.
• Exclusive accesses are not supported.
• Barriers are not supported. BRESP indicates global observation of all writes.
• ARSIZE and AWSIZE signals are not present and assume a value of 0b100,16 bytes.
• ARBURST and AWBURST signals are not present and assume a value of INCR.
• ARLOCK and AWLOCK signals are not present.
• ARQOS and AWQOS signals are not present.
• ARLEN and AWLEN are limited to values 0 and 3.
This section contains the following subsections:
• 7.8.1 Transfer size support on page 7-317.
• 7.8.2 ACP ARUSER and AWUSER signals on page 7-317.
ACP supports the following read-request transfer size and length combinations:
• 64-byte INCR request characterized by:
— ARLEN is 0x03, 4 beats.
— ARADDR aligned to 64-byte boundary, so ARADDR[5:0] is 0b00 0000.
— ARSIZE and ARBURST assume values of 0b100 and INCR respectively.
• 16-byte INCR request characterized by:
— ARLEN is 0x00, 1 beat.
— ARADDR aligned to 16-byte boundary, so ARADDR[3:0] is 0x0.
ACP supports the following write-request transfer size and length combinations:
• 64-byte INCR request characterized by:
— AWLEN is 0x03, 4 beats.
— AWADDR aligned to 64-byte boundary, so AWADDR[5:0] is 0b00 0000.
— AWSIZE and AWBURST assume values of 0b100 and INCR respectively.
— WSTRB for all beats must be the same and either all asserted or all deasserted.
• 16-byte INCR request characterized by:
— AWLEN is 0x00, 1 beat.
— AWADDR aligned to 16-byte boundary, so AWADDR[3:0] is 0x0.
— AWSIZE and AWBURST assume values of 0b100 and INCR respectively.
— WSTRB can take any value.
Requests not meeting these restrictions cause a SLVERR response on RRESP or BRESP.
ACP transactions can cause coherent requests to the system. Therefore ACP requests must pass the Inner
and Outer Shareable attributes to the L2. To pass the Inner Shareable attribute, use ARUSER[0] and
AWUSER[0]. To pass the Outer Shareable attribute, use ARUSER[1] and AWUSER[1].
The setting of AxUSER[1:0] to 0b11 is not allowed and causes a SLVERR response.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 7-317
reserved.
Non-Confidential
Chapter 8
Generic Interrupt Controller CPU Interface
This section describes the Cortex-A72 processor implementation of the GIC CPU interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-318
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.1 About the GIC
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-319
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.2 GIC functional description
The GIC registers are memory-mapped, with a physical base address specified by
PERIPHBASE[43:18]. This input must be tied to a constant value. The PERIPHBASE value is
sampled during reset into the Configuration Base Address Register (CBAR) for each processor in the
MPCore device.
The GIC registers are grouped into three contiguous 64KB pages. These blocks include the CPU
interface, virtual interface control, and virtual CPU interface blocks.
Memory regions used for these registers must be marked as Device, nGnRnE, nGnRE, nGRE, or GRE in
the translation tables. Memory regions marked as Normal memory cannot access any of the GIC
registers, but can access caches or external memory as required.
Access to these registers must be with the single word load and store instructions. Load/store-multiple,
load/store-double, and load/store exclusive instructions result in a Data Abort exception to the requesting
processor.
The Accelerator Coherency Port (ACP) cannot access any of the GIC registers. The registers must be
accessed through one of the processors. Any access from ACP to the GIC registers goes to external
memory and no Data Abort exception is generated.
The following table shows the GIC memory map of a Cortex-A72 processor. An external standalone GIC
such as the ARM GIC-400 or other proprietary GIC might differ.
The following table shows the GIC memory map of a Cortex-A72 processor. An external standalone GIC
such as the ARM GIC-400 or other proprietary GIC might differ. It lists the address offsets for the GIC
blocks relative to the PERIPHBASE base address.
0x02000-0x0FFFF Reserved
0x11000-0x1FFFF Reserved
0x22000-0x2EFFF Reserved
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-320
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.2 GIC functional description
0x2F000-0x30FFF Alias of the Virtual CPU interface (64KB page offset alias)
0x31FFF-0x3FFFF Reserved
Related information
4.3.70 Configuration Base Address Register, EL1 on page 4-212.
4.5.24 Configuration Base Address Register on page 4-274.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-321
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.2 GIC functional description
Related information
A.5 GIC CPU interface signals on page Appx-A-535.
The processor implements a 5-bit version of the interrupt priority field, so it can support 32 interrupt
priority levels in Secure state.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-322
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.2 GIC functional description
This section describes the two GIC bypass modes. The bypass modes are:
• GICCDISABLE bypass mode on page 8-323.
• Software bypass mode on page 8-323.
When using an external standalone interrupt controller such as the ARM GIC-400 or a proprietary
interrupt controller, you must set the GICCDISABLE signal HIGH. This forces the GIC CPU interface
to operate in bypass mode as described in the ARM® Generic Interrupt Controller Architecture
Specification, GICv3.
When the GICCDISABLE signal is tied HIGH, the PERIPHBASE[43:18] value can be read in the
Configuration Base Address Register, to permit software to read the location of the GIC if it exists in the
system external to the Cortex-A72 processor.
When the GICCDISABLE signal is HIGH, you must tie these CPU interface input signals LOW:
• ICDTVALID.
• ICDTDATA.
• ICDTLAST.
• ICDTDEST.
• ICCTREADY.
When the GICCDISABLE signal is HIGH, you must leave these CPU interface output signals
unconnected:
• ICCTVALID.
• ICCTDATA.
• ICCTLAST.
• ICCTID.
• ICDTREADY.
• nVCPUMNTIRQ[N:0].
If GICCDISABLE is tied HIGH, the nVIRQ and nVFIQ inputs can be:
• Tied off to HIGH if they are not in use.
• Driven by an external GIC in the SoC.
Related information
4.5.24 Configuration Base Address Register on page 4-274.
8.2.5 nIRQ and nVFIQ inputs on page 8-323.
The Cortex-A72 processor includes the virtual interrupt signals, nVIRQ and nVFIQ. There is one
nVIRQ and one nVFIQ for each core.
• If GICCDISABLE is tied HIGH, nVIRQ and nVFIQ can be:
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-323
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.2 GIC functional description
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-324
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
Each GIC CPU interface block provides the interface for a Cortex-A72 processor that operates with the
GIC. Each CPU interface provides a programming interface for:
• Enabling the signaling of interrupt requests by the CPU interface.
• Acknowledging an interrupt.
• Indicating completion of the processing of an interrupt.
• Setting an interrupt priority mask for the core.
• Defining the preemption policy for the core.
• Determining the highest priority pending interrupt for the core.
For more information on CPU interfaces, see the ARM® Generic Interrupt Controller Architecture
Specification, GICv3.
dq See the ARM® Generic Interrupt Controller Architecture Specification, GICv3 for more information.
dr S = Secure.
ds NS = Non-secure.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-325
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
The following table shows the System register map for the CPU interface in AArch32. See the ARM®
Generic Interrupt Controller Architecture Specification, GICv3 for more information about the registers.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-326
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
Table 8-3 AArch32 GIC CPU interface System register summary (continued)
The following table shows the System register map for the GIC CPU interface in AArch64. See the
ARM® Generic Interrupt Controller Architecture Specification, GICv3 for more information about the
registers.
dt When operating in EL3, accesses to Banked EL1 registers access the copy designated by the current value of the SCR_EL3.NS. When EL3 is using AArch32, there
is no Secure EL1 interrupt regime and accesses in any Secure EL3 mode, except Monitor mode, access the Secure copy.
du Use MCRR instructions to access this register in AArch32 state.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-327
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
Table 8-4 AArch64 GIC CPU interface System register summary (continued)
This section only describes registers whose implementation is specific to the Cortex-A72 processor. All
other registers are described in the ARM® Generic Interrupt Controller Architecture Specification,
GICv3. Table 8-2 GIC CPU interface memory-mapped register summary on page 8-325 provides cross-
references to individual registers.
dv When operating in EL3, accesses to Banked EL1 registers access the copy designated by the current value of the SCR_EL3.NS. When EL3 is using AArch32, there
is no Secure EL1 interrupt regime and accesses in any Secure EL3 mode, except Monitor mode, access the Secure copy.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-328
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
Number of Preemption Minimum legal Minimum legal Active Priority View of Active Priority
group levels value of Secure value of Non- Registers Registers for Non-secure
priority bits GICC_BPR secure implemented accesses
GICC_BPR
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-329
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
[15:12] Revision Identifies the revision number for the CPU interface:
0x0 Revision 0.
[11:0] Implementer Contains the JEP106 code of the company that implemented the CPU interface. For an ARM
implementation, these values are:
Bits[11:8] = 0x4 The JEP106 continuation code of the implementer.
Bit[7] Always 0.
Bits[6:0] = 0x3B The JEP106 identity code of the implementer.
This section only describes registers whose implementation is specific to the Cortex-A72 processor. All
other registers are described in the ARM® Generic Interrupt Controller Architecture Specification,
GICv3. Table 8-4 AArch64 GIC CPU interface System register summary on page 8-327 provides cross-
references to individual registers.
Number of group priority Preemption levels Minimum legal value of Active Priority Group0 Registers
bits BPR implemented
5 32 2 ICC_AP0R0_EL1[31:0]
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-330
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
Number of group Preemption Minimum legal Minimum legal value Active Priority Group1
priority bits levels value of Secure of Non-secure BPR Registers implemented
BPR
5 32 2 3 ICC_AP1R0_EL1[31:0]
The virtual interface control registers are management registers. The processor configuration software
must ensure that these registers are accessible only by a hypervisor, or similar software.
The following table shows the register map for the virtual interface control registers. The offsets in this
table are relative to the virtual interface control registers block base address as shown in Table 8-1
Cortex-A72 processor GIC memory map on page 8-320.
All the registers in the following table are word-accessible. Registers not described in this table are
Reserved.
dw See the ARM® Generic Interrupt Controller Architecture Specification GICv3 for more information.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-331
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
The following table shows the register map for the AArch32 virtual interface System registers. The
offsets in this table are relative to the virtual interface control registers block base address as shown in
Table 8-1 Cortex-A72 processor GIC memory map on page 8-320.
All the registers in the following table are word-accessible. Registers not described in this table are
Reserved.
ICH_LR1 1 RW
ICH_LR2 2 RW
ICH_LR3 3 RW
ICH_LRC1 1 RW
ICH_LRC2 2 RW
ICH_LRC3 3 RW
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-332
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
The following table shows the register map for the AArch64 virtual interface System registers. The
offsets in this table are relative to the virtual interface control registers block base address as shown in
Table 8-1 Cortex-A72 processor GIC memory map on page 8-320.
All the registers in the following table are word-accessible. Registers not described in this table are
Reserved.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-333
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
31 29 28 26 25 6 5 0
[31:29] PRIbits Indicates the number of priority bits implemented, minus one:
0b100 Five bits of priority and 32 priority levels.
[28:26] PREbits Indicates the number of preemption bits implemented, minus one:
0b100 Five bits of preemption and 32 preemption levels.
[5:0] ListRegs Indicates the number of implemented List Registers, minus one:
0b00 0011 Four List Registers.
SEIS A3V
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-334
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
[31:29] PRIbits Indicates the number of priority bits implemented, minus one:
0b100 Five bits of priority and 32 priority levels.
[28:26] PREbits Indicates the number of preemption bits implemented, minus one:
0b100 Five bits of preemption and 32 preemption levels.
[25:23] IDbits Indicates the number of virtual interrupt identifier bits supported:
0b000 16 bits of virtual interrupt identifier.
[22] SEIS Indicates if locally generated virtual System Errors are supported:
0b0 Locally generated virtual System Errors are not supported.
[21] A3V Indicates if affinity level 3 is supported in SGI generation from System registers:
0b0 SGI generation from System registers does not support affinity level 3.
[4:0] ListRegs Indicates the number of implemented List Registers, minus one:
0b000011 Four List Registers.
dx See the ARM® Generic Interrupt Controller Architecture Specification GICv3 for more information. The System register counterparts of these registers are described
in the ARM® Generic Interrupt Controller Architecture Specification GICv3. The virtual CPU interface System registers do not have a separate encoding from the
physical CPU interface System registers but access is controlled from the appropriate system controls that the ARM® Generic Interrupt Controller Architecture
Specification GICv3 describes.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-335
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-336
reserved.
Non-Confidential
8 Generic Interrupt Controller CPU Interface
8.3 GIC programmers model
The bit assignments for the VM CPU Interface Identification Register are identical to the corresponding
register in the CPU interface.
Related information
CPU Interface Identification Register on page 8-329.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 8-337
reserved.
Non-Confidential
Chapter 9
Generic Timer
This chapter describes the Cortex-A72 processor implementation of the ARM Generic Timer.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 9-338
reserved.
Non-Confidential
9 Generic Timer
9.1 About the Generic Timer
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 9-339
reserved.
Non-Confidential
9 Generic Timer
9.2 Generic Timer functional description
Signaldy Description
Related information
2.3.1 Clocks on page 2-32.
2.3.1 Clocks on page 2-32.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 9-340
reserved.
Non-Confidential
9 Generic Timer
9.3 Generic Timer register summary
The following table shows the AArch64 Generic Timer registers. See the ARM® Architecture Reference
Manual ARMv8 for information about these registers.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 9-341
reserved.
Non-Confidential
9 Generic Timer
9.3 Generic Timer register summary
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 9-342
reserved.
Non-Confidential
Chapter 10
Debug
This section describes the Cortex-A72 processor debug registers and shows examples of how to use
them.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-343
reserved.
Non-Confidential
10 Debug
10.1 About debug
Debug
Debug host computer running suitable debugger tool
host
Protocol
for example, DSTREAM or RealView ICE
converter
Debug
Development system containing ARM processor
target
The debug host is a computer, for example a personal computer, running a software debugger such as the
DS-5 Debugger. The debug host enables you to issue high-level commands such as setting breakpoint at
a certain location, or examining the contents of a memory address.
The debug host sends messages to the debug target using an interface such as Ethernet. However, the
debug target typically implements a different interface protocol. A device such as DSTREAM is required
to convert between the two protocols.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-344
reserved.
Non-Confidential
10 Debug
10.1 About debug
The debug target is the lowest level of the system. An example of a debug target is a development system
with a test chip or a silicon part with a processor.
The debug target implements system support for the protocol converter to access the debug unit using the
AMBA Advanced Peripheral Bus (APB) slave interface.
The processor debug unit assists in debugging software running on the processor. You can use the
processor debug unit, in combination with a software debugger program, to debug:
• Application software.
• Operating systems.
• Hardware systems based on an ARM processor.
The debug unit enables you to:
• Stop program execution.
• Examine and alter process and coprocessor state.
• Examine and alter memory and input/output peripheral state.
• Restart the processor.
For self-hosted debug, the debug target runs additional debug monitor software, and uses the on-chip bus
fabric to send messages to the APB slave interface on the debug unit.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-345
reserved.
Non-Confidential
10 Debug
10.2 Debug register interfaces
System register access allows the processor to directly access certain debug registers. The external debug
interface allows both external and self-hosted debug agents to access debug registers.
Access to the debug registers is partitioned as follows:
Debug registers
This interface is System register based and memory-mapped. You can access the debug register
map using the APB slave port.
Performance monitor
This interface is System register based and memory-mapped. You can access the performance
monitor registers using the APB slave port.
Trace registers
This interface is memory-mapped.
Related information
10.10 External debug interface on page 10-381.
The processor supports six hardware breakpoints, four watchpoints, and a standard Debug
Communications Channel (DCC). Four of the breakpoints match only to Virtual Address and the other
two match against either Virtual Address or context ID, or Virtual Machine Identifier (VMID). All the
watchpoints can be linked to two breakpoints to enable a memory request to be trapped in a given
process context.
The processor has the following reset signals that affect the debug registers:
nCPUPORESET
This signal initializes the processor logic, including the debug, Embedded Trace Macrocell
(ETM), breakpoint, watchpoint logic, and performance monitors logic. This maps to a Cold
reset that covers reset of the processor logic and the integrated debug functionality.
nCORERESET
This signal resets some of the debug and performance monitor logic. This maps to a Warm reset
that covers reset of the processor logic.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-346
reserved.
Non-Confidential
10 Debug
10.2 Debug register interfaces
nPRESETDBG
This signal initializes the shared debug APB, Cross Trigger Interface (CTI), and Cross Trigger
Matrix (CTM) logic. This maps to an external debug reset that covers the resetting of the
external debug interface and has no impact on the processor functionality.
External access permission to the debug registers is subject to the conditions at the time of the access.
The following table describe the processor response to accesses through the external debug interface.
Off EDPRSR.PU is 0 Core power domain is completely off, or in a low-power state where the
Core power domain registers cannot be accessed.
Note
If debug power is off then all external debug and memory-mapped register
accesses return an error.
EDAD AllowExternalDebugAccess() External debug access disabled. When an error is returned because of the
==FALSE EDAD condition, and this is the highest priority error condition,
EDPRSR.SDAD is set to 1. Otherwise SDAD is unchanged.
SLK Memory-mapped interface only Software Lock is locked. For the external debug interface, ignore this
condition.
The following table shows an example of external register access conditions for access to a Performance
Monitors register. To determine the access permission for the register, scan the columns from left to
right. Stop at the first column whose condition is true, the entry gives the access permission of the
register and scanning stops.
- - - - RO/WI RO
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-347
reserved.
Non-Confidential
10 Debug
10.3 AArch64 debug register summary
eh See the ARM® Architecture Reference Manual ARMv8 for more information.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-348
reserved.
Non-Confidential
10 Debug
10.3 AArch64 debug register summary
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-349
reserved.
Non-Confidential
10 Debug
10.4 AArch64 debug register descriptions
Usage constraints
The accessibility to the DBGBCRn_EL1 by Exception level is:
- RW RW RW RW RW
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The DBGBCRn_EL1 is Common to Secure and Non-secure states and architecturally mapped
to:
• The AArch32 DBGBCRn registers.
• The external DBGBCRn_EL1 registers.
Attributes
See the register summary in Table 10-3 AArch64 debug register summary on page 10-348.
The debug logic reset value of a DBGBCRn_EL1 is UNKNOWN.
The following figure shows the DBGBCRn_EL1bit assignments.
31 24 23 20 19 16 15 14 13 12 9 8 5 4 3 2 1 0
HMC
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-350
reserved.
Non-Confidential
10 Debug
10.4 AArch64 debug register descriptions
[23:20] BT Breakpoint Type. This field controls the behavior of Breakpoint debug event generation. This includes the meaning
of the value held in the associated DBGBVR, indicating whether it is an instruction address match or mismatch or a
Context match. It also controls whether the breakpoint is linked to another breakpoint. The possible values are:
0b0000 Unlinked instruction address match.
0b0001 Linked instruction address match.
0b0010 Unlinked ContextIDR match.
0b0011 Linked ContextIDR match.
0b0100 Unlinked instruction address mismatch.
0b0101 Linked instruction address mismatch.
0b1000 Unlinked VMID match.
0b1001 Linked VMID match.
0b1010 Unlinked VMID + CONTEXTIDR match.
0b1011 Linked VMID + CONTEXTIDR match.
BT[2] Mismatch. This bit is ignored in AArch64 state, and in EL0 if EL1 is using AArch64. If EL1 using
AArch32 is not implemented, this bit is RES0. The address in DBGBVRn_EL1 is the address of an
instruction to be stepped.
[19:16] LBN Linked breakpoint number. For Linked address matching breakpoints, this specifies the index of the Context-
matching breakpoint linked to.
[15:14] SSC Security State Control. Determines the Security states that a breakpoint debug event for breakpoint n is generated.
This field must be interpreted along with the AMC and PMC fields.
This field is used with the Higher Mode Control (HMC), and Privileged Mode Control (PMC), fields to determine
the mode and Security states that can be tested.
See the ARM® Architecture Reference Manual ARMv8 for possible values of the fields.
[13] HMC Hyp Mode Control bit. Determines the debug perspective for deciding when a breakpoint debug event for breakpoint
n is generated. This bit must be interpreted along with the SSC and PMC fields.
This bit is used with the SSC and PMC fields to determine the mode and Security states that can be tested.
See the ARM® Architecture Reference Manual ARMv8 for possible values of the fields.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-351
reserved.
Non-Confidential
10 Debug
10.4 AArch64 debug register descriptions
[8:5] BASei Byte Address Select. Defines which halfwords a regular breakpoint matches, regardless of the instruction set and
Execution state. A debugger must program this field as follows:
0x3 Match the T32 instruction at DBGBVRn.
0xC Match the T32 instruction at DBGBVRn+2.
0xF Match the A64 or A32 instruction at DBGBVRn, or context match.
[2:1] PMC Privileged Mode Control. Determines the Exception level or levels that a breakpoint debug event for breakpoint n is
generated. This field must be interpreted along with the SSC and AMC fields.
This field is used with the SSC and HMC fields to determine the mode and Security states that can be tested.
See the ARM® Architecture Reference Manual ARMv8 for possible values of the fields.
Note
Bits[2:1] has no effect for accesses made in Hyp mode.
To access the DBGBCRn_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, DBGBCRn_EL1; Read Debug Breakpoint Control Register n
MSR DBGBCRn_EL1, <Xt>; Write Debug Breakpoint Control Register n
To access the DBGBCRn in AArch32 state, read or write the CP14 register with:
MRC p14, 0, <Rt>, c0, cn, 4; Read Debug Breakpoint Control Register n
MCR p14, 0, <Rt>, c0, cn, 4; Write Debug Breakpoint Control Register n
The DBGBCRn_EL1 can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x4n8.
ei See the ARM® Architecture Reference Manual ARMv8 for more information on how the BAS field is interpreted by hardware.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-352
reserved.
Non-Confidential
10 Debug
10.4 AArch64 debug register descriptions
Purpose Holds control information for a watchpoint. Each DBGWCR_EL1 is associated with a
DBGWVR_EL1 to form a Watchpoint Register Pair (WRP). DBGWCRn_EL1 is
associated with DBGWVRn_EL1 to form WRPn.
Note
The range of n for DBGBCRn_EL1is 0 to 3.
- RW RW RW RW RW
Table 11-1 External register access conditions on page 11-398 describes the access
conditions.
Configurations The DBGWCRn_EL1 is Common to Secure and Non-secure states and architecturally
mapped to:
• The AArch32 DBGWCRn registers.
• The external DBGWCRn_EL1 registers.
Attributes See the register summary in Table 10-3 AArch64 debug register summary
on page 10-348.
The debug logic reset value of a DBGWCR_EL1 is UNKNOWN.
WT HMC
[28:24] MASK Address range mask. The processor supports watchpoint address range masking. This field can set a watchpoint on a
range of addresses by masking lower order address bits out of the watchpoint comparison. The value of this field is
the number of low order bits of the address that are masked off, except that values of 1 and 2 are reserved.
See the ARM® Architecture Reference Manual ARMv8 for the meanings of watchpoint address range mask values.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-353
reserved.
Non-Confidential
10 Debug
10.4 AArch64 debug register descriptions
[20] WT Watchpoint Type. This bit is set to 1 to link the watchpoint to a breakpoint to create a linked watchpoint that requires
both data address matching and Context matching:
0 Unlinked data address match.
1 Linked data address match.
When this bit is set to 1 the linked BRP number field indicates the BRP that this WRP is linked. See the ARM®
Architecture Reference Manual ARMv8 for more information.
[19:16] LBN Linked Breakpoint Number. If this watchpoint is programmed with the watchpoint type set to linked, then this field
must be programmed with the number of the breakpoint that defines the Context match to be combined with data
address comparison. Otherwise, this field must be programmed to 0b0000.
Reading this register returns an UNKNOWN value for this field, and the generation of Watchpoint debug events is
UNPREDICTABLE, if either:
• This watchpoint does not have linking enabled and this field is not programmed to 0x0.
• This watchpoint has linking enabled and the breakpoint indicated by this field does not support Context
matching, is not programmed for Context matching, or does not exist.
See the ARM® Architecture Reference Manual ARMv8 for more information.
[15:14] SSC Security State Control. This field enables the watchpoint to be conditional on the Security state of the processor.
This field is used with the Hyp Mode Control (HMC) and Privileged Access Control (PAC) fields.
See the ARM® Architecture Reference Manual ARMv8 for possible values of the fields, and the access modes and
Security states that can be tested.
[13] HMC Hyp Mode Control. This field is used with the Security State Control (SSC) and PAC fields. The value of
DBGWCR.PAC has no effect for accesses made in Hyp mode.
See the ARM® Architecture Reference Manual ARMv8 for possible values of the fields, and the access modes and
Security states that can be tested.
[12:5] BAS Byte Address Select. The processor implements an 8-bit Byte address select field, DBGWCR[12:5].
A DBGWVR is programmed with a word-aligned address. This field enables the watchpoint to hit only if certain
bytes of the addressed word are accessed. The watchpoint hits if an access hits any byte being watched, even if:
• The access size is larger than the size of the region being watched.
• The access is unaligned, and the base address of the access is not in the same word of memory as the address in
the DBGWVR.
• The access size is smaller than the size of region being watched.
See the ARM® Architecture Reference Manual ARMv8 for more information.
[4:3] LSC Load/store access control. This field enables watchpoint matching for the type of access. The possible values are:
0b00 Reserved.
0b01 Match on any load, Load-Exclusive, or swap.
0b10 Match on any store, Store-Exclusive, or swap.
0b11 Match on all type of access.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-354
reserved.
Non-Confidential
10 Debug
10.4 AArch64 debug register descriptions
[2:1] PAC Privileged Access Control. This field enables watchpoint matching conditional on the mode of the processor. This
field is used with the SSC and PAC fields.
See the ARM® Architecture Reference Manual ARMv8 for possible values of the fields, and the access modes and
Security states that can be tested.
Note
• For all cases the match refers to the privilege level of the access, not the mode of the processor. For example, if
the watchpoint is configured to match only accesses at PL1 or higher, and the processor executes an LDRT
instruction in a PL1 mode, the watchpoint does not match.
• Permitted values of this field are not identical to those for the DBGBCR. In the DBGBCR the value 0b00
permitted.
To access the DBGWCRn in AArch32 state, read or write the CP14 register with:
MRC p14, 0, <Rt>, c0, cn, 7; Read Debug Watchpoint Control Register n
MCR p14, 0, <Rt>, c0, cn, 7; Write Debug Watchpoint Control Register n
To access the DBGWCRn_EL1 in AArch64 state, read or write the register with:
MRS <Xt>, DBGWCRn_EL1; Read Debug Watchpoint Control Register n
MSR DBGWCRn_EL1, <Xt>; Write Debug Watchpoint Control Register n
The DBGWCRn_EL1 can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x8n8. The range of n for DBGWCRn_EL1 is 0 to 3.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-355
reserved.
Non-Confidential
10 Debug
10.5 AArch32 debug register summary
ej See the ARM® Architecture Reference Manual ARMv8 for more information.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-356
reserved.
Non-Confidential
10 Debug
10.5 AArch32 debug register summary
- - 0 c1 - DBGDRAR[63:0] 64-bit
0x300 c1 0 c0 4 DBGOSLAR WO 32-bit Debug OS Lock Access Register ej
- - 0 c2 - DBGDSAR[63:0]el 64-bit
ek Previously returned information about the address of the instruction that accessed a watchpoint address. This register is now deprecated and is RES0.
el Previously defined the offset from the base address defined in DBGDRAR of the physical base address of the debug registers for the processor. This register is now
deprecated and RES0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-357
reserved.
Non-Confidential
10 Debug
10.6 AArch32 debug register descriptions
RO RO RO RO RO RO
RES1 SE_imp
nSUHD_imp RES0
[31:28] WRPs The number of Watchpoint Register Pairs (WRPs) implemented. The number of implemented WRPs is one
more than the value of this field. The value is:
0x3 The processor implements 4 WRPs.
[27:24] BRPs The number of Breakpoint Register Pairs (BRPs) implemented. The number of implemented BRPs is one
more than the value of this field. The value is:
0x5 The processor implements 6 BRPs.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-358
reserved.
Non-Confidential
10 Debug
10.6 AArch32 debug register descriptions
[23:20] CTX_CMPs The number of BRPs that can be used for Context matching. This is one more than the value of this field. The
value is:
0x1 The processor implements two Context matching breakpoints, breakpoints 4 and 5.
[14] nSUHD_imp Secure User Halting Debug not implemented bit. The value is:
1 The processor does not implement Secure User Halting Debug.
To access the DBGDIDR in AArch32 state, read or write the CP14 register with:
MRC p14, 0, <Rt>, c0, c0, 0; Read Debug ID Register
- RO RO RO RO RO
Configurations
The DBGDEVID1 is Common to Secure and Non-secure states.
Attributes
See the register summary in Table 10-6 AArch32 debug register summary on page 10-356.
The following figure shows the DBGDEVID1 bit assignments.
31 4 3 0
RES0 PCSROffset
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-359
reserved.
Non-Confidential
10 Debug
10.6 AArch32 debug register descriptions
[3:0] PCSROffset Indicates the offset applied to PC samples returned by reads of EDPCSR. The value is:
0x2 EDPCSR samples have no offset applied and do not sample the instruction set state in the AArch32 state.
To access the DBGDEVID1 in AArch32 state, read the CP14 register with:
MRC p14, 0, <Rt>, c7, c1, 47 Read Debug Device ID Register 1
- RO RO RO RO RO
BPAddrMask WPAddrMask
[31:28] CIDMask Specifies the level of support for the Context ID matching breakpoint masking capability. This value is:
0x0 Context ID masking is not implemented.
[27:24] AuxRegs Specifies support for the Debug External Auxiliary Control Register. This value is:
0x1 The processor supports Debug External Auxiliary Control Register.
[23:20] DoubleLock Specifies support for the Debug OS Double Lock Register. This value is:
0x1 The processor supports Debug OS Double Lock Register.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-360
reserved.
Non-Confidential
10 Debug
10.6 AArch32 debug register descriptions
[15:12] VectorCatch Defines the form of the vector catch event implemented. This value is:
0x0 The processor implements address matching form of vector catch.
[11:8] BPAddrMask Indicates the level of support for the Immediate Virtual Address (IVA) matching breakpoint masking
capability. This value is:
0xF Breakpoint address masking not implemented. DBGBCRn[28:24] are UNK/SBZP.
[7:4] WPAddrMask Indicates the level of support for the DVA matching watchpoint masking capability. This value is:
0x1 Watchpoint address mask implemented.
[3:0] PCSample Indicates the level of support for Program Counter sampling using debug registers 40 and 41. This value is:
0x3 EDPCSR, EDCIDSR and EDVIDSR are implemented as debug registers 40, 41, and 42.
To access the DBGDEVID in AArch32 state, read the CP14 register with:
MRC p14, 0, <Rt>, c7, c2, 7; Read Debug Device ID Register 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-361
reserved.
Non-Confidential
10 Debug
10.7 Memory-mapped register summary
0x000-0x01C - - - Reserved
0x028-0x02C - - - Reserved
0x030 EDWARlo RO 32-bit External Debug Watchpoint Address Register, low word em
0x034 EDWARhi RO 32-bit External Debug Watchpoint Address Register, high word em
0x038-0x07C - - - Reserved
0x0B0-0x2FC - - - Reserved
0x304-0x30C - - - Reserved
0x318-0x3FC - - - Reserved
em See the ARM® Architecture Reference Manual ARMv8 for more information.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-362
reserved.
Non-Confidential
10 Debug
10.7 Memory-mapped register summary
0x45C-0x7FC - - - Reserved
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-363
reserved.
Non-Confidential
10 Debug
10.7 Memory-mapped register summary
0x83C-0xCFC - - - Reserved
0xD04-0xD1C - - - Reserved
0xD20 ID_AA64PFR0_EL1[31:0] RO 32-bit 4.3.18 AArch64 Processor Feature Register 0, EL1 on page 4-111
0xD24 ID_AA64PFR0_EL1[63:32] RO 32-bit
0xD28 ID_AA64DFR0_EL1[31:0] RO 32-bit 4.3.19 AArch64 Debug Feature Register 0, EL1 on page 4-113
0xD2C ID_AA64DFR0_EL1[63:32] RO 32-bit
0xD30 ID_AA64ISAR0_EL1[31:0] RO 32-bit 4.3.20 AArch64 Instruction Set Attribute Register 0, EL1
on page 4-114
0xD34 ID_AA64ISAR0_EL1[63:32] RO 32-bit
0xD38 ID_AA64MMFR0_EL1[31:0] RO 32-bit 4.3.21 AArch64 Memory Model Feature Register 0, EL1
on page 4-115
0xD3C ID_AA64MMFR0_EL1[63:32] RO 32-bit
0xD40 ID_AA64PFR1_EL1[31:0] RO 32-bit AArch64 Processor Feature Register 1 low word, RES0
0xD44 ID_AA64PFR1_EL1[63:32] RO 32-bit AArch64 Processor Feature Register 1 high word, RES0
0xD48 ID_AA64DFR1_EL1[31:0] RO 32-bit AArch64 Debug Feature Register 1 low word, RES0
0xD4C ID_AA64DFR1_EL1[63:32] RO 32-bit AArch64 Debug Feature Register 1 high word, RES0
0xD50 ID_AA64ISAR1_EL1[31:0] RO 32-bit AArch64 Instruction Set Attribute Register 1 low word, RES0
0xD54 ID_AA64ISAR1_EL1[63:32] RO 32-bit AArch64 Instruction Set Attribute Register 1 high word, RES0
0xD58 ID_AA64MMFR1_EL1[31:0] RO 32-bit AArch64 Memory Model Feature Register 1 low word, RES0
0xD5C ID_AA64MMFR1_EL1[63:32] RO 32-bit AArch64 Memory Model Feature Register 1 high word, RES0
0xD60-0xEF4 - - - Reserved
0xEF8 EDITOCTRL WO 32-bit 10.8.3 External Debug Integration Output Control Register
on page 10-368
0xEFC EDITISR RO 32-bit 10.8.4 External Debug Integration Input Status Register
on page 10-369
0xF00 EDITCTRL RW 32-bit 10.8.5 External Debug Integration Mode Control Register
on page 10-370
0xF04-0xF9C - - - Reserved
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-364
reserved.
Non-Confidential
10 Debug
10.7 Memory-mapped register summary
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-365
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
Table 10-1 External register access conditions on page 10-347 describes the access
conditions.
Configurations The EDRCR is in the Core power domain.
Attributes See the register summary in Table 10-10 Memory-mapped debug register summary
on page 10-362.
RES0 RES0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-366
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
[3] CSPA Clear Sticky Pipeline Advance. This bit is used to clear the EDSCR.PipeAdv bit to 0. The possible values are:
0 No action.
1 Clear the EDSCR.PipeAdv bit to 0.
[2] CSE Clear Sticky Error. Used to clear the EDSCR cumulative error bits to 0. The possible values:
0 No action.
1 Clear the EDSCR.{TXU, RXO, ERR} bits, and, if the processor is in Debug state, the EDSCR.ITO bit, to 0.
- - - - RO RW
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The EDACR is in the Debug power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDACR bit assignments.
31 4 3 2 1 0
RES0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-367
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
[3] Override idle Override idle Acknowledgment signal to processor. The possible values are:
Acknowledgment
0 Processor waits for the debug register access logic to go idle before it enters the idle state.
This is the reset value.
1 Processor does not wait for the debug register access logic to go idle before it enters the idle
state.
[2] Core debug reset status Read-only status bit that reflects the current reset state of the debug logic in the processor power
domain:
0 Debug logic in processor power domain is not in reset state.
1 Debug logic in processor power domain is currently in reset state.
[1] Debug powerdown Debug powerdown control bit. If debug is enabled and this bit is:
override
0 Error response is generated for APB accesses to the processor domain debug registers when
the processor is powered down or OS Double Lock is set. This is the reset value.
1 APB accesses to the processor domain debug registers proceed normally when the processor
is powered down or OS Double Lock is set.
[0] Debug clock stop control Debug clock control bit. If debug is enabled and this bit is:
0 Does not prevent the clock generator from stopping the processor clock. This is the reset
value.
1 Prevents the clock generator from stopping the processor clock.
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
EDITOCTRL is in the Core power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDITOCTRL bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-368
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
31 3 2 1 0
Reserved
nPMUIRQ
CTI PMUIRQ
CTI DBGTRIGGER
[2] nPMUIRQ Controls the nPMUIRQ output. When this bit is set to 1, the corresponding nPMUIRQ signal goes
LOW. The reset value is 0.
[1] CTI PMUIRQ Controls the internal signal equivalent to PMUIRQ that goes from the PMU to the CTI. The reset value
is 0.
[0] CTI DBGTRIGGER Controls the internal signal equivalent to DBGTRIGGER that goes from the Debug unit to the CTI.
The reset value is 0.
Related information
10.8.5 External Debug Integration Mode Control Register on page 10-370.
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
EDITISR is in the Core power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDITISR bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-369
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
31 3 2 1 0
Reserved
CTI DBGRESTART
CTI EDBGRQ
EDBGRQ
[2] CTI DBGRESTART CTI debug restart bit. This bit reads the state of the debug restart input coming from the CTI into the
debug unit.
[1] CTI EDBGRQ CTI debug request bit. This bit reads the state of the debug request input coming from the CTI into the
debug unit.
[0] EDBGRQ This bit reads the state of the EDBGRQ input.
Related information
10.8.5 External Debug Integration Mode Control Register on page 10-370.
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
EDITCTRL is in the Core power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDITCTRL bit assignments.
31 1 0
Reserved
IME
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-370
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
[0] IME When IME is set to 1, the device reverts to an integration mode to enable integration testing or topology detection:
0 Normal operation.
1 Integration mode enabled.
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The EDDEVID1 is in the Debug power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDDEVID1 bit assignments.
31 4 3 0
Reserved PCSROffset
[3:0] PCSROffset Indicates the offset applied to PC samples returned by reads of EDPCSR. For ARMv8 the value is:
0x2 EDPCSR samples have no offset applied and do not sample the instruction set state in AArch32 state.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-371
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
Usage constraints
Accessible through the internal memory-mapped interface and the external debug interface. The
access conditions are:
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The EDDEVID is in the Debug power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDDEVID bit assignments.
31 28 27 24 23 4 3 0
[27:24] AuxRegs Indicates support for auxiliary registers. The possible values are:
0x1 External Debug Auxiliary Control Register, EDACR, is implemented.
[3:0] PC Sample Indicates the level of sample-based profiling support using external debug registers 40 through 43. Valid values
of this field in v8-A are:
0x3 EDPCSR, EDCIDSR, and EDVIDSR are implemented.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-372
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
Table 10-18 Summary of the External Debug Peripheral Identification Registers (continued)
Only bits[7:0] of each External Debug Peripheral ID Register are used, with bits[31:8] reserved.
Together, the eight External Debug Peripheral ID Registers define a single 64-bit Peripheral ID.
The External Debug Peripheral ID registers are:
• External Debug Peripheral Identification Register 0 on page 10-373.
• External Debug Peripheral Identification Register 1 on page 10-373.
• External Debug Peripheral Identification Register 2 on page 10-374.
• External Debug Peripheral Identification Register 3 on page 10-375.
• External Debug Peripheral Identification Register 4 on page 10-376.
• External Debug Peripheral Identification Register 5-7 on page 10-376.
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The EDPIDR0 is in the Debug power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDPIDR0 bit assignments.
31 8 7 0
Reserved Part_0
[7:0] Part_0 0x08 Least significant byte of the debug part number.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-373
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
Purpose
Provides information to identify an external debug component.
Usage constraints
Accessible through the internal memory-mapped interface and the external debug interface. The
access conditions are:
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The EDPIDR1 is in the Debug power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDPIDR1 bit assignments.
31 8 7 4 3 0
[7:4] DES_0 0xB ARM Limited. This is the least significant nibble of JEP106 ID code.
[3:0] Part_1 0xD Most significant nibble of the debug part number.
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The EDPIDR2 is in the Debug power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDPIDR2 bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-374
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
31 8 7 4 3 2 0
JEDEC
[2:0] DES_1 0b011 ARM Limited. This is the most significant nibble of JEP106 ID code.
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The EDPIDR3 is in the Debug power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDPIDR3 bit assignments.
31 8 7 4 3 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-375
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The EDPIDR4 is in the Debug power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDPIDR4 bit assignments.
31 8 7 4 3 0
[7:4] Size 0x0 Size of the component. Log2 the number of 4KB pages from the start of the component to the end of the
component ID registers.
[3:0] DES_2 0x4 ARM Limited. This is the least significant nibble JEP106 continuation code.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-376
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
The External Debug Component Identification Registers identify Debug as an ARM Debug Interface v5
component. The External Debug Component ID registers are:
• External Debug Component Identification Register 0 on page 10-377.
• External Debug Component Identification Register 1 on page 10-377.
• External Debug Component Identification Register 2 on page 10-378.
• External Debug Component Identification Register 3 on page 10-379.
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The EDCIDR0 is in the Debug power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDCIDR0 bit assignments.
31 8 7 0
Reserved PRMBL_0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-377
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
Purpose
Provides information to identify an external debug component.
Usage constraints
Accessible through the internal memory-mapped interface and the external debug interface. The
access conditions are:
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The EDCIDR1 is in the Debug power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDCIDR1 bit assignments.
31 8 7 4 3 0
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The EDCIDR2 is in the Debug power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDCIDR2 bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-378
reserved.
Non-Confidential
10 Debug
10.8 Memory-mapped register descriptions
31 8 7 0
Reserved PRMBL_2
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The EDCIDR3 is in the Debug power domain.
Attributes
See 10.7 Memory-mapped register summary on page 10-362.
The following figure shows the EDCIDR3 bit assignments.
31 8 7 0
Reserved PRMBL_3
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-379
reserved.
Non-Confidential
10 Debug
10.9 Debug events
Debug OS Lock is set by the powerup reset, nCPUPORESET. For normal behavior of debug events and
debug register accesses, Debug OS Lock must be cleared. For more information, see the ARM®
Architecture Reference Manual ARMv8.
Related information
2.3.2 Resets on page 2-36.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-380
reserved.
Non-Confidential
10 Debug
10.10 External debug interface
Processor
PCLKDBG
DBGEN
PCLKENDBG
Authentication SPIDEN
PSELDBG
interface NIDEN
PADDRDBG
SPNIDEN
PRDATADBG Debug slave
COMMTX PWDATADBG port, APBv3
DCC
COMMRX PENABLEDBG
handshake
nCOMMIRQ PREADYDBG
PSLVERRDBG
Debug state DBGACK PWRITEDBG
entry EDBGRQ
DBGPWRDUP
Power DBGROMADDR
controller DBGPWRUPREQ Configuration
interface DBGROMADDRV
DBGNOPWRDWN
Reset nPRESETDBG
controller
interface DBGRSTREQ
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-381
reserved.
Non-Confidential
10 Debug
10.10 External debug interface
DBGPWRDUP
You must set the DBGPWRDUP signal LOW before removing power to the core domain. After power
is restored to the core domain, the DBGPWRDUP signal must be asserted HIGH. The EDPRSR.PU bit
reflects the value of this DBGPWRDUP signal.
Note
DBGPWRDUP must be tied HIGH if the particular implementation does not support separate core and
debug power domains.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-382
reserved.
Non-Confidential
10 Debug
10.10 External debug interface
cache entries is not guaranteed. Similarly, the contents of the L2 snoop tag RAMs might be observed
following reset of the L2 if DBGL1RSTDISABLE is asserted before resetting the L2.
You must not use the DBGL1RSTDISABLE signal to disable automatic hardware-controlled
invalidation of the L1 data cache or the L2 snoop tag RAMs in normal processor powerup sequences.
This is because synchronization of the L1 data cache invalidation sequence with the duplicate L1 tags in
the Level 2 Memory System is not guaranteed.
The DBGL1RSTDISABLE signal applies to all processors in the multiprocessor. Each processor
samples the signal when nCORERESET or nCPUPORESET is asserted. The L2 samples the signal
when nL2RESET is asserted.
If the functionality offered by the DBGL1RSTDISABLE input signal is not required, the input must be
tied to LOW.
The NIDEN, DBGEN, SPIDEN, and SPNIDEN input signals are either tied off to some fixed value or
controlled by some external device.
If software running on the processor has control over an external device that drives the authentication
signals, it must make the change using a safe sequence:
1. Execute an implementation-specific sequence of instructions to change the signal value. For example,
this might be a single STR instruction that writes certain value to a control register in a system
peripheral.
2. If the prior step involves any memory operation, issue a DSB instruction.
3. Poll the DBGAUTHSTATUS_EL1 register to check whether the processor has already detected the
changed value of these signals. This is required because the system might not issue the signal change
to the processor until several cycles after the DSB instruction completes.
4. Issue an ISB instruction or exception entry or exception return.
The software cannot perform debug or analysis operations that depend on the new value of the
authentication signals until this procedure is complete. The same rules apply when the debugger has
control of the processor through the Instruction Transfer Register, EDITR, while in Debug state. The
relevant combinations of the DBGEN, NIDEN, SPIDEN, and SPNIDEN values can be determined by
polling DBGAUTHSTATUS_EL1.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-383
reserved.
Non-Confidential
10 Debug
10.11 ROM table
The interface to the ROM table entries is the APB slave port.
Related information
10.10 External debug interface on page 10-381.
The following table shows the offsets from the physical base address of the ROM table.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-384
reserved.
Non-Confidential
10 Debug
10.11 ROM table
0xFD0 ROMPIDR4 RO ROM table Debug Peripheral Identification Register 4 on page 10-390
0xFD4 ROMPIDR5 RO ROM table Debug Peripheral Identification Register 5-7 on page 10-391
0xFD8 ROMPIDR6 RO
0xFDC ROMPIDR7 RO
0xFE0 ROMPIDR0 RO ROM table Debug Peripheral Identification Register 0 on page 10-387
0xFE4 ROMPIDR1 RO ROM table Debug Peripheral Identification Register 1 on page 10-388
0xFE8 ROMPIDR2 RO ROM table Debug Peripheral Identification Register 2 on page 10-389
0xFEC ROMPIDR3 RO ROM table Debug Peripheral Identification Register 3 on page 10-389
0xFF0 ROMCIDR0 RO ROM table Debug Component Identification Register 0 on page 10-391
0xFF4 ROMCIDR1 RO ROM table Debug Component Identification Register 1 on page 10-392
0xFF8 ROMCIDR2 RO ROM table Debug Component Identification Register 2 on page 10-393
0xFFC ROMCIDR3 RO ROM table Debug Component Identification Register 3 on page 10-393
This section describes the ROM table registers. 10.11.2 ROM table register summary on page 10-384
provides cross-references to individual registers.
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access
conditions.
Configurations The ROMENTRYn is Common to Secure and Non-secure states.
Attributes See the register summary in Table 10-30 ROM table registers on page 10-384.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-385
reserved.
Non-Confidential
10 Debug
10.11 ROM table
31 12 11 2 1 0
Format
Component present
[1] Format Format of the ROM table entry. The value for all ROMENTRY registers is:
0 End marker.
1 32-bit format.
The Physical Address of a debug component is determined by shifting the address offset 12 places to the
left and adding the result to Physical Address of processor ROM table.
The following table shows the offset values for all ROMENTRY values. If a processor is not
implemented, the ROMENTRY registers for its debug, CTI, PMU, and ETM components are
0x00000000.
eo core 0 is always present. The component entries for core 1, 2, and 3 depend on your configuration.
ep If the component is present.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-386
reserved.
Non-Confidential
10 Debug
10.11 ROM table
Table 10-33 Summary of the ROM table Debug Peripheral Identification Registers
Only bits[7:0] of each ROM table Debug Peripheral ID Register are used, with bits[31:8] reserved.
Together, the eight ROM table Debug Peripheral ID Registers define a single 64-bit Peripheral ID.
The ROM table Debug Peripheral ID registers are:
• ROM table Debug Peripheral Identification Register 0 on page 10-387.
• ROM table Debug Peripheral Identification Register 1 on page 10-388.
• ROM table Debug Peripheral Identification Register 2 on page 10-389.
• ROM table Debug Peripheral Identification Register 3 on page 10-389.
• ROM table Debug Peripheral Identification Register 4 on page 10-390.
• ROM table Debug Peripheral Identification Register 5-7 on page 10-391.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-387
reserved.
Non-Confidential
10 Debug
10.11 ROM table
Usage constraints
Accessible through the internal memory-mapped interface and the external debug interface. The
access conditions are:
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The ROMPIDR0 is in the Debug power domain.
Attributes
See the register summary in Table 10-30 ROM table registers on page 10-384.
The following figure shows the ROMPIDR0 bit assignments.
31 8 7 0
Reserved Part_0
[7:0] Part_0 0xA4 Least significant byte of the ROM table part number.
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The ROMPIDR1 is in the Debug power domain.
Attributes
See the register summary in Table 10-30 ROM table registers on page 10-384.
The following figure shows the ROMPIDR1 bit assignments.
31 8 7 4 3 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-388
reserved.
Non-Confidential
10 Debug
10.11 ROM table
[7:4] DES_0 0xB Least significant nibble of JEP106 ID code. For ARM Limited.
[3:0] Part_1 0x4 Most significant nibble of the ROM table part number.
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The ROMPIDR2 is in the Debug power domain.
Attributes
See the register summary in Table 10-30 ROM table registers on page 10-384.
The following figure shows the ROMPIDR2 bit assignments.
31 8 7 4 3 2 0
JEDEC
[2:0] DES_1 0b011 Designer, most significant bits of JEP106 ID code. For ARM Limited.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-389
reserved.
Non-Confidential
10 Debug
10.11 ROM table
Purpose
Provides information to identify an external debug component.
Usage constraints
Accessible through the internal memory-mapped interface and the external debug interface. The
access conditions are:
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The ROMPIDR3 is in the Debug power domain.
Attributes
See the register summary in Table 10-30 ROM table registers on page 10-384.
The following figure shows the ROMPIDR3 bit assignments.
31 8 7 4 3 0
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access
conditions.
Configurations The ROMPIDR4 is in the Debug power domain.
Attributes See the register summary in Table 10-30 ROM table registers on page 10-384.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-390
reserved.
Non-Confidential
10 Debug
10.11 ROM table
31 8 7 4 3 0
[7:4] Size 0x0 Size of the component. Log2 the number of 4KB pages from the start of the component to the end of the
component ID registers.
[3:0] DES_2 0x4 Designer, JEP106 continuation code, least significant nibble. For ARM Limited.
Table 10-39 Summary of the ROM table Debug Component Identification registers
The ROM table Debug Component Identification Registers identify Debug as an ARM Debug Interface
v5 component. The ROM table Component ID registers are:
• ROM table Debug Component Identification Register 0 on page 10-391.
• ROM table Debug Component Identification Register 1 on page 10-392.
• ROM table Debug Component Identification Register 2 on page 10-393.
• ROM table Debug Component Identification Register 3 on page 10-393.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-391
reserved.
Non-Confidential
10 Debug
10.11 ROM table
Usage constraints
Accessible through the internal memory-mapped interface and the external debug interface. The
access conditions are:
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The ROMCIDR0 is in the Debug power domain.
Attributes
See the register summary in Table 10-30 ROM table registers on page 10-384.
The following figure shows the ROMCIDR0 bit assignments.
31 8 7 0
Reserved PRMBL_0
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access
conditions.
Configurations The ROMCIDR1 is in the Debug power domain.
Attributes See the register summary in Table 10-30 ROM table registers on page 10-384.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-392
reserved.
Non-Confidential
10 Debug
10.11 ROM table
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access
conditions.
Configurations The ROMCIDR2 is in the Debug power domain.
Attributes See the register summary in Table 10-30 ROM table registers on page 10-384.
Reserved PRMBL_2
- - - - - RO
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-393
reserved.
Non-Confidential
10 Debug
10.11 ROM table
Configurations
The ROMCIDR3 is in the Debug power domain.
Attributes
See the register summary in Table 10-30 ROM table registers on page 10-384.
The following figure shows the ROMCIDR3 bit assignments.
31 8 7 0
Reserved PRMBL_3
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 10-394
reserved.
Non-Confidential
Chapter 11
Performance Monitor Unit
This section describes the Performance Monitor Unit (PMU) and the registers that it uses.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-395
reserved.
Non-Confidential
11 Performance Monitor Unit
11.1 About the PMU
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-396
reserved.
Non-Confidential
11 Performance Monitor Unit
11.2 PMU functional description
CLK
Cycle counter
Count Enable
System control, Set/Clear and
processor, and Event Performance
APB interface Selection counter
registers
Performance
counter
Interrupt and
Performance
overflow nPMUIRQ
counter
registers
Performance
counter
Performance
Events from counter
other units
Performance
counter
Events from all other units from across the design are provided to the PMU.
You can program the PMU registers using the System registers or the external APB interface.
11.2.3 Counters
The Cortex-A72 processor has six counters. Each counter can count any of the events available in the
processor.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-397
reserved.
Non-Confidential
11 Performance Monitor Unit
11.2 PMU functional description
The Cortex-A72 processor supports access to the Performance Monitor registers from the System
registers and a memory-mapped interface. External access to the Performance Monitor registers is also
provided with the APB slave interface.
Related information
10.10 External debug interface on page 10-381.
External access permission to the PMU registers is subject to the conditions at the time of the access. The
following table describes the processor response to accesses through the external debug and memory-
mapped interfaces.
Off EDPRSR.PU is 0 Core power domain is completely off, or in a low-power state where the
Core power domain registers cannot be accessed.
Note
If debug power is off then all external debug and memory-mapped register
accesses return an error.
EPMAD AllowExternalPMUAccess() == External performance monitors access disabled. When an error is returned
FALSE because of the EPMAD condition, and this is the highest priority error
condition, EDPRSR.SPMAD is set to 1. Otherwise SPMAD is unchanged.
SLK Memory-mapped interface only Software Lock is locked. For the external debug interface, ignore this
condition.
The following table shows an example of external register access conditions for access to a Performance
Monitors register. To determine the access permission for the register, scan the columns from left to
right. Stop at the first column whose condition is true, the entry gives the register’s access permission
and scanning stops.
- - - - RO/WI RO
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-398
reserved.
Non-Confidential
11 Performance Monitor Unit
11.3 AArch64 PMU register summary
The following table shows the PMU registers in AArch64 state. It also shows the offset address for the
registers that are accessible from the internal memory-mapped interface or the external debug interface.
0x010 PMEVCNTR2_EL0
0x018 PMEVCNTR3_EL0
0x020 PMEVCNTR4_EL0
0x028 PMEVCNTR5_EL0
eq See the ARM® Architecture Reference Manual ARMv8 for more information.
er The CP15 encoding provides access to PMCCFILTR_EL0 only when PMSELR_EL0.SEL==31.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-399
reserved.
Non-Confidential
11 Performance Monitor Unit
11.3 AArch64 PMU register summary
0x408 PMEVTYPER2_EL0
0x40C PMEVTYPER3_EL0
0x410 PMEVTYPER4_EL0
0x414 PMEVTYPER5_EL0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-400
reserved.
Non-Confidential
11 Performance Monitor Unit
11.4 AArch64 PMU register descriptions
Config RW RW RW RW RW
Table 11-1 External register access conditions on page 11-398 describes the access
conditions.
Configurations The PMCR_EL0 is Common to Secure and Non-secure states and architecturally
mapped to:
• The AArch32 PMCR register.
• The external PMCR_EL0 register.
Attributes See the register summary in Table 11-3 PMU register summary in AArch64 state
on page 11-399.
The following figure shows the PMCR_EL0 bit assignments for a System register access.
31 24 23 16 15 11 10 7 6 5 4 3 2 1 0
The following table shows the PMCR_EL0 bit assignments for a System register access.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-401
reserved.
Non-Confidential
11 Performance Monitor Unit
11.4 AArch64 PMU register descriptions
[6] LC Long cycle count enable. Selects which PMCCNTR_EL0 bit generates an overflow recorded in PMOVSR[31]:
0 Overflow on increment that changes PMCCNTR_EL0[31] from 1 to 0.
1 Overflow on increment that changes PMCCNTR_EL0[63] from 1 to 0.
[4] X Export enable. This bit permits events to be exported to another debug device, such as a trace macrocell, over an
event bus:
0 Export of events is disabled.
1 Export of events is enabled.
This bit is read/write and does not affect the generation of Performance Monitors interrupts, that can be
implemented as a signal exported from the processor to an interrupt controller.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-402
reserved.
Non-Confidential
11 Performance Monitor Unit
11.4 AArch64 PMU register descriptions
Note
Resetting PMCCNTR does not clear the PMCCNTR_EL0 overflow bit to 0. See the ARM® Architecture Reference
Manual ARMv8 for more information.
In Non-secure modes other than Hyp mode, a write of 1 to this bit does not reset event counters that the
HDCR.HPMN field reserves for Hyp mode use. See 4.5.12 Hyp Debug Control Register on page 4-261.
In Secure state and Hyp mode, a write of 1 to this bit resets all the event counters.
[0] E Enable bit. This bit does not disable or enable, counting by event counters reserved for Hyp mode by
HDCR.HPMN. It also does not suppress the generation of performance monitor overflow interrupt requests by
those counters:
0 All counters, including PMCCNTR_EL0, are disabled. This is the reset value.
1 All counters are enabled.
To access the PMCR_EL0 in AArch64 state, read or write the register with:
MRS <Xt>, PMCR_EL0; Read Performance Monitors Control Register
MSR PMCR_EL0, <Xt>; Write Performance Monitors Control Register
To access the PMCR in AArch32 state, read or write the CP15 registers with:
MRC p15, 0, <Rt>, c9, c12, 0; Read Performance Monitors Control Register
MCR p15, 0, <Rt>, c9, c12, 0; Write Performance Monitors Control Register
See 11.7.1 Performance Monitors Control Register, EL0 on page 11-411 for information about accessing
the PMCR_EL0 through the internal memory-mapped interface and the external debug interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-403
reserved.
Non-Confidential
11 Performance Monitor Unit
11.4 AArch64 PMU register descriptions
Usage constraints
The accessibility to the PMCEID0_EL0 by Exception level is:
Config Config RO RO RO RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
The PMCEID0_EL0 is Common to Secure and Non-secure states and architecturally mapped to:
• The AArch32 PMCEID0 register.
• The external PMCEID0_EL0 register.
Attributes
See the register summary in Table 11-3 PMU register summary in AArch64 state
on page 11-399.
The following figure shows the PMCEID0_EL0 bit assignments
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
BC IS BA BP UL BR BI ER ET IA ST LD SI
RES0 TW ME BM CW IC1R
CH DC2W CC PW IT1R
DC2R MA DC1R
DC2A IC1A DC1A
DC1W DT1R
The following table shows the PMCEID0_EL0 bit assignments with event implemented or not
implemented when the associated bit is set to 1 or 0.
PMCEID1_EL0[31:0] is reserved.
Bit Name Event number Value Event implemented if bit set to 1 or not implemented if bit set to 0
[30] CH 0x1E 1 Chain.es An odd-numbered counter increments when an overflow occurs on the preceding
even-numbered counter. For even-numbered counters, does not count.
[28] TW 0x1C 1 TTBR write, architecturally executed, condition check pass - write to translation table base.
es See the ARM® Architecture Reference Manual ARMv8 for more information about the chain event.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-404
reserved.
Non-Confidential
11 Performance Monitor Unit
11.4 AArch64 PMU register descriptions
Bit Name Event number Value Event implemented if bit set to 1 or not implemented if bit set to 0
[15] UL 0x0F 0 Instruction architecturally executed, condition check pass - unaligned load or store.
[14] BR 0x0E 0 Instruction architecturally executed, condition check pass - procedure return.
[12] PW 0x0C 0 Instruction architecturally executed, condition check pass - software change of the PC.
[11] CW 0x0B 1 Instruction architecturally executed, condition check pass - write to CONTEXTIDR.
[10] ER 0x0A 1 Instruction architecturally executed, condition check pass - exception return.
[0] SI 0x00 1 Instruction architecturally executed, condition check pass - software increment.
To access the PMCEID0_EL0 in AArch64 state, read or write the register with:
MRS <Xt>, PMCEID0_EL0; Read Performance Monitors Common Event Identification Register 0
To access the PMCEID0 in AArch32 state, read or write the CP15 register with:
MRC p15, 0, <Rt>, c9, c12, 6; Read Performance Monitors Common Event Identification Register
0
The PMCEID0_EL0 can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0xE20.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-405
reserved.
Non-Confidential
11 Performance Monitor Unit
11.5 AArch32 PMU register summary
- - 0 c9 - PMCCNTR[63:0] 64-bit
et See the ARM® Architecture Reference Manual ARMv8 for more information.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-406
reserved.
Non-Confidential
11 Performance Monitor Unit
11.5 AArch32 PMU register summary
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-407
reserved.
Non-Confidential
11 Performance Monitor Unit
11.6 Memory-mapped register summary
0x02C-0x0F4 - - - Reserved
0x100-0x3FC - - Reserved
0x418-0x478 - - - Reserved
0x480-0x5FC - - - Reserved
0x600 PMPCSR[31:0] RO 32-bit 11.7.2 Performance Monitors Program Counter Sample Register
on page 11-412
0x604 PMPCSR[63:32]
0x608 PMCIDSR RO 32-bit 11.7.3 Performance Monitors Context ID Sample Register on page 11-412
0x60C PMVIDSR RO 32-bit 11.7.4 Performance Monitors Virtual Context Sample Register
on page 11-413
0x610 PMSSR RO 32-bit 11.7.5 Performance Monitors Snapshot Status Register on page 11-413
eu See the ARM® Architecture Reference Manual ARMv8 for more information.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-408
reserved.
Non-Confidential
11 Performance Monitor Unit
11.6 Memory-mapped register summary
0x638-0x6EC - - - Reserved
0x6F0 PMSCR WO 32-bit 11.7.9 Performance Monitors Snapshot Control Register on page 11-416
0x6F4 PMSRR RW 32-bit 11.7.10 Performance Monitors Snapshot Reset Register on page 11-417
0x6F8-0xBFC - - - Reserved
0xC04-0xC1C - - - Reserved
0xC24-0xC3C - - - Reserved
0xC44-0xC5C - - - Reserved
0xC64-0xC7C - - - Reserved
0xC84-0xC9C - - - Reserved
0xCA4-0xCBC - - - Reserved
0xCC0 PMOVSSET_EL0 RW 32-bit Performance Monitors Overflow Flag Status Set Register eu
0xCC4-0xDFC - - - Reserved
0xE00 PMCFGR RO 32-bit 11.7.11 Performance Monitors Configuration Register on page 11-418
0xE04 PMCR_EL0 RW 32-bit 11.7.1 Performance Monitors Control Register, EL0 on page 11-411
0xE08-0xE1C - - - Reserved
0xE20 PMCEID0_EL0 RO 32-bit 11.4.2 Performance Monitors Common Event Identification Register 0, EL0
on page 11-403
0xE24 PMCEID1_EL0 RO 32-bit Performance Monitors Common Event Identification Register 1 eu
0xE28-0xFA4 - - - Reserved
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-409
reserved.
Non-Confidential
11 Performance Monitor Unit
11.6 Memory-mapped register summary
0xFC0-0xFC8 - - - Reserved
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-410
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
Table 11-1 External register access conditions on page 11-398 describes the access conditions.
Configurations
The PMCR_EL0 is Common to Secure and Non-secure states and architecturally mapped to:
• The AArch32 PMCR register.
• The external PMCR_EL0 register.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMCR_EL0 bit assignments for a memory-mapped access.
31 7 6 5 4 3 2 1 0
RES0 LC DP X D C P E
The following table shows the PMCR_EL0 bit assignments for a memory-mapped access.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-411
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
[6] LC The function of these bits is the same as when a System register access occurs. See Table 11-4 PMCR_EL0 bit
assignments on page 11-402 for a description of these bits.
[5] DP
[4] X
[3] D
[2] C
[1] P
[0] E
The PMCR_EL0 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xE04.
Error Error RO RO RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
PMPCSR[31:0] copies the EDPCSRlo debug register.
PMPCSR[63:32] copies the EDPCSRhi debug register.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
See the ARM® Architecture Reference Manual ARMv8 for more information about the EDPCSR debug
registers.
PMPCSR[31:0] can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x600.
PMPCSR[63:32] can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x604.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-412
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
Purpose
The PMCIDSR register is an alias of the EDCIDSR debug register. Reads of the PMCIDSR
return a copy of the EDCIDSR debug register.
Usage constraints
The external accessibility to the PMCIDSR by condition code is:
Error Error RO RO RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
There is no configuration information for PMCIDSR.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
See the ARM® Architecture Reference Manual ARMv8 for more information about the EDCIDSR debug
register.
PMCIDSR can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x608.
Error Error RO RO RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
There is no configuration information for PMVIDSR.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
See the ARM® Architecture Reference Manual ARMv8 for more information about the EDVIDSR debug
register.
PMVIDSR can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x60C.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-413
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
Usage constraints
The external accessibility to the PMSSR by condition code is:
Error Error RO RO RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
A security violation prevents the capture of the event counters.
The external monitor must keep track of whether the snapshot registers were captured by the
processor.
To prevent loss of data, software must save and restore the PMU state, including the PMSCR
and PMSRR registers, when capturing over a reset or power down.
Configurations
There is no configuration information for PMSSR.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMSSR bit assignments.
31 1 0
Reserved
NC
The NC bit:
• Is reset to 1 by a Warm reset but overwritten at the first capture.
• Does not reflect the status of the captured Program Counter Sample registers.
PMSSR can be accessed through the internal memory-mapped interface and the external debug interface,
offset 0x610.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-414
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
Usage constraints
The external accessibility to the PMOVSSR by condition code is:
Error Error RO RO RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
There is no configuration information for PMOVSSR.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
See the ARM® Architecture Reference Manual ARMv8 for more information about the PMOVSR register.
PMOVSSR can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x614.
Error Error RO RO RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
There is no configuration information for PMCCNTSR.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
See the ARM® Architecture Reference Manual ARMv8 for more information about the PMCCNTR_EL0
register.
PMCCNTSR[31:0] can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x618.
PMCCNTSR[63:32] can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x61C.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-415
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
Purpose
Captures a copies of the PMEVCNTRn_EL0 registers. After capture, writes to
PMEVCNTRn_EL0 and PMCR_EL0.P do not affect the PMEVCNTSRn value.
Note
The range of n for PMEVCNTSRn is 0 to 5.
Usage constraints
The external accessibility to the PMEVCNTSRn by condition code is:
Error Error RO RO RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
There is no configuration information for PMEVCNTSRn.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
See the ARM® Architecture Reference Manual ARMv8 for more information about the
PMEVCNTRn_EL0 registers.
The PMEVCNTRn_EL0 registers can be accessed through the internal memory-mapped interface and
the external debug interface, offsets 0x620-0x634.
Error Error WO WO WO WO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
There is no configuration information for PMSCR.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMSCR bit assignments.
31 1 0
Reserved
SS
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-416
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
The PMSCR can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x6F0.
Error Error RW RW RW RW
Table 11-1 External register access conditions on page 11-398 describes the
condition codes.
Configurations There is no configuration information for PMSRR.
Attributes See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
Reserved
RC RP5
RP4
RP3
RP2
RP1
RP0
[31] RC Reset cycle counter. Indicates whether the PMCCNTR_EL0 and PMOVSR[31] are reset after a capture:
0 PMCCNTR_EL0 and PMOVSR[31] are not reset on capture.
1 PMCCNTR_EL0 and PMOVSR[31] are reset on capture.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-417
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
[5] RP5 Reset performance counter 5. Indicates whether PMEVCNTR5_EL0 and PMOVSR[5] are reset after a capture:
0 PMEVCNTR5_EL0 and PMOVSR[5] are not reset on capture.
1 PMEVCNTR5_EL0 and PMOVSR[5] are reset on capture.
[4] RP4 Reset performance counter 4. Indicates whether PMEVCNTR4_EL0 and PMOVSR[4] are reset after a capture:
0 PMEVCNTR4_EL0 and PMOVSR[4] are not reset on capture.
1 PMEVCNTR4_EL0 and PMOVSR[4] are reset on capture.
[3] RP3 Reset performance counter 3. Indicates whether PMEVCNTR3_EL0 and PMOVSR[3] are reset after a capture:
0 PMEVCNTR3_EL0 and PMOVSR[3] are not reset on capture.
1 PMEVCNTR3_EL0 and PMOVSR[3] are reset on capture.
[2] RP2 Reset performance counter 2. Indicates whether PMEVCNTR2_EL0 and PMOVSR[2] are reset after a capture:
0 PMEVCNTR2_EL0 and PMOVSR[2] are not reset on capture.
1 PMEVCNTR2_EL0 and PMOVSR[2] are reset on capture.
[1] RP1 Reset performance counter 1. Indicates whether PMEVCNTR1_EL0 and PMOVSR[1] are reset after a capture:
0 PMEVCNTR1_EL0 and PMOVSR[1] are not reset on capture.
1 PMEVCNTR1_EL0 and PMOVSR[1] are reset on capture.
[0] RP0 Reset performance counter 0. Indicates whether PMEVCNTR0_EL0 and PMOVSR[0] are reset after a capture:
0 PMEVCNTR0_EL0 and PMOVSR[0] are not reset on capture.
1 PMEVCNTR0_EL0 and PMOVSR[0] are reset on capture.
The PMSRR can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x6F4.
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
The PMCFGR is in the Core power domain.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMCFGR bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-418
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
31 17 16 15 14 13 8 7 0
RES0 Size N
EX CC
CCD
The PMCFGR can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xE00.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-419
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
Only bits[7:0] of each PMU Peripheral ID Register are used, with bits[31:8] reserved. Together, the eight
PMU Peripheral ID Registers define a single 64-bit Peripheral ID.
The PMU Peripheral ID registers are:
• Performance Monitors Peripheral Identification Register 0 on page 11-420.
• Performance Monitors Peripheral Identification Register 1 on page 11-420.
• Performance Monitors Peripheral Identification Register 2 on page 11-421.
• Performance Monitors Peripheral Identification Register 3 on page 11-422.
• Performance Monitors Peripheral Identification Register 4 on page 11-423.
• Performance Monitors Peripheral Identification Register 5-7 on page 11-424.
- - - - RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
The PMPIDR0 is in the Debug power domain.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMPIDR0 bit assignments.
31 8 7 0
Reserved Part_0
[7:0] Part_0 0xD8 Least significant byte of the performance monitor part number
The PMPIDR0 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFE0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-420
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
Purpose
Provides information to identify a Performance Monitors component.
Usage constraints
The PMPIDR1 can be accessed through the internal memory-mapped interface and the external
debug interface.
The accessibility to the PMPIDR1 by condition code is:
- - - - RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
The PMPIDR1 is in the Debug power domain.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMPIDR1 bit assignments.
31 8 7 4 3 0
[7:4] DES_0 0xB ARM Limited. This is the least significant nibble of JEP106 ID code.
[3:0] Part_1 0x9 Most significant nibble of the performance monitor part number.
The PMPIDR1 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFE4.
- - - - RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
The PMPIDR2 can be accessed through the internal memory-mapped interface and the external
debug interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-421
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
Configurations
The PMPIDR2 is in the Debug power domain.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMPIDR2 bit assignments.
31 8 7 4 3 2 0
JEDEC
[2:0] DES_1 0b011 ARM Limited. This is the most significant nibble of JEP106 ID code.
The PMPIDR2 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFE8.
- - - - RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
The PMPIDR3 is in the Debug power domain.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMPIDR3 bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-422
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
31 8 7 4 3 0
The PMPIDR3 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFEC.
- - - - RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
The PMPIDR4 is in the Debug power domain.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMPIDR4 bit assignments.
31 8 7 4 3 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-423
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
[7:4] Size 0x0 Size of the component. Log2 the number of 4KB pages from the start of the component to the end of the
component ID registers.
[3:0] DES_2 0x4 ARM Limited. This is the least significant nibble JEP106 continuation code.
The PMPIDR4 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFD0.
The Performance Monitors Component Identification Registers identify Performance Monitors as ARM
PMUv3 architecture. The Component ID registers are:
• Performance Monitors Component Identification Register 0 on page 11-424.
• Performance Monitors Component Identification Register 1 on page 11-425.
• Performance Monitors Component Identification Register 2 on page 11-426.
• Performance Monitors Component Identification Register 3 on page 11-426.
- - - - RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-424
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
Configurations
The PMCIDR0 is in the Debug power domain.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMCIDR0 bit assignments.
31 8 7 0
Reserved PRMBL_0
The PMCIDR0 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFF0.
- - - - RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
The PMCIDR1 is in the Debug power domain.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMCIDR1 bit assignments.
31 8 7 4 3 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-425
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
The PMCIDR1 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFF4.
- - - - RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
The PMCIDR2 is in the Debug power domain.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMCIDR2 bit assignments.
31 8 7 0
Reserved PRMBL_2
The PMCIDR2 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFF8.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-426
reserved.
Non-Confidential
11 Performance Monitor Unit
11.7 Memory-mapped register descriptions
Purpose
Provides information to identify a Performance Monitors component.
Usage constraints
The PMCIDR3 can be accessed through the internal memory-mapped interface and the external
debug interface.
The accessibility to the PMCIDR3 by condition code is:
- - - - RO RO
Table 11-1 External register access conditions on page 11-398 describes the condition codes.
Configurations
The PMCIDR3 is in the Debug power domain.
Attributes
See the register summary in Table 11-7 Memory-mapped PMU register summary
on page 11-408.
The following figure shows the PMCIDR3 bit assignments.
31 8 7 0
Reserved PRMBL_3
The PMCIDR3 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFFC.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-427
reserved.
Non-Confidential
11 Performance Monitor Unit
11.8 Events
11.8 Events
The following table shows the events that are generated and the numbers that the PMU uses to reference
the events.
The table also shows the bit position of each event on the event bus. Event reference numbers that are not
listed are reserved.
ev Event count is encoded as a plain binary number to accommodate count values of more than one in the same cycle.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-428
reserved.
Non-Confidential
11 Performance Monitor Unit
11.8 Events
ev Event count is encoded as a plain binary number to accommodate count values of more than one in the same cycle.
ew For this event, unaligned access means data access related memory operation that crosses line boundary.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-429
reserved.
Non-Confidential
11 Performance Monitor Unit
11.8 Events
ev Event count is encoded as a plain binary number to accommodate count values of more than one in the same cycle.
ev Event count is encoded as a plain binary number to accommodate count values of more than one in the same cycle.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-430
reserved.
Non-Confidential
11 Performance Monitor Unit
11.8 Events
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-431
reserved.
Non-Confidential
11 Performance Monitor Unit
11.9 Interrupts
11.9 Interrupts
The Cortex-A72 processor asserts the nPMUIRQ signal when an interrupt is generated by the PMU.
You can route this signal to an external interrupt controller for prioritization and masking. This is the
only mechanism that signals this interrupt to the processor.
Interrupt is also driven as a trigger input to the CTI.
Related information
Chapter 12 Cross Trigger on page 12-434.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-432
reserved.
Non-Confidential
11 Performance Monitor Unit
11.10 Exporting PMU events
In addition to the counters in the processor, some of the events that 11.8 Events on page 11-428 describes
are exported on the PMUEVENT bus and can be connected to external hardware.
Some of the events that 11.8 Events on page 11-428 describes are exported to the ETM unit, other
external debug, or trace hardware, to enable the events to be monitored.
Related information
Chapter 12 Cross Trigger on page 12-434.
Chapter 13 Embedded Trace Macrocell on page 13-457.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 11-433
reserved.
Non-Confidential
Chapter 12
Cross Trigger
This chapter describes the cross trigger interfaces for the Cortex-A72 processor.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-434
reserved.
Non-Confidential
12 Cross Trigger
12.1 About the cross trigger
Cortex-A72 processor
Optional core 4
Optional core 3
Optional core 2
core 1
PMUEVENT
PMU nPMUIRQ
Non-processor
Optional CSCTI 4
PMUEVENT[24:0] Optional CSCTI 3
Optional CSCTI 2
CSCTI 1
EXTOUT[3:0]
ETM
EXTIN[3:0]
CTIIRQ
CTIIRQACK
DBGRQ
DBGTRIGGER
DBGRESTART
CTICHOUT
CTICHIN
CTICHOUT[3:0]
Debug
CTICHOUTACK[3:0]
CTM
CTICHIN[3:0]
CTICHINACK[3:0]
nCOMMIRQ
COMMRX
COMMTX
EDBGRQ
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-435
reserved.
Non-Confidential
12 Cross Trigger
12.2 Trigger inputs and outputs
This section describes the trigger inputs and outputs that are available to the CTI.
The following table shows the CTI inputs.
2 - -
3 - -
3 - -
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-436
reserved.
Non-Confidential
12 Cross Trigger
12.3 CTI
12.3 CTI
In the Cortex-A72 processor, the CTI operates in the PCLKDBG domain and it synchronizes the trigger
inputs and outputs to PCLKDBG.
Handshaking is required for all trigger outputs. Because the simplified CTM is implemented in the same
clock domain, synchronization and handshaking is not required for channel interface. In addition, APB
synchronization is not required. Trigger inputs are not masked by internal NIDEN. Trigger outputs are
not masked by internal DBGEN.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-437
reserved.
Non-Confidential
12 Cross Trigger
12.4 CTM
12.4 CTM
The CoreSight CTI channel signals from all the cores are combined using a simplified Cross Trigger
Matrix (CTM) so that a single cross trigger channel interface is presented in the Cortex-A72 processor.
The CTM can combine up to four internal channel interfaces, corresponding to each core, and one
external channel interface.
In the simplified CTM:
• The external channel output is driven by the OR output of all internal channel outputs.
• Each internal channel input is driven by the OR output of the internal channel outputs of all other
CTIs, in addition to the external channel input.
The internal channel acknowledgment signals from the CTIs are not used because the CTIs and the CTM
are in the same PCLKDBG domain.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-438
reserved.
Non-Confidential
12 Cross Trigger
12.5 Cross trigger register summary
0x000-0x00C - - - Reserved
0x040-0x09C - - - Reserved
0x0A0 CTIOUTEN0 RW 32-bit CTI Input Channel to Output Trigger Enable registers ey
0x0A4 CTIOUTEN1
0x0A8 CTIOUTEN2
0x0AC CTIOUTEN3
0x0B0 CTIOUTEN4
0x0B4 CTIOUTEN5
0x0B8 CTIOUTEN6
0x0BC CTIOUTEN7
0x0C0-0x12C - - - Reserved
ey See the ARM® Architecture Reference Manual ARMv8 for more information.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-439
reserved.
Non-Confidential
12 Cross Trigger
12.5 Cross trigger register summary
0x144-0xED8 - - - Reserved
0xEDC CTIITCHINACK WO 32-bit 12.6.3 CTI Integration Test Channel In Acknowledge register
on page 12-444
0xEE0 CTIITTRIGINACK WO 32-bit 12.6.4 CTI Integration Test Trigger In Acknowledge register
on page 12-444
0xEE4 CTIITCHOUT WO 32-bit 12.6.5 CTI Integration Test Channel Out register on page 12-445
0xEE8 CTIITTRIGOUT WO 32-bit 12.6.6 CTI Integration Test Trigger Out register on page 12-446
0xEEC CTIITCHOUTACK RO 32-bit 12.6.7 CTI Integration Test Channel Out Acknowledge register
on page 12-446
0xEF0 CTIITTRIGOUTACK RO 32-bit 12.6.8 CTI Integration Test Trigger Out Acknowledge register
on page 12-447
0xEF4 CTIITCHIN RO 32-bit 12.6.9 CTI Integration Test Channel In register on page 12-448
0xEF8 CTIITTRIGIN RO 32-bit 12.6.10 CTI Integration Test Trigger In register on page 12-448
0xEFC-0xF7C - - - Reserved
0xF00 CTIICTRL RW 32-bit 12.6.2 CTI Integration Mode Control register on page 12-443
0xF04-0xFAC - - - Reserved
0xFBC-0xFC4 - - - Reserved
0xFC8 CTIDEVID RO 32-bit 12.6.1 CTI Device Identification register on page 12-442
0xFCC CTIDEVTYPE RO 32-bit CTI Device Type register ey
0xFD0 CTIPIDR4 RO 32-bit CTI Peripheral Identification Register 4 on page 12-452
0xFD4 CTIPIDR5 RO 32-bit CTI Peripheral Identification Register 5-7 on page 12-453
0xFD8 CTIPIDR6
0xFDC CTIPIDR7
0xFE0 CTIPIDR0 RO 32-bit CTI Peripheral Identification Register 0 on page 12-450
0xFE4 CTIPIDR1 RO 32-bit CTI Peripheral Identification Register 1 on page 12-450
0xFE8 CTIPIDR2 RO 32-bit CTI Peripheral Identification Register 2 on page 12-451
0xFEC CTIPIDR3 RO 32-bit CTI Peripheral Identification Register 3 on page 12-452
0xFF0 CTICIDR0 RO 32-bit CTI Component Identification Register 0 on page 12-454
0xFF4 CTICIDR1 RO 32-bit CTI Component Identification Register 1 on page 12-454
0xFF8 CTICIDR2 RO 32-bit CTI Component Identification Register 2 on page 12-455
0xFFC CTICIDR3 RO 32-bit CTI Component Identification Register 3 on page 12-456
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-440
reserved.
Non-Confidential
12 Cross Trigger
12.5 Cross trigger register summary
External access permission to the cross trigger registers is subject to the conditions at the time of the
access. The following table describe the processor response to accesses through the external debug and
memory-mapped interfaces.
Off EDPRSR.PU is 0 Core power domain is completely off, or in a low-power state where
the core power domain registers cannot be accessed.
Note
If debug is powered down, all external debug and memory-mapped
register accesses return an error.
EDAD AllowExternalDebugAccess() External debug access disabled. When an error is returned because of
==FALSE the EDAD condition code, and this is the highest priority error
condition, EDPRSR.SDAD is set to 1. Otherwise EDPRSR.SDAD is
unchanged.
SLK Memory-mapped interface only Software Lock is locked. For the external debug interface, ignore this
code.
The following table shows an example of external register access conditions for access to a cross trigger
register. To determine the access permission for the register, scan the columns from left to right. Stop at
the first column whose condition is true, the entry gives the access permission of the register and
scanning stops.
- - - - RO/WI RO
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-441
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTIDEVID is in the Debug power domain.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTIDEVID bit assignments.
31 26 25 24 23 22 21 16 15 14 13 8 7 5 4 0
INOUT
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-442
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
[25:24] INOUT Input and output options. Indicates the presence of an input gate. The possible values are:
0b00 CTIGATE does not mask propagation of input events from external channels.
0b01 CTIGATE masks propagation of input events from external channels.
[4:0] EXTMAXNUM Maximum number of external triggers implemented. The value is:
0b00000 No external triggers implemented.
- - - - RO/WI RW
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTIITCTRL is in the Debug power domain.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
shows the CTIITCTRL bit assignments.
31 1 0
RES0
IME
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-443
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
- - - - RO WO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTIITCHINACK is in the Debug power domain.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTIITCHINACK bit assignments.
31 4 3 0
RES0
CTCHINACK
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-444
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
Usage constraints
Accessible through the internal memory-mapped interface and the external debug interface. The
access conditions are:
- - - - WI WO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTIITTRIGINACK is in the Debug power domain.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTIITTRIGINACK bit assignments.
31 8 7 0
Reserved CTTRIGINACK
- - - - WI WO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTIITCHOUT is in the Debug power domain.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTIITCHOUT bit assignments.
31 4 3 0
Reserved CTCHOUT
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-445
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
- - - - WI WO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTIITTRIGOUT is in the Debug power domain.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTIITTRIGOUT bit assignments.
31 8 7 0
Reserved CTTRIGOUT
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-446
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
Usage constraints
Accessible through the internal memory-mapped interface and the external debug interface. The
access conditions are:
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTIITCHOUTACK is in the Debug power domain.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTIITCHOUTACK bit assignments.
31 4 3 0
RES0
CTCHOUTACK
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTIITTRIGOUTACK is in the Debug power domain.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTIITTRIGOUTACK bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-447
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
31 8 7 0
Reserved CTTRIGOUTACK
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTIITCHIN is in the Debug power domain.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTIITCHIN bit assignments.
31 4 3 0
Reserved CTCHIN
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-448
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
Purpose
Provides direct observation of the trigger in signals.
Usage constraints
Accessible through the internal memory-mapped interface and the external debug interface. The
access conditions are:
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTIITTRIGIN is in the Debug power domain.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTIITTRIGIN bit assignments.
31 8 7 0
Reserved CTTRIGIN
Only bits[7:0] of each CTI Peripheral ID Register are used, with bits[31:8] reserved. Together, the eight
CTI Peripheral ID Registers define a single 64-bit Peripheral ID.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-449
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access
conditions.
Configurations CTIPIDR0 is in the Debug power domain.
CTIPIDR0 is optional to implement in the external register interface.
Attributes See 12.5 Cross trigger register summary on page 12-439.
RES0 Part_0
[7:0] Part_0 0x06 Least significant byte of the cross trigger part number
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-450
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
Configurations
CTIPIDR1 is in the Debug power domain.
CTIPIDR1 is optional to implement in the external register interface.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTIPIDR1 bit assignments.
31 8 7 4 3 0
[7:4] DES_0 0xB ARM Limited. This is the least significant nibble of JEP106 ID code.
[3:0] Part_1 0x9 Most significant nibble of the cross trigger interface part number.
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access
conditions.
Configurations CTIPIDR2 is in the Debug power domain.
CTIPIDR2 is optional to implement in the external register interface.
Attributes See 12.5 Cross trigger register summary on page 12-439.
JEDEC
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-451
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
[2:0] DES_1 0b011 ARM Limited. This is the most significant nibble of JEP106 ID code.
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTIPIDR3 is in the Debug power domain.
CTIPIDR3 is optional to implement in the external register interface.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTIPIDR3 bit assignments.
31 8 7 4 3 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-452
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
Usage constraints
Accessible through the internal memory-mapped interface and the external debug interface. The
access conditions are:
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTIPIDR4 is in the Debug power domain.
CTIPIDR4 is optional to implement in the external register interface.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTIPIDR4 bit assignments.
31 8 7 4 3 0
[7:4] Size 0x0 Size of the component. Log2 the number of 4KB pages from the start of the component to the end of the
component ID registers.
[3:0] DES_2 0x4 ARM Limited. This is the least significant nibble JEP106 continuation code.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-453
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTICIDR0 is in the Debug power domain.
CTICIDR0 is optional to implement in the external register interface.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTICIDR0 bit assignments.
31 8 7 0
Reserved PRMBL_0
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-454
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
Configurations
CTICIDR1 is in the Debug power domain.
CTICIDR1 is optional to implement in the external register interface.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTICIDR1 bit assignments.
31 8 7 4 3 0
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTICIDR2 is in the Debug power domain.
CTICIDR2 is optional to implement in the external register interface.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTICIDR2 bit assignments.
31 8 7 0
Reserved PRMBL_2
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-455
reserved.
Non-Confidential
12 Cross Trigger
12.6 Cross trigger register descriptions
- - - - RO RO
Table 12-3 Cross trigger register summary on page 12-439 describes the access conditions.
Configurations
CTICIDR3 is in the Debug power domain.
CTICIDR3 is optional to implement in the external register interface.
Attributes
See 12.5 Cross trigger register summary on page 12-439.
The following figure shows the CTICIDR3 bit assignments.
31 8 7 0
Reserved PRMBL_3
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 12-456
reserved.
Non-Confidential
Chapter 13
Embedded Trace Macrocell
This section describes the Embedded Trace Macrocell (ETM) for the Cortex-A72 processor.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-457
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.1 About ETM
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-458
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.2 ETM trace generation options and resources
Description Configuration
Support for tracing of load and store instructions as P0 elements Not implemented
The following table shows the ETM resources that the Cortex-A72 processor implements.
Description Configuration
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-459
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.2 ETM trace generation options and resources
Description Configuration
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-460
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.3 ETM functional description
Trace interface
SyncBridge
(ATB)
Debug interface Filtering and triggering
FIFO
(APB) resources
Processor Processor
Trace generation
interface interface block
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-461
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.4 Reset
13.4 Reset
The reset for ETM is the same as Cold reset for processor.
The ETM is not reset when a Warm reset is applied to processor, so that tracing through the reset is
possible.
If the ETM is reset, tracing stops until the ETM is reprogrammed and re-enabled. However, if the
processor is reset using a Warm reset, the last few instructions provided by the processor before the reset
might not be traced.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-462
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.5 ETM register interfaces
See the ARM® Embedded Trace Macrocell Architecture Specification, ETMv4 for information on the
behaviors on register accesses for different trace unit states and the different access mechanisms.
Related information
10.10 External debug interface on page 10-381.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-463
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.6 Register summary
Note
• In the following table, access type is described as follows:
RW Read and write.
RO Read only.
WO Write only.
All ETM registers are 32 bits wide. The following table lists all of the registers and their offsets from a
base address. The base address is defined by the system integrator when placing the ETM in the Debug-
APB memory map.
0x028-0x2C - - Reserved
0x044 -0x07C - - Reserved
0x08C -0x0FC - - Reserved
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-464
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.6 Register summary
0x10C -0x114 - - Reserved
0x124 -0x13C - - Reserved
0x148-0x14C - - Reserved
0x158-0x15C - - Reserved
0x168-0x16C - - Reserved
0x170 -0x17C - - Reserved
0x198-0x1BC - - Reserved
0x1C4-0x1DC - - Reserved
0x1F8 -0x204 - - Reserved
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-465
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.6 Register summary
0x240-0x27C - - Reserved
0x284-0x29C - - Reserved
0x2A4-0x2FC - - Reserved
0x308 -0x30C - - Reserved
0x318 -0x3FC - - Reserved
0x440-0x47C - - Reserved
0x480-0x4B8 TRCACATRn RW 13.7.24 Address Comparator Access Type Registers on page 13-492, n is 0 to 7
0x4C0-0x5FC - - Reserved
0x608-0x63F - - Reserved
0x648-0x67F - - Reserved
0x684-0xED8 - - Reserved
0xEDC TRCITMISCOUT WO 13.7.28 Trace Integration Miscellaneous Outputs Register on page 13-496
0xEE0 TRCITMISCIN RO 13.7.29 Trace Integration Miscellaneous Input Register on page 13-497
0xEE4-0xEE8 - - Reserved
0xEEC TRCITATBDATA0 WO 13.7.30 Trace Integration Test ATB Data Register 0 on page 13-498
0xEF0 TRCITATBCTR2 RO 13.7.31 Trace Integration Test ATB Control Register 2 on page 13-498
0xEF4 TRCITATBCTR1 WO 13.7.32 Trace Integration Test ATB Control Register 1 on page 13-499
0xEF8 TRCITATBCTR0 WO 13.7.33 Trace Integration Test ATB Control Register 0 on page 13-500
0xEFC - - Reserved
0xF00 TRCITCTRL RW 13.7.34 Trace Integration Mode Control register on page 13-501
0xF04 -0xF9C - - Reserved
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-466
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.6 Register summary
0xFC0 -0xFC4 - - Reserved
0xFD8 TRCPIDR6 RO
0xFDC TRCPIDR7 RO
0xFE0 TRCPIDR0 RO Trace Peripheral Identification Register 0 on page 13-503
0xFE4 TRCPIDR1 RO Trace Peripheral Identification Register 1 on page 13-503
0xFE8 TRCPIDR2 RO Trace Peripheral Identification Register 2 on page 13-504
0xFEC TRCPIDR3 RO Trace Peripheral Identification Register 3 on page 13-505
0xFF0 TRCCIDR0 RO Trace Component Identification Register 0 on page 13-507
0xFF4 TRCCIDR1 RO Trace Component Identification Register 1 on page 13-507
0xFF8 TRCCIDR2 RO Trace Component Identification Register 2 on page 13-508
0xFFC TRCCIDR3 RO Trace Component Identification Register 3 on page 13-508
Related information
10.11 ROM table on page 10-384.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-467
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-468
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Usage constraints
Only accepts writes when the trace unit is disabled.
Configurations
Available in all configurations.
Attributes
A 32-bit RW trace register.
See 13.6 Register summary on page 13-464.
The following figure shows the TRCCONFIGR bit assignments.
31 13 12 11 10 8 7 6 5 4 3 2 1 0
RS VMID RES1
TS CID
RES0
CCI
BB
[4] CCI Enables cycle counting instruction trace. The possible values are:
0 Disables cycle counting instruction trace
1 Enables cycle counting instruction trace
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-469
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
The TRCCONFIGR can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x010.
31 10 9 8 7 6 5 4 7 2 1 0
Reserved
SBRCGFRCENABLE AFREADYOVERRIDE
DBGFLUSHOVERRIDE IDLEACKOVERRIDE
CIFOVERRIDE FRCSYNCOVERFLOW
CLKENOVERRIDE SYNCIOVERRIDE
FLUSHOVERRIDE TSIOVERRIDE
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-470
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[9] SBRCGFRCENABLE Force ETM trace sync bridge RCG enable active. The possible values are:
0
Enables ETM trace sync bridge RCG for additional clock gating and potentially reduce
dynamic power dissipation. This is the reset value.
1
Forces ETM trace sync bridge RCG enable high.
[8] DBGFLUSHOVERRIDE Override ETM flush behavior on Debug state entry. The possible values are:
0
ETM FIFO is flushed when the processor enters Debug state.
1
ETM FIFO is not flushed when the processor enters Debug state. This trace unit
behavior deviates from the architecturally-specified behavior.
[7] CIFOVERRIDE Override core interface register repeater clock enable. The possible values are:
0
Core interface is clock gated when DBGEN or NIDEN is LOW.
1
Core interface is not clock gated when DBGEN or NIDEN is LOW.
[6] CLKENOVERRIDE Override ETM clock enable. The possible values are:
0
ETM clock gating is enabled.
1
ETM clock gating is disabled.
[5] FLUSHOVERRIDE Override ETM flush behavior. The possible values are:
0
ETM FIFO is flushed and ETM enters idle state when DBGEN or NIDEN is LOW.
1
ETM FIFO is not flushed and ETM does not enter idle state when DBGEN or NIDEN
is LOW.
When this bit is set to 1, the trace unit behavior deviates from architecturally-specified behavior.
[4] TSIOVERRIDE Override TS packet insertion behavior. The possible values are:
0
Timestamp packets are inserted into FIFO when trace activity is LOW.
1
Timestamp packets are inserted into FIFO irrespective of trace activity.
[3] SYNCIOVERRIDE Override SYNC packet insertion behavior. The possible values are:
0
SYNC packets are inserted into FIFO when trace activity is LOW.
1
SYNC packets are inserted into FIFO irrespective of trace activity.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-471
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[2] FRCSYNCOVERFLOW Force overflows to output synchronization packets. The possible values are:
0
No FIFO overflow when SYNC packets are delayed.
1
Forces FIFO overflow when SYNC packets are delayed.
When this bit is set to 1, the trace unit behavior deviates from architecturally-specified behavior.
[1] IDLEACKOVERRIDE Force ETM idle acknowledge. The possible values are:
0
ETM idle acknowledge is asserted only when ETM is in idle state.
1
ETM idle acknowledge is asserted irrespective of ETM idle state
When this bit is set to 1, trace unit behavior deviates from architecturally-specified behavior.
[0] AFREADYOVERRIDE Force assertion of AFREADYM output. The possible values are:
0
ETM AFREADYM output is asserted only when ETM is in idle state or when all the
trace bytes in FIFO before a flush request are output.
1
ETM AFREADYM output is always asserted HIGH. When this bit is set to 1, trace unit
behavior deviates from architecturally-specified behavior.
The TRCAUXCTLR can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x018.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-472
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
31 24 23 16 15 8 7 0
The TRCEVENTCTL0R can be accessed through the internal memory-mapped interface and the
external debug interface, offset 0x020.
ATB
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-473
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[3:0] INSTEN Instruction event enable field. Each bit represents an event, n=0-3. If event n occurs when INSTEN[n] is:
0 The trace unit does not generate an event element.
1 The trace unit generates an event element for event n, in the instruction trace stream.
The TRCEVENTCTL1R can be accessed through the internal memory-mapped interface and the
external debug interface, offset 0x024.
Reserved Period
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-474
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[4:0] Period Controls how many bytes of trace, the sum of instruction and data, that a trace unit can generate before a periodic
trace synchronization request occurs.
When 0b00000, periodic trace synchronization requests are disabled. This setting does not disable other types of
trace synchronization request.
The number of bytes is always a power of two and the permitted values are:
0b01000 Periodic trace synchronization request occurs after 28, or 256 bytes of trace.
0b01001 Periodic trace synchronization request occurs after 29, or 512 bytes of trace.
0b01010 Periodic trace synchronization request occurs after 210, or 1024 bytes of trace.
. .
. .
. .
0b10100 Periodic trace synchronization request occurs after 220, or 1048576 bytes of trace.
The TRCSYNCPR can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x034.
Reserved Threshold
[11:0] Threshold Sets the threshold value for instruction trace cycle counting.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-475
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
The TRCCCCTLR can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x038.
Related information
13.7.1 Trace Configuration Register on page 13-468.
Reserved TRACEID
[6:0] TRACEID Trace ID field. Sets the trace ID value for instruction trace. The width of this field is 7 bits.
The TRCTRACEIDR can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x040.
Related information
13.7.22 Trace ID Register 5 on page 13-489.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-476
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Configurations
Available in all configurations.
Attributes
A 32-bit RW trace register.
See 13.6 Register summary on page 13-464.
The following figure shows the TRCVICTLR bit assignments.
31 24 23 20 19 16 15 12 11 10 9 8 7 0
EXLEVEL_S Reserved
EXLEVEL_NS SSSTATUS
TRCRESET
TRCERR
[23:20] EXLEVEL_NS Each bit controls whether instruction tracing in Non-secure state is enabled for the corresponding Exception
level. The bit to Exception level mapping is:
Bit[20] Exception level 0.
Bit[21] Exception level 1.
Bit[22] Exception level 2.
Bit[23] RES0.
For example, the value 0b0111 enables instruction tracing in Non-secure state for EL0, EL1, and EL2.
[19:16] EXLEVEL_S Each bit controls whether instruction tracing in Secure state is enabled for the corresponding Exception
level. The bit to Exception level mapping is:
Bit[16] Exception level 0.
Bit[17] Exception level 1.
Bit[18] RES0.
For example, the value 0b1011 enables instruction tracing in Secure state for EL0, EL1, and EL3.
[11] TRCERR Controls whether a trace unit must trace a System Error exception:
0 The trace unit does not trace a System Error exception unless it traces the exception or instruction
immediately prior to the System Error exception.
1 The trace unit always traces a System Error exception.
[10] TRCRESET Controls whether a trace unit must trace a reset exception:
0 The trace unit does not trace a reset exception unless it traces the exception or instruction immediately
prior to the reset exception.
1 The trace unit always traces a reset exception.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-477
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[9] SSSTATUS Returns the status of the start and stop logic. The possible values are:
0 The start and stop logic is in the stopped state.
1 The start and stop logic is in the started state.
The TRCVICTLR can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x080.
[31:24] SEL3 A binary value that selects which external input is a resource for the trace unit. Bit[31] is reserved, RES0.
[23:16] SEL2 A binary value that selects which external input is a resource for the trace unit. Bit[23] is reserved, RES0.
[15:8] SEL1 A binary value that selects which external input is a resource for the trace unit. Bit[15] is reserved, RES0.
[7:0] SEL0 A binary value that selects which external input is a resource for the trace unit. Bit[7] is reserved, RES0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-478
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
The TRCEXTINSELR can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x120.
13.7.10 ID Register 8
MAXSPEC
[31:0] MAXSPEC The maximum number of P0 elements in the trace stream that can be speculative at any time:
0 Maximum speculation depth of the instruction trace stream.
The TRCIDR8 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x180.
13.7.11 ID Register 9
NUMP0KEY
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-479
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[31:0] NUMP0KEY The number of P0 right-hand keys that the trace unit can use:
0 The trace unit uses no P0 right-hand keys.
The TRCIDR9 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x184.
13.7.12 ID Register 10
NUMP1KEY
[31:0] NUMP1KEY The number of P1 right-hand keys that the trace unit can use.
0 The trace unit uses no P1 right-hand keys.
The TRCIDR10 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x188.
13.7.13 ID Register 11
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-480
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
NUMP1SPC
[31:0] NUMP1SPC The number of special P1 right-hand keys that the trace unit can use:
0 The trace unit uses no special P1 right-hand keys.
The TRCIDR11 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x18C.
13.7.14 ID Register 12
NUMCONDKEY
[31:0] NUMCONDKEY The number of conditional instruction right-hand keys that the trace unit can use, including normal and
special keys:
0 The trace unit uses no conditional instruction right-hand keys.
The TRCIDR12 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x190.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-481
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
13.7.15 ID Register 13
NUMCONDSPC
[31:0] NUMCONDSPC The number of special conditional instruction right-hand keys that the trace unit can use, including normal
and special keys:
0 The trace unit uses no special conditional instruction right-hand keys.
The TRCIDR13 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x194.
Reserved EN SUPPORT
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-482
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[3:0] SUPPORT Indicates whether the implementation supports IMPLEMENTATION DEFINED features. This value is:
0b0000 No IMPLEMENTATION DEFINED features are supported.
The TRCIMSPEC0 can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x1C0.
TSSIZE Reserved
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-483
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[11:10] NUMEVENT Number of events field. Indicates how many events the trace unit supports. This value is:
0b11 The trace unit supports 4 events.
[9] RETSTACK Return stack bit. Indicates whether the implementation supports a return stack. This value is:
1 Return stack is implemented. TRCCONFIGR.RS is supported.
[7] TRCCCI Cycle counting instruction bit. Indicates whether the trace unit supports cycle counting for instructions. This
value is:
1 Cycle counting in the instruction trace is implemented, therefore:
• TRCCONFIGR.CCI is supported.
• TRCCCTLR is supported.
[6] TRCCOND Conditional instruction tracing support bit. Indicates whether the trace unit supports conditional instruction
tracing. This value is:
0 Conditional instruction tracing is not supported.
[5] TRCBB Branch broadcast tracing support bit. Indicates whether the trace unit supports branch broadcast tracing. This
value is:
1 Branch broadcast tracing is supported, therefore:
• TRCCONFIGR.CCI is supported.
• TRCBBCTLR is supported.
The TRCIDR0 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x1E0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-484
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Configurations
Available in all configurations.
Attributes
See 13.6 Register summary on page 13-464.
The following figure shows the TRCIDR1 bit assignments.
31 24 23 16 15 12 11 8 7 4 3 0
TRCARCHMAJ
TRCARCHMIN
[31:24] Designer Indicates which company designed the trace unit. The value is:
0x41 ARM
[11:8] TRCARCHMAJ Indicates the major version number of the trace unit architecture. The value is:
0x4 Indicates ETMv4.
[7:4] TRCARCHMIN Identifies the minor version number of the trace unit architecture. The value is:
0x0 Identifies the minor version number of the trace unit architecture.
The TRCIDR1 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x1E4.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-485
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Usage constraints
There are no usage constraints.
Configurations
Available in all configurations.
Attributes
See 13.6 Register summary on page 13-464.
The following figure shows the TRCIDR2 bit assignments.
31 29 28 25 24 20 19 15 14 10 9 5 4 0
[28:25] CCSIZE Indicates the size of the cycle counter in bits minus 12. This value is:
0x0 The cycle counter is 12 bits in length.
[24:20] DVSIZE Indicates the data value size in bytes. This value is:
0x0 Data value tracing is not supported. TRCIDR0.TRCDATA must be 0b00.
[19:15] DASIZE Indicates the data address size in bytes. This value is:
0x0 Data address tracing is not supported. TRCIDR0.TRCDATA must be 0b00.
[4:0] IASIZE Indicates the instruction address size in bytes. This value is:
0x8 Maximum of 64-bit address size.
The TRCIDR2 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x1E8.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-486
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Reserved CCITMIN
EXLEVEL_S
EXLEVEL_NS
TRCERR
SYNCPR
STALLCTL
SYSTALL
NUMPROC
NOOVERFLOW
[30:28] NUMPROC Indicates the number of cores available for tracing. This value is:
0b000 The trace unit can trace one core.
[27] SYSTALL Indicates whether stall control is supported. This value is:
0 The system does not support stall control of the core.
[25] SYNCPR Indicates whether there is a fixed synchronization period. This value is:
0 TRCSYNCPR is read-write so software can change the synchronization period.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-487
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[23:20] EXLEVEL_NS Each bit controls whether instruction tracing in Non-secure state is supported for the corresponding
Exception level. The value is:
0b0111 Instruction tracing in Non-secure state is supported for EL0, EL1, and EL2.
Note
The bit to Exception level mapping is:
Bit[20] Exception level 0.
Bit[21] Exception level 1.
Bit[22] Exception level 2.
Bit[23] Always RES0.
[19:16] EXLEVEL_S Each bit controls whether instruction tracing in Secure state is supported for the corresponding Exception
level. The value is:
0b1011 Instruction tracing in Secure state is supported for EL0, EL1, and EL3.
Note
The bit to Exception level mapping is:
Bit[16] Exception level 0.
Bit[15] Exception level 1.
Bit[14] Always RES0.
Bit[13] Exception level 3.
[11:0] CCITMIN The minimum value that can be programmed in TRCCCCTLR.THRESHOLD. This value is:
0x004 Minimum value for cycle counting in the instruction trace.
The TRCIDR3 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x1EC.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-488
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
31 28 27 24 23 20 19 16 15 12 11 9 8 7 4 3 0
[31:28] NUMVMIDC Indicates the number of VMID comparators available for tracing. This value is:
0x1 One VMID comparator is available.
[27:24] NUMCIDC Indicates the number of CID comparators available for tracing. This value is:
0x1 One Context ID comparator is available.
[23:20] NUMSSCC Indicates the number of single-shot comparator controls available for tracing. This value is:
0x1 One single-shot comparator control is available.
[19:16] NUMRSPAIR Indicates the number of resource selection pairs available for tracing. This value is:
0x7 Eight resource selection pairs are available.
[15:12] NUMPC Indicates the number of processor comparator inputs available for tracing. This value is:
0x0 No processor comparator inputs are available.
[8] SUPPDAC Indicates whether the implementation supports data address comparisons: This value is:
0 Data address comparisons are not supported.
[7:4] NUMDVC Indicates the number of data value comparators available for tracing. This value is:
0x0 No data value comparators are available.
[3:0] NUMRSPAIRS Indicates the number of address comparator pairs available for tracing. This value is:
0x4 Four address comparator pairs are available.
The TRCIDR4 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x1F0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-489
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Configurations
Available in all configurations.
Attributes
See 13.6 Register summary on page 13-464.
The following figure shows the TRCIDR5 bit assignments.
31 30 28 27 25 24 23 22 21 16 15 12 11 9 8 0
ATBTRIG NUMEXTINSEL
LPOVERRIDE
Reserved
NUMSEQSTATE
NUMCNTR
REDFUNCNTR
[31] REDFUNCNTR Indicates whether the reduced function counter is implemented. This value is:
0 Reduced function counter is not supported.
[30:28] NUMCNTR Indicates the number of counters available for tracing. This value is:
0b010 Two counters are available.
[27:25] NUMSEQSTATE Indicates the number of sequencer states implemented. This value is:
0b100 Four sequencer states are implemented.
[23] LPOVERRIDE Indicates whether low power state override is supported. This value is:
0 Low power state override is not supported.
[22] ATBTRIG Indicates whether ATB triggers are supported. This value is:
1 ATB triggers are supported and the TRCEVENTCTL1R.ATBTRIG field is implemented.
Note
The CoreSight ATB requires a 7-bit trace ID width.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-490
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[11:9] NUMEXTINSEL Indicates the number of external input select resources are implemented. If NUMEXTINSEL is 0,
NUMEXTIN must also be 0. This value is:
0b100 Four external input select resources are implemented.
[8:0] NUMEXTIN Indicates the number of external inputs are implemented. This value is:
0b001101110 110 external inputs are implemented.
The TRCIDR5 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0x1F4.
Usage constraints
• Only accepts writes when the trace unit is disabled.
• If software selects an non-implemented resource then constrained UNPREDICTABLE behavior of
the resource selector occurs. The resource selector might activate unexpectedly or might not
activate. Reads of the TRCRSCTLRn might return UNKNOWN.
Configurations
Resource selectors are implemented in pairs and there are eight pairs of TRCRSCTLR registers
implemented, set by TRCIDR4.NUMRSPAIR. Each odd numbered resource selector is part of a
pair with the even numbered resource selector that is numbered as one less than it. For example,
resource selectors 2 and 3 form a pair.
Resource selector pair 0 is always implemented and is reserved. Resource selector zero always
returns FALSE, and resource selector one always returns TRUE.
Attributes
A 32-bit RW trace register.
See 13.6 Register summary on page 13-464.
The following figure shows the TRCRSCTLRn bit assignments.
31 22 21 20 19 18 16 15 8 7 0
Reserved
INV
PAIRINV
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-491
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[21] PAIRINV Controls whether the combined result from a resource pair is inverted when n is 2, 4, 6, 8, 10, 12, or 14. The
possible values are:
0 The combined result is not inverted.
1 The combined result is inverted.
[20] INV Controls whether the resource, that GROUP and SELECT selects, is inverted. The possible values are:
0 The selected resource is not inverted.
1 The selected resource is inverted.
[18:16] Group Selects a group of resources. See the ARM® Embedded Trace Macrocell Architecture Specification, ETMv4 for
more information.
[7:0] Select Selects one or more resources from the group that the GROUP field selects. Each bit represents a resource from
the selected group. See the ARM® Embedded Trace Macrocell Architecture Specification, ETMv4 for more
information.
The TRCRSCTLRn can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x208-023C.
Note
The range of n for TRCACATRn is 0 to 7.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-492
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Usage constraints
• Only accepts writes when the trace unit is disabled.
• Constrained UNPREDICTABLE behavior of a comparator resource occurs if:
— TYPE is 0 and DATAMATCH is 0b01, 0b10, or 0b11.
— DATAMATCH is 0b01, 0b10, or 0b11 and software programs an address comparator to
control ViewData.
In these scenarios, the comparator might match unexpectedly or might not match.
• If software uses two single address comparators as an address range comparator then it must
program the corresponding TRCACATRs with identical values in the following fields:
— TYPE.
— CONTEXTTYPE.
— CONTEXT.
— EXLEVEL_S.
— EXLEVEL_NS.
Configurations
The number TRCACATRs is eight and is set by twice the size of TRCIDR4.NUMACPAIRS.
Attributes
A 64-bit RW trace register.
See 13.6 Register summary on page 13-464.
The following figure shows the TRCACATRn bit assignments.
63 16 15 12 11 8 7 4 3 2 1 0
Reserved Type
[15:12] EXLEVEL_NS Each bit controls whether a comparison can occur in Non-secure state for the corresponding Exception
level. The possible values are:
0 The trace unit can perform a comparison, in Non-secure state, for Exception level n.
1 The trace unit does not perform a comparison, in Non-secure state, for Exception level n.
Note
The bit to Exception level mapping is:
Bit[12] Exception level 0.
Bit[13] Exception level 1.
Bit[14] Exception level 2.
Bit[15] Always RES0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-493
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[11:8] EXLEVEL_S Each bit controls whether a comparison can occur in Secure state for the corresponding Exception level.
The possible values are:
0 The trace unit can perform a comparison, in Secure state, for Exception level n.
1 The trace unit does not perform a comparison, in Secure state, for Exception level n.
Note
The bit to Exception level mapping is:
Bit[8] Exception level 0.
Bit[9] Exception level 1.
Bit[10] Always RES0.
Bit[11] Exception level 3.
[3:2] Context type Controls whether the trace unit performs a Context ID comparison, a VMID comparison, or both
comparisons:
0b00 The trace unit does not perform a Context ID comparison.
0b01 The trace unit performs a Context ID comparison using the Context ID comparator that the
CONTEXT field specifies, and signals a match if both the Context ID comparator matches and the
address comparator match.
0b10 The trace unit performs a VMID comparison using the VMID comparator that the CONTEXT field
specifies, and signals a match if both the VMID comparator and the address comparator match.
0b11 The trace unit performs a Context ID comparison and a VMID comparison using the comparators
that the CONTEXT field specifies, and signals a match if the Context ID comparator matches, the
VMID comparator matches, and the address comparator matches.
The TRCACATRn can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x480-0x4B8.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-494
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
63 32 31 0
The TRCCIDCVR0 can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x600.
The TRCVMIDCVR0 can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x640.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-495
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Configurations
There is one Context ID comparator, set by TRCIDR4.NUMCIDC.
Attributes
A 32-bit RW trace register.
See 13.6 Register summary on page 13-464.
The following figure shows the TRCCIDCCTLR0 bit assignments.
31 4 3 0
Reserved COMP0
[3:0] COMP0 Controls the mask value that the trace unit applies to TRCCIDCVR0. Each bit in this field corresponds to a byte in
TRCCIDCVR0. When a bit is:
0 The trace unit includes the relevant byte in TRCCIDCVR0 when it performs the Context ID comparison.
1 The trace unit ignores the relevant byte in TRCCIDCVR0 when it performs the Context ID comparison.
The TRCCIDCCTLR0 can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0x680.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-496
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
31 12 11 8 7 0
Reserved Reserved
ETMEXTOUT[3:0]
The TRCITMISCOUT can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0xEDC.
Related information
13.7.34 Trace Integration Mode Control register on page 13-501.
Reserved
ETMEXTIN[3:0]
The TRCITMISCIN can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0xEE0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-497
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Related information
13.7.34 Trace Integration Mode Control register on page 13-501.
RES0
ATDATAM[31]
ATDATAM[23]
ATDATAM[15]
ATDATAM[7]
ATDATAM[0]
The TRCITATBDATA0 can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0xEEC.
Related information
13.7.34 Trace Integration Mode Control register on page 13-501.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-498
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Usage constraints
There are no usage constraints.
Configurations
Available in all configurations.
Attributes
See 13.6 Register summary on page 13-464.
The following figure shows the TRCITATBCTR2 bit assignments.
31 2 1 0
Reserved
AFVALIDM
ATREADYM
The TRCITATBCTR2 can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0xEF0.
Related information
13.7.34 Trace Integration Mode Control register on page 13-501.
Reserved ATIDM[6:0]
ez To sample ATREADYM correctly from the processor signals, ATVALIDM must be asserted.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-499
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
The TRCITATBCTR2 can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0xEF4.
Related information
13.7.34 Trace Integration Mode Control register on page 13-501.
RES0 RES0
ATBYTESM[1:0] AFREADYM
ATVALIDM
The TRCITATBCTR0 can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0xEF8.
Related information
13.7.34 Trace Integration Mode Control register on page 13-501.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-500
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Reserved
IME
[0] IME Integration mode enable bit. The possible values are:
0 The trace unit is not in integration mode.
1 The trace unit is in integration mode. This mode enables:
• A debug agent to perform topology detection.
• SoC test software to perform integration testing.
The TRCITCTRL can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xF00.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-501
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Configurations
Available in all configurations.
Attributes
A 32-bit RO management register.
For the Cortex-A72 processor, MPIDR_EL1[31:0] is architecturally mapped to the AArch32
register MPIDR.
See 13.6 Register summary on page 13-464.
The TRCDEVAFF0 can be accessed through the internal memory-mapped interface and the external
debug interface, offset 0xFA8.
Related information
4.5.3 Multiprocessor Affinity Register on page 4-240.
The Trace Peripheral Identification Registers provide standard information required for all CoreSight
components. There is a set of eight registers, listed in register number order in the following table.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-502
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Only bits[7:0] of each Trace Peripheral ID Register are used, with bits[31:8] reserved. Together, the eight
Trace Peripheral ID Registers define a single 64-bit Peripheral ID.
The Peripheral ID registers are:
• Trace Peripheral Identification Register 0 on page 13-503.
• Trace Peripheral Identification Register 1 on page 13-503.
• Trace Peripheral Identification Register 2 on page 13-504.
• Trace Peripheral Identification Register 3 on page 13-505.
• Trace Peripheral Identification Register 4 on page 13-505.
• Trace Peripheral Identification Register 5-7 on page 13-506.
Reserved Part_0
[7:0] Part_0 0x5A Least significant byte of the ETM part number.
TRCPIDR0 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFE0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-503
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Attributes
A 32-bit RO management register.
See 13.6 Register summary on page 13-464.
The following figure shows the TRCPIDR1 bit assignments.
31 8 7 4 3 0
[7:4] DES_0 0xB ARM Limited. This is the least significant nibble of JEP106 ID code.
[3:0] Part_1 0x9 Most significant nibble of the ETM part number.
TRCPIDR1 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFE4.
JEDEC
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-504
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
[2:0] DES_1 0b011 ARM Limited. This is the most significant nibble of JEP106 ID code.
TRCPIDR2 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFE8.
TRCPIDR3 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFEC.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-505
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Purpose
Provides information to identify a trace component.
Usage constraints
• Only bits[7:0] are valid.
• Accessible only from the memory-mapped interface or the external debugger interface.
Configurations
Available in all implementations.
Attributes
A 32-bit RO management register.
See 13.6 Register summary on page 13-464.
The following figure shows the TRCPIDR4 bit assignments.
31 8 7 4 3 0
[7:4] Size 0x0 Size of the component. Log2 the number of 4KB pages from the start of the component to the end of the ETM
component ID registers.
[3:0] DES_2 0x4 ARM Limited. This is the least significant nibble of the JEP106 continuation code.
TRCPIDR4 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFD0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-506
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Reserved PRMBL_0
TRCCIDR0 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFF0.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-507
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
31 8 7 4 3 0
TRCCIDR1 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFF4.
Reserved PRMBL_2
TRCCIDR2 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFF8.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-508
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.7 Register descriptions
Purpose
Provides information to identify a trace component.
Usage constraints
• Only bits[7:0] are valid.
• Accessible only from the memory-mapped interface or the external debugger interface.
Configurations
Available in all implementations.
Attributes
See 13.6 Register summary on page 13-464.
The following figure shows the TRCCIDR3 bit assignments.
31 8 7 0
Reserved PRMBL_3
TRCCIDR3 can be accessed through the internal memory-mapped interface and the external debug
interface, offset 0xFFC.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-509
reserved.
Non-Confidential
13 Embedded Trace Macrocell
13.8 Interaction with debug and the Performance Monitor Unit
The Cortex-A72 processor includes a Performance Monitor Unit (PMU) that enables events, such as
cache misses and instructions executed, to be counted over a period of time. This section describes how
the PMU and ETM function together.
All PMU architectural events are available to the ETM through the extended input facility. See the ARM®
Architectural Reference Manual ARMv8 for more information about PMU events.
The ETM uses four extended external input selectors to access the PMU events. Each selector can
independently select one of the PMU events, that are then active for the cycles where the relevant events
occur. These selected events can then be accessed by any of the event registers within the ETM.
Related information
Chapter 11 Performance Monitor Unit on page 11-395.
All trace register accesses through the memory-mapped and external debug interfaces behave as if the
processor power domain is powered down when debug double lock is set. For more information on
debug double lock, see the ARM® Architecture Reference Manual ARMv8.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 13-510
reserved.
Non-Confidential
Chapter 14
Advanced SIMD and Floating-point
This chapter describes the Advanced SIMD and Floating-point features and registers in the Cortex-A72
processor.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-511
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.1 About Advanced SIMD and Floating-point
The Cortex-A72 processor supports all addressing modes, data types, and operations of the Advanced
SIMD instructions.
The Cortex-A72 processor supports all addressing modes, data types, and operations of the Floating-
point instructions. It does not support floating-point exception trapping.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-512
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.2 Programmers model for Advanced SIMD and Floating-point
You can access the feature identification registers in AArch32 state using the VMRS instruction, for
example:
VMRS <Rt>, FPSID ; Read FPSID into Rt
VMRS <Rt>, MVFR0 ; Read MVFR0 into Rt
VMRS <Rt>, MVFR1 ; Read MFFR1 into Rt
VMRS <Rt>, MVFR2 ; Read MVFR2 into Rt
The following table lists the feature identification registers for the Advanced SIMD and Floating-point.
MVFR0_EL1 MVFR0 See 14.4.3 Media and VFP Feature Register 0, EL1 on page 14-518
MVFR1_EL1 MVFR1 See 14.4.4 Media and VFP Feature Register 1, EL1 on page 14-519
MVFR2_EL1 MVFR2 See 14.4.5 Media and VFP Feature Register 2, EL1 on page 14-520
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-513
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.3 AArch64 register summary
MVFR0_EL1 RO 0x10110222 See 14.4.3 Media and VFP Feature Register 0, EL1 on page 14-518
MVFR1_EL1 RO 0x12111111 See 14.4.4 Media and VFP Feature Register 1, EL1 on page 14-519
MVFR2_EL1 RW 0x00000043 See 14.4.5 Media and VFP Feature Register 2, EL1 on page 14-520
FPEXC32_EL2 RW 0x00000700 See 14.4.6 Floating-point Exception Control Register 32, EL2 on page 14-521
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-514
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.4 AArch64 register descriptions
RW RW RW RW RW RW
Configurations
The FPCR is part of the Floating-point functional group.
The named fields in this register map to the equivalent fields in the AArch32 FPSCR.
Attributes
See the register summary in Table 14-2 AArch64 Advanced SIMD and Floating-point System
registers on page 14-514.
The following figure shows the FPCR bit assignments.
31 27 26 25 24 23 22 21 0
RES0 RES0
AHP RMode
DN FZ
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-515
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.4 AArch64 register descriptions
RW RW RW RW RW RW
Configurations
The FPSR is part of the Floating-point functional group.
The named fields in this register map to the equivalent fields in the AArch32 FPSCR.
Attributes
See the register summary in Table 14-2 AArch64 Advanced SIMD and Floating-point System
registers on page 14-514.
The following figure shows the FPSR bit assignments.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-516
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.4 AArch64 register descriptions
31 30 29 28 27 26 8 7 6 5 4 3 2 1 0
N Z C V RES0 RES0
[27] QC Cumulative saturation bit, Advanced SIMD only. This bit is set to 1 to indicate that an Advanced SIMD integer
operation has saturated since 0 was last written to this bit.
[7] IDC Input Denormal cumulative exception bit. This bit is set to 1 to indicate that the Input Denormal exception has
occurred since 0 was last written to this bit.
[4] IXC Inexact cumulative exception bit. This bit is set to 1 to indicate that the Inexact exception has occurred since 0 was
last written to this bit.
[3] UFC Underflow cumulative exception bit. This bit is set to 1 to indicate that the Underflow exception has occurred since 0
was last written to this bit.
[2] OFC Overflow cumulative exception bit. This bit is set to 1 to indicate that the Overflow exception has occurred since 0
was last written to this bit.
[1] DZC Division by Zero cumulative exception bit. This bit is set to 1 to indicate that the Division by Zero exception has
occurred since 0 was last written to this bit.
[0] IOC Invalid Operation cumulative exception bit. This bit is set to 1 to indicate that the Invalid Operation exception has
occurred since 0 was last written to this bit.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-517
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.4 AArch64 register descriptions
- RO RO RO RO RO
Configurations
MVFR0_EL1 is:
• Common to Secure and Non-secure states
• Architecturally mapped to AArch32 MVFR0 register.
Attributes
See the register summary in Table 14-2 AArch64 Advanced SIMD and Floating-point System
registers on page 14-514.
The following figure shows the MVFR0_EL1 bit assignments.
31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
[31:28] FPRound Indicates the rounding modes supported by the FP floating-point hardware:
0x1 All rounding modes supported.
[23:20] FPSqrt Indicates the hardware support for FP square root operations:
0x1 Supported.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-518
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.4 AArch64 register descriptions
[15:12] FPTrap Indicates whether the FP hardware implementation supports exception trapping:
0x0 Not supported.
See the ARM® Architecture Reference Manual ARMv8 for more information.
See the ARM® Architecture Reference Manual ARMv8 for more information.
[3:0] SIMDReg Indicates support for the Advanced SIMD register bank:
0x2 32× 64-bit registers supported.
See the ARM® Architecture Reference Manual ARMv8 for more information.
To access the MVFR0_EL1 register, see 14.2 Programmers model for Advanced SIMD and Floating-
point on page 14-513.
- RO RO RO RO RO
Configurations
The MVFR1_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to AArch32 MVFR1 register.
Attributes
See the register summary in Table 14-2 AArch64 Advanced SIMD and Floating-point System
registers on page 14-514.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-519
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.4 AArch64 register descriptions
[31:28] SIMDFMAC Indicates whether the Advanced SIMD or FP supports fused multiply accumulate operations:
0x1 Supported.
[27:24] FPHP Indicates whether the FP supports half-precision floating-point conversion operations:
0x2 Supported.
[23:20] SIMDHP Indicates whether the Advanced SIMD supports half-precision floating-point conversion operations:
0x1 Supported.
[19:16] SIMDSP Indicates whether the Advanced SIMD supports single-precision floating-point operations:
0x1 Supported.
[15:12] SIMDInt Indicates whether the Advanced SIMD supports integer operations:
0x1 Supported.
[11:8] SIMDLS Indicates whether the Advanced SIMD supports load/store instructions:
0x1 Supported.
[7:4] FPDNaN Indicates whether the FP hardware implementation supports only the Default NaN mode:
0x1 Hardware supports propagation of NaN values.
[3:0] FPFtZ Indicates whether the FP hardware implementation supports only the Flush-to-zero mode of operation:
0x1 Hardware supports full denormalized number arithmetic.
To access the MVFR1_EL1 register, see 14.2 Programmers model for Advanced SIMD and Floating-
point on page 14-513.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-520
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.4 AArch64 register descriptions
Usage constraints
The accessibility to the MVFR2_EL1 in AArch64 state by Exception level is:
- RO RO RO RO RO
Configurations
The MVFR2_EL1 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to AArch32 MVFR2 register.
Attributes
See the register summary in Table 14-2 AArch64 Advanced SIMD and Floating-point System
registers on page 14-514.
The following figure shows the MVFR2_EL1 bit assignments.
31 8 7 4 3 0
[3:0] SIMDMisc Advanced SIMD miscellaneous features supported. This value is:
0b011 Includes support for the following features:
• Floating-point Conversion to Integer with Directed Rounding modes.
• Floating-point Round to Integral floating-point.
• Floating-point MaxNum and MinNum.
To access the MVFR2_EL1 register, see 14.2 Programmers model for Advanced SIMD and Floating-
point on page 14-513.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-521
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.4 AArch64 register descriptions
Purpose
Provides access to the AArch32 register FPEXC from AArch64 state only. Its value has no
effect on execution in AArch64 state.
Usage constraints
The accessibility to the FPEXC32_EL2 in AArch64 state by Exception level is:
- - - RW RW RW
Configurations
The FPEXC32_EL2 is:
• Common to Secure and Non-secure states.
• Architecturally mapped to AArch32 FPEXC register.
Attributes
See the register summary in Table 14-2 AArch64 Advanced SIMD and Floating-point System
registers on page 14-514.
The following figure shows the FPEXC32_EL2 bit assignments.
31 30 29 11 10 8 7 0
[31] EX Exception bit. The Cortex-A72 processor implementation does not generate asynchronous
FP exceptions, so this bit is RES0.
[30] EN bit, VFPdescriptionVFP Enable bit. A global enable for the Advanced SIMD and FP functions:
enable bitdescriptionEN
0 The Advanced SIMD and FP functions are disabled.
1 The Advanced SIMD and FP functions are enabled and operate normally.
The EN bit is cleared at reset. See the ARM® Architecture Reference Manual ARMv8 for
more information.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-522
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.4 AArch64 register descriptions
To access the FPEXC_EL2 register, see 14.2 Programmers model for Advanced SIMD and Floating-
point on page 14-513.
Note
The Cortex-A72 processor implementation does not support deprecated FP short vector feature. You can
use software to emulate the short vector feature, if required.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-523
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.5 AArch32 register summary
FPSCR RW 0x00000000 See 14.6.2 Floating-point Status and Control Register on page 14-526
MVFR0 RO 0x10110222 See 14.4.3 Media and VFP Feature Register 0, EL1 on page 14-518
MVFR1 RO 0x12111111 See 14.4.4 Media and VFP Feature Register 1, EL1 on page 14-519
MVFR2 RW 0x00000043 See 14.4.5 Media and VFP Feature Register 2, EL1 on page 14-520
FPEXC RW 0x00000700 See 14.4.6 Floating-point Exception Control Register 32, EL2 on page 14-521
Note
The Floating-point Instruction Registers, FPINST and FPINST2 are not implemented, and any attempt to
access them is UNPREDICTABLE.
See the ARM® Architecture Reference Manual ARMv8 for information about permitted accesses to the
Advanced SIMD and Floating-point System registers.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-524
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.6 AArch32 register descriptions
Configurations
The FPSID is Common to Secure and Non-secure states.
Attributes
See the register summary in Table 14-9 AArch32 Advanced SIMD and Floating-point System
registers on page 14-524.
The following figure shows the FPSID bit assignments.
31 24 23 22 16 15 8 7 4 3 0
SW
[23] SW Software bit. This bit indicates whether a system provides only software emulation of the floating-point
instructions:
0x0 The system includes hardware support for floating-point operations.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-525
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.6 AArch32 register descriptions
[15:8] PartNum Indicates the part number for the floating-point implementation:
0x40 VFP.
[3:0] Revision Indicates the revision number for the floating-point implementation:
0x0 Revision.
To access the FPSID register, see 14.2 Programmers model for Advanced SIMD and Floating-point
on page 14-513.
Configurations
The FPSCR is Common to Secure and Non-secure states.
The named fields in this register map to the equivalent fields in the AArch64 FPCR and FPSR.
Attributes
See the register summary in Table 14-9 AArch32 Advanced SIMD and Floating-point System
registers on page 14-524.
The following figure shows the FPSCR bit assignments.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 16 15 8 7 6 5 4 3 2 1 0
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-526
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.6 AArch32 register descriptions
The value of this bit only controls FP arithmetic. In AArch32 state, Advanced SIMD arithmetic always uses the
Default NaN setting, regardless of the value of the DN bit.
The value of this bit only controls FP arithmetic. In AArch32 state, Advanced SIMD arithmetic always uses the
Flush-to-zero setting, regardless of the value of the FZ bit.
The specified rounding mode is used by almost all FP floating-point instructions. In AArch32 state, Advanced
SIMD arithmetic always uses the Round to Nearest setting, regardless of the value of the RMode bits.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-527
reserved.
Non-Confidential
14 Advanced SIMD and Floating-point
14.6 AArch32 register descriptions
[7] IDC Input Denormal cumulative exception bit. This bit is set to 1 to indicate that the Input Denormal exception has
occurred since 0 was last written to this bit.
[4] IXC Inexact cumulative exception bit. This bit is set to 1 to indicate that the Inexact exception has occurred since 0 was
last written to this bit.
[3] UFC Underflow cumulative exception bit. This bit is set to 1 to indicate that the Underflow exception has occurred since
0 was last written to this bit.
[2] OFC Overflow cumulative exception bit. This bit is set to 1 to indicate that the Overflow exception has occurred since 0
was last written to this bit.
[1] DZC Division by Zero cumulative exception bit. This bit is set to 1 to indicate that the Division by Zero exception has
occurred since 0 was last written to this bit.
[0] IOC Invalid Operation cumulative exception bit. This bit is set to 1 to indicate that the Invalid Operation exception has
occurred since 0 was last written to this bit.
To access the FPSCR register, see 14.2 Programmers model for Advanced SIMD and Floating-point
on page 14-513.
Related information
14.4.1 Floating-point Control Register on page 14-515.
14.4.2 Floating-point Status Register on page 14-516.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights 14-528
reserved.
Non-Confidential
Appendix A
Signal Descriptions
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-529
reserved.
Non-Confidential
A Signal Descriptions
A.1 About the signal descriptions
The tables in this appendix list the Cortex-A72 processor signals, along with their direction, input or
output, and a high-level description.
Some of the buses include a configurable width field, <signal>[N:0], where N = 0, 1, 2, or 3, to encode
up to four cores. For example:
• nIRQ[0] represents a core 0 interrupt request.
• nIRQ[2] represents a core 2 interrupt request.
Some signals are specified in the form <signal>x, where x = 0, 1, 2 or 3 references core 0, core 1, core 2,
or core 3, respectively. If a core is not present, the corresponding pin is removed. For example:
• PMUEVENT0[24:0] represents the core 0 PMU event bus.
• PMUEVENT3[24:0] represents the core 3 PMU event bus.
The number of signals changes depending on the configuration. For example, the CHI interface signals
are not present when the processor is configured to have an ACE interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-530
reserved.
Non-Confidential
A Signal Descriptions
A.2 Clock signals
CLKEN Input Global clock enable. This signal can only be deasserted when all the cores in the processor device and the L2 are in
WFI low-power state, and the ACE/CHI and ACP interfaces are idle.
Related information
2.3 Clocking and resets on page 2-32.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-531
reserved.
Non-Confidential
A Signal Descriptions
A.3 Reset signals
The following table shows the reset and reset control signals.
This output is controlled by Reset request bit in the Reset Management Register (RMR or
RMR_EL3).
Related information
2.3.2 Resets on page 2-36.
2.3 Clocking and resets on page 2-32.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-532
reserved.
Non-Confidential
A Signal Descriptions
A.4 Configuration signals
CFGEND[N:0] Input Individual core control of the endianness configuration at reset. It sets the initial value of the EE
bit in the System Control Register (SCTLR or SCTLR_EL3):
0 EE bit is 0.
1 EE bit is 1.
VINITHI[N:0] Input Individual core control of the location of the exception vectors at reset. It sets the initial value of
the V bit in the CP15 System Control Register (SCTLR when the highest Exception level is
AArch32):
0 Exception vectors start at address 0x00000000.
1 Exception vectors start at address 0xFFFF0000.
CFGTE[N:0] Input Individual core control of the default exception handling state. It sets the initial value of the TE
bit in the CP15 System Control Register (SCTLR when the highest Exception level is AArch32):
0 TE bit is 0.
1 TE bit is 1.
CP15SDISABLE[N:0] Input Disable write access to some Secure CP15 registers. See 4.1.1 Registers affected by
CP15SDISABLE on page 4-74.
CLUSTERIDAFF1[7:0] Input Value read in the Cluster ID Affinity Level-1 field, bits[15:8], of the Multiprocessor Affinity
Register (MPIDR).
This signal is only sampled during powerup reset of the processor.
CLUSTERIDAFF2[7:0] Input Value read in the Cluster ID Affinity Level-2 field, bits[23:16], of the Multiprocessor Affinity
Register (MPIDR).
This signal is only sampled during powerup reset of the processor.
AA64nAA32[N:0] Input Individual core register width state. The register width states are:
0 AArch32.
1 AArch64.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-533
reserved.
Non-Confidential
A Signal Descriptions
A.4 Configuration signals
RVBARADDRx[43:2]fa Input Reset Vector Base Address for executing in AArch64 state. This signal is only sampled during
reset of the processor.
This signal is only sampled during powerup reset of the processor. This signal only exists if the
processor implements the Cryptography Extension.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-534
reserved.
Non-Confidential
A Signal Descriptions
A.5 GIC CPU interface signals
The following table shows the Generic Interrupt Controller (GIC) CPU interface signals.
nIRQ[N:0] Input Individual core IRQ request input. Active-LOW, interrupt request:
0 Activate IRQ request.
1 Do not activate IRQ request.
The processor treats nIRQ as level-sensitive. nIRQ must remain asserted until the processor
acknowledges the interrupt.
This signal is only used when IRQ is in bypass mode, and used as legacy IRQ.
nFIQ[N:0] Input Individual processor FIQ request input. Active-LOW, FIQ request:
0 Activate FIQ request.
1 Do not activate FIQ request.
The processor treats nFIQ as level-sensitive. nFIQ must remain asserted until the processor
acknowledges the interrupt.
This signal is only used when FIQ is in bypass mode, and used as legacy FIQ.
nVIRQ[N:0] Input Individual processor virtual IRQ request input. Active-LOW, virtual IRQ request:
0 Activate virtual IRQ request.
1 Do not activate virtual IRQ request.
The processor treats nVIRQ as level-sensitive. nVIRQ must remain asserted until the processor
acknowledges the interrupt.
nVFIQ[N:0] Input Individual processor virtual FIQ request input. Active-LOW, virtual FIQ request:
0 Activate virtual FIQ request.
1 Do not activate virtual FIQ request.
The processor treats nVFIQ as level-sensitive. nVFIQ must remain asserted until the processor
acknowledges the interrupt.
nSEI[N:0] Input Individual processor System Error Interrupt request. Active-LOW, SEI request:
0 Activate SEI request.
1 Do not activate SEI request.
The processor treats nSEI as edge-sensitive. The nSEI signal must be sent as a pulse to the
processor.
nREI[N:0] Input Individual core RAM Error Interrupt request. Active-LOW, REI request.
0 Activate REI request. Reports an asynchronous RAM error in the system.
1 Do not activate REI request.
The processor treats nREI as edge-sensitive. nREI must be sent as a pulse to the processor.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-535
reserved.
Non-Confidential
A Signal Descriptions
A.5 GIC CPU interface signals
nVSEI[N:0] Input Individual core virtual System Error Interrupt request. Active-LOW, virtual SEI request:
0 Activate virtual SEI request.
1 Do not activate virtual SEI request.
The processor treats nVSEI as edge-sensitive. nVSEI must be sent as a pulse to the processor.
nVCPUMNTIRQ[N:0] Output Individual core virtual CPU interface maintenance interrupt request. Processor N sets this signal
LOW to issue a maintenance interrupt request to the external Distributor.
PERIPHBASE[43:18] Input Specifies the base address for the GIC registers. This value is sampled into the Configuration Base
Address Register (CBAR) at reset.
GICCDISABLE Input Disables the GIC CPU interface logic and routes the legacy nIRQ, nFIQ, nVIRQ, and nVFIQ
signals directly to the processor:
0 Enable the GIC CPU interface logic.
1 Disable the GIC CPU interface logic.
ICDTVALID Input When HIGH it indicates that the Distributor is driving a valid transfer.
ICDTREADY Output When HIGH it indicates that the processor can accept a transfer in the current cycle.
ICDTDATA[15:0] Input The primary payload that passes data from the Distributor to the processor.
ICDTDEST[1:0] Input Provides routing information for the data stream from the Distributor.
ICCTVALID Output When HIGH it indicates that the processor is driving a valid transfer.
ICCTREADY Input When HIGH it indicates that the Distributor can accept a transfer in the current cycle.
ICCTDATA[15:0] Output The primary payload that passes data from the processor to the Distributor.
ICCTID[1:0] Output The data stream identifier that indicates different streams of data.
Related information
4.3.70 Configuration Base Address Register, EL1 on page 4-212.
4.5.24 Configuration Base Address Register on page 4-274.
GICCDISABLE bypass mode on page 8-323.
fc See the ARM® AMBA® AXI4-Stream Protocol Specification for more information.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-536
reserved.
Non-Confidential
A Signal Descriptions
A.6 Generic Timer signals
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-537
reserved.
Non-Confidential
A Signal Descriptions
A.7 Power control signals
EVENTI Input Event input for processor wake-up from WFE low-power state. When this signal is asserted, it acts
as a WFE wake-up event to all the processors in the MPCore device. This signal must be asserted
for at least one CLK cycle.
EVENTO Output Event output. This signal is asserted HIGH for three CLK cycles when any of the processors in the
MPCore device executes an SEV instruction.
CLREXMONREQ Input Clearing of the external global exclusive monitor request. When this signal is asserted, it acts as a
WFE wake-up event to all the processors in the MPCore device.
STANDBYWFIL2 Output Indicates whether the L2 is in WFI low-power state. This signal is active when the following are
true:
• All processors are in WFI low-power state.
• ACINACTM or SINACT and AINACTS are asserted HIGH.
• L2 memory system is idle.
CPUQREQn[N:0] Input The power controller sets this signal LOW, to request that processor N enters retention state.
CPUQACCEPTn[N:0] Output This signal goes LOW, if processor N accepts the power controller retention request.
CPUQDENY[N:0] Output When HIGH, it indicates that processor N denies the power controller retention request.
L2QACTIVE Output When HIGH, it indicates that the L2 Data and Tag RAMs are active.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-538
reserved.
Non-Confidential
A Signal Descriptions
A.7 Power control signals
L2QREQn Input The power controller sets this signal LOW, to request that the L2 Data and Tag RAMs enter
retention state.
L2QACCEPTn Output This signal goes LOW, if the L2 Data and Tag RAMs accept the power controller retention request.
L2QDENY Output When HIGH, it indicates that the L2 Data and Tag RAMs deny the power controller retention
request.
Related information
Event communication using WFE and SEV instructions on page 2-43.
CLREXMON request and acknowledge signaling on page 2-43.
4.3.67 CPU Extended Control Register, EL1 on page 4-206.
Processor dynamic retention on page 2-46.
L2 RAMs dynamic retention on page 2-48.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-539
reserved.
Non-Confidential
A Signal Descriptions
A.8 ACE and CHI interface signals
The following table shows the configuration signals that are common to the ACE and CHI interfaces.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-540
reserved.
Non-Confidential
A Signal Descriptions
A.8 ACE and CHI interface signals
Related information
7.7.2 Interface modes on page 7-311.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-541
reserved.
Non-Confidential
A Signal Descriptions
A.8 ACE and CHI interface signals
nEXTERRIRQ Output Error indicator for an AXI or CHI write transaction with a write response error condition.
Writing 0 to bit[29] of the L2ECTLR clears the error indicator.
Related information
4.3.59 L2 Extended Control Register, EL1 on page 4-172.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-542
reserved.
Non-Confidential
A Signal Descriptions
A.9 CHI interface signals
Note
This interface only exists if the processor implements the CHI interface.
The following table shows the clock and configuration signals for the CHI interface.
NODEID[6:0] Input CHI node identifier. This signal is only sampled during powerup reset of the processor.
The following table shows the transmit request virtual channel signals for the CHI interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-543
reserved.
Non-Confidential
A Signal Descriptions
A.9 CHI interface signals
The following table shows the transmit response virtual channel signals for the CHI interface.
The following table shows the transmit data virtual channel signals for the CHI interface.
The following table shows the receive snoop virtual channel signals for the CHI interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-544
reserved.
Non-Confidential
A Signal Descriptions
A.9 CHI interface signals
The following table shows the receive response virtual channel signals for the CHI interface.
The following table shows the receive data virtual channel signals for the CHI interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-545
reserved.
Non-Confidential
A Signal Descriptions
A.9 CHI interface signals
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-546
reserved.
Non-Confidential
A Signal Descriptions
A.9 CHI interface signals
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-547
reserved.
Non-Confidential
A Signal Descriptions
A.10 ACE interface signals
Note
This interface only exists if the processor implements the ACE interface.
The following table shows the clock and configuration signals for the ACE interface.
Related information
2.3 Clocking and resets on page 2-32.
The following table shows the write address channel signals for the ACE master interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-548
reserved.
Non-Confidential
A Signal Descriptions
A.10 ACE interface signals
AWUNIQUEM Output Indicates the write operation for a WriteBack, WriteClean, or WriteEvict transaction is:
0 Shared.
1 Unique.
The following table shows the write data signals for the AXI master interface.
The following table shows the write response channel signals for the ACE interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-549
reserved.
Non-Confidential
A Signal Descriptions
A.10 ACE interface signals
The following table shows the read address channel signals for the ACE interface.
The following table shows the read data channel signals for the ACE interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-550
reserved.
Non-Confidential
A Signal Descriptions
A.10 ACE interface signals
The following table shows the snoop address channel signals for the ACE interface.
The following table shows the snoop response channel signals for the AXI master interface.
The following table shows the snoop data channel handshake signals for the ACE interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-551
reserved.
Non-Confidential
A Signal Descriptions
A.10 ACE interface signals
The following table shows the read/write acknowledge signals for the AXI master interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-552
reserved.
Non-Confidential
A Signal Descriptions
A.11 ACP interface signals
Note
These signals only exist if the processor is configured to have an ACP interface.
The following table shows the clock and configuration signals for the ACP interface.
AINACTS Input ACP inactive control. When this signal is HIGH, the ACP stops accepting requests by deasserting ARREADYS
and AWREADYS. When AINACTS is asserted, the SoC must not assert ARVALIDS, AWVALIDS, or
WVALIDS.
Related information
2.3.1 Clocks on page 2-32.
2.4.1 Dynamic power management on page 2-42.
The following table shows the write address channel signals for the ACP interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-553
reserved.
Non-Confidential
A Signal Descriptions
A.11 ACP interface signals
Note
The ACP interface uses the AXI4 defined default values for the following input signals:
0b100 AWSIZES[2:0].
0b01 AWBURSTS[1:0].
0b0 AWLOCKS.
Related information
7.8.2 ACP ARUSER and AWUSER signals on page 7-317.
The following table shows the write data channel signals for the ACP interface.
The following table shows the write response channel signals for the ACP interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-554
reserved.
Non-Confidential
A Signal Descriptions
A.11 ACP interface signals
The following table shows the read address channel signals for the ACP interface.
Note
The ACP interface uses the AXI4 defined default values for the following input signals:
0b100 ARSIZES[2:0].
0b01 ARBURSTS[1:0].
0b0 ARLOCKS.
Related information
7.8.2 ACP ARUSER and AWUSER signals on page 7-317.
The following table shows the read data channel signals for the ACP interface.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-555
reserved.
Non-Confidential
A Signal Descriptions
A.12 Debug interface signals
PENABLEDBG Input Indicates the second and subsequent cycles of an APB transfer.
PREADYDBG Output APB slave ready. An APB slave can assert PREADYDBG to extend a transfer by inserting wait
states.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-556
reserved.
Non-Confidential
A Signal Descriptions
A.12 Debug interface signals
DBGROMADDR[43:12] Input Specifies bits[43:12] of the top-level ROM table Physical Address.
If the address cannot be determined, tie this signal LOW.
This signal is only sampled during powerup reset of the processor.
nCOMMIRQ[N:0] Output Communications channel receive or transmit interrupt request, active LOW:
0 Receive section data transfer register is full or transmit section data transfer register is empty.
1 Either or both:
• The receive section data transfer register is empty.
• The transmit section data transfer register is empty.
COMMRX[N:0] Output Communications channel receive. Receive portion of Data Transfer Register full flag:
0 Empty.
1 Full.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-557
reserved.
Non-Confidential
A Signal Descriptions
A.12 Debug interface signals
COMMTX[N:0] Output Communication channel transmit. Transmit portion of Data Transfer Register empty flag:
0 Full.
1 Empty.
The processor treats the EDBGRQ input as level-sensitive. The EDBGRQ input must be
asserted until the processor asserts DBGACK.
This output is controlled by Warm reset request bit in External Debug Power/Reset Control
Register, EDPRCR.
DBGL1RSTDISABLE Input Disable L1 data cache and L2 snoop tag RAM automatic invalidate on reset functionality.
0 Enable automatic invalidation of L1 data cache and L2 snoop tag RAMs on reset.
1 Disable automatic invalidation of L1 data cache and L2 snoop tag RAMs on reset
Related information
WARMRSTREQ and DBGRSTREQ on page 2-40.
External debug over powerdown on page 2-57.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-558
reserved.
Non-Confidential
A Signal Descriptions
A.13 ETM interface
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-559
reserved.
Non-Confidential
A Signal Descriptions
A.13 ETM interface
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-560
reserved.
Non-Confidential
A Signal Descriptions
A.14 Cross trigger channel interface
The following table shows the cross trigger channel interface signals.
CTICHIN[3:0] Input Cross trigger channel input. Each bit represents a valid channel input:
0 Channel input inactive.
1 Channel input active.
CTICHOUT[3:0] Output Cross trigger channel output. Each bit represents a valid channel output:
0 Channel output inactive.
1 Channel output active.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-561
reserved.
Non-Confidential
A Signal Descriptions
A.15 PMU signals
Related information
11.8 Events on page 11-428.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-562
reserved.
Non-Confidential
A Signal Descriptions
A.16 DFT and MBIST signals
DFTCLKBYPASS Input Bypasses the strobe clock register to the L2 RAMs, forcing the L2 RAMs to be tested using
CLK as the source clock
DFTRAMHOLD Input Disables the RAM chip selects during scan shift
DFTSE Input Scan shift enable, forces on the clock grids during scan shift
The following table shows the Memory Built-In Self Test (MBIST) interface signals.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-A-563
reserved.
Non-Confidential
Appendix B
AArch32 Unpredictable Behaviors
This appendix describes specific Cortex-A72 processor UNPREDICTABLE behaviors that are of particular
interest.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-B-564
reserved.
Non-Confidential
B AArch32 Unpredictable Behaviors
B.1 Unpredictable behaviors
The Cortex-A72 processor does not implement a Read 0 policy on UNPREDICTABLE use of R15 by
instruction. Instead, the processor reads the PC with the standard offset that applies for the current
instruction set with alignment to a word boundary.
Word-alignment of the PC is imposed for all T32 instructions that are either:
• Defined as loads in the definition of PMU event 0x70.
• Defined as stores in the definition of PMU event 0x71.
With the notable exceptions to this alignment policy that:
• The PC value for TBB and TBH instructions is explicitly not forced to a word-aligned value. TBB and
TBH are technically PMU loads but for the processor to comply with the architecture, it cannot force
the PC to a word-aligned value for these instructions.
• The PC value for ADR instructions is explicitly forced to a word-aligned value. ADR is not a PMU load
or a PMU store, but the architecture specifies word-aligned PC for ADR instructions.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-B-565
reserved.
Non-Confidential
B AArch32 Unpredictable Behaviors
B.1 Unpredictable behaviors
This section describes load or store accesses that cross page boundaries.
The behavior of the Cortex-A72 processor is as follows:
• Store crosses a page boundary:
— The processor performs two stores, one to each page. The stores behave according to the
attributes of the page that each store hits.
• Load crosses a page boundary:
Device to Device, Normal to Normal
The processor performs two loads, one from each page. The loads behave according to the
attributes of the page that each load hits.
Device to Normal, Normal to Device
The processor generates an Alignment fault.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-B-566
reserved.
Non-Confidential
B AArch32 Unpredictable Behaviors
B.2 Debug UNPREDICTABLE behaviors
This section describes the behavior that the Cortex-A72 processor implements when:
• A topic has multiple options.
• The behavior differs from either or both of the Options and Preferences behaviors.
Note
This section does not describe the behavior when a topic only has a single option and the processor
implements the preferred behavior.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-B-567
reserved.
Non-Confidential
B AArch32 Unpredictable Behaviors
B.2 Debug UNPREDICTABLE behaviors
The processor generates a breakpoint on the instruction, unless it is a breakpoint on the second half of the
first 32-bit instruction in an aligned 128-bit region or following a taken branch. In this case the
breakpoint is taken on the following instruction.
An address match occurs, unless the instruction is the first instruction within an instruction fetch, that is
the first instruction in a 128-bit aligned region for a sequential fetch, or first instruction following a taken
branch. In this case the breakpoint is taken on the following instruction.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-B-568
reserved.
Non-Confidential
B AArch32 Unpredictable Behaviors
B.2 Debug UNPREDICTABLE behaviors
B.2.7 Other mismatch breakpoint matches any address in current mode and state
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-B-569
reserved.
Non-Confidential
B AArch32 Unpredictable Behaviors
B.2 Debug UNPREDICTABLE behaviors
B.2.17 Execute instruction at a given EL when the corresponding EDECCR bit is 1 and Halting is
allowed
B.2.18 Unlinked Context matching and Address mismatch breakpoints taken to Abort mode
Note
The debug event is subject to the same CONSTRAINED UNPREDICTABLE behavior, so the Breakpoint debug
event repeats for an UNKNOWN number of times.
B.2.19 Vector catch on Data or Prefetch Abort, and taken to Abort mode
Note
The debug event is subject to the same CONSTRAINED UNPREDICTABLE behavior, so the Vector catch debug
event repeats for an UNKNOWN number of times.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-B-570
reserved.
Non-Confidential
B AArch32 Unpredictable Behaviors
B.2 Debug UNPREDICTABLE behaviors
B.2.20 H > N or H = 0 at Non-secure EL1 and EL0, including value read from PMCR_EL0.N
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-B-571
reserved.
Non-Confidential
B AArch32 Unpredictable Behaviors
B.2 Debug UNPREDICTABLE behaviors
B.2.26 Exiting Debug state while instruction issued through EDITR is in flight
The processor deviates from the preferred behavior because the hardware cost to decode some of the
addresses in the debug power domain is significant.
The processor behavior is:
1. For reserved debug registers 0x000 - 0xCFC and reserved Performance Monitors registers 0x000 -
0xF00, the response is CONSTRAINED UNPREDICTABLE Error, when any of the following apply:
Off Core power domain is either completely off, or in a low-power state where the Core power
domain registers are not accessible.
DLK DoubleLockStatus() is TRUE, OS double-lock is locked, that is, EDPRSR.DLK is 1.
OSLK OSLSR_EL1.OSLK is 1, OS Lock is locked.
2. For reserved debug registers in the address ranges 0x400 - 0x4FC and 0x800 - 0x8FC, the response is
CONSTRAINED UNPREDICTABLE Error when the conditions in 1 do not apply and:
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-B-572
reserved.
Non-Confidential
B AArch32 Unpredictable Behaviors
B.2 Debug UNPREDICTABLE behaviors
B.2.32 Clearing the clear-after-read EDPRSR bits when Core power domain is on, and
DoubleLockStatus() is TRUE
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-B-573
reserved.
Non-Confidential
Appendix C
Revisions
This appendix describes the technical changes between released issues of this book.
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-C-574
reserved.
Non-Confidential
C Revisions
C.1 Revisions
C.1 Revisions
First release - -
Added configuration options for up to two L2 Data RAM slices Throughout document r0p1
L1 hardware prefetcher terminology clarified to load-store hardware prefetcher Throughout document r0p1
Updated bit [23] of L2 Auxiliary Control Register, EL1 4.3.65 L2 Auxiliary Control Register, EL1 on page 4-188 r0p2
Updated bit [41] of CPU Auxiliary Control Register, EL1 4.3.66 CPU Auxiliary Control Register, EL1 on page 4-194 r0p2
Updated bits to write to disable L2 prefetch • Individual core powerdown on page 2-52 r0p2
• L2 hardware cache flush on page 2-45
Removed statement about identifying requests coming from the master 7.7.6 ACE ARID and AWID assignment r0p3
connected to the optional slave ACP port. on page 7-313
ARM 100095_0003_06_en Copyright © 2014-2016 ARM Limited or its affiliates. All rights Appx-C-575
reserved.
Non-Confidential