This chapter describes the Snoop Control Unit (SCU ). It contains the following paragraphs:
1,About SCU
2,SCU register
3,AMBA [Translator's note: advanced microcontroller bus interface] Axi [Translator's note: Advanced extensible Interface] host interface
4,Axi host interface timing
5,Accelerator consistent Port
6,Use WFE/sev to communicate with an external proxy event
2.1 about SCU
SCU connects one or four Cortex-A9 processors to the memory system through the Axi interface.
SCU functions:
1. Maintain data cache consistency between Cortex-A9 Processors
2. initialize L2 Axi Memory Access
3. Arbitration between Cortex-A9 processors requesting L2 access
4. Manage ACP access.
Note: Cortex-A9 SCU does not support Hardware Management of command cache consistency.
2.1.1 trustzone Extension
SCU supports security expansion of the ARM architecture. SeeSCU access control register (SAC) P2-11
2.1.2 SCU event monitoring
An independent CPU event monitor can be configured to collect statistics on various events that perform operations on SCU.
2.2 SCU register
Table 2-1 shows the SCU registers. The base address of the address mapped to the SCU memory region, that is, periphbase [31: 13]. All SCU registers can be accessed in bytes and the source scureset is reset.
2.2.1 SCU control register
SCU control registers have the following features:
Purpose:
1. allow the use of pl310 [Translator's note: primecell Level 2 Cache controller] to perform row-filling on L2 speculative locations
2. Allow all devices connected to port 0
3. Enable IC standby mode
4. SCU standby mode
5. Support for parity
6. Allow address filtering
7. SCU allowed
Restrictions:
1. This register is writable in a safe state, if the relevant position in the SAC register is 1
2. This register is writable in a non-secure State. If the relevant position in the sac and snsac registers is 1
Configuration: available in all Cortex-A9 multi-processor configurations
SCU control register introduction:
[Bits 6] The IC standby mode allows: When set to 1, if no interruption is pending at this time and no processor is executing a read/write request, stop the interrupt controller clock.
[Bit 5] SCU standby allow: When set to 1, if all the processors are in WFI mode at this time, there are no pending requests on ACP (if implemented, and there are no remaining activities in SCUSCU CLKDisabled.
WhenSCU CLKWhen disabledArreadys,AwreadysAndDwreadysForced to high. The clock is turned on when either the processor leaves the WFI mode or there is a new request on the ACP.
[Bit 4] forces all devices to port 0 to allow: When set to 1, all requests from ACP or axcache = DV processors are forced to be published on the Axi host port M0.
[Bit 3] speculative row filling allows: When set to 1, consistent row filling requests are sent to pl310 with tag search in parallel by speculation. If tag search fails, the confirmed row filling is sent to pl310 and the r data is obtained earlier because the data request has been initiated by speculative requests. This feature works only when pl310 exists in the design.
[Bits 2] Enable parity: 1 = Enable parity; 0 = Disable parity. This is the default setting.
[Bit 1] address filtering is allowed: 1 = address filtering is enabled; 0 = address filtering is disabled. The default value isFilteren. This bit is always 0 if SCU is implemented in single host port configuration.
[Bit 0] SCU allowed: 1 = SCU allowed; 0 = SCU disabled. This is the default setting.
2.2.2 SCU configuration register
SCU configuration register features:
1. Objective: To read the ram size of tags for all Cortex-A9 processors connected on the bus
-- Determine the Cortex-A9 processor involved in consistency
-- Number of Cortex-A9 processors connected on the read Bus
2. Restrictions: this register is read-only.
3. Configuration: available in all Cortex-A9 multi-processor configurations
4. properties: see register overview in SCU registers in P2-3
SCU configuration register function description:
Tag Ram size: Up to four CPUs (CPU 0 ~ 3); 64 kB cache, each tag Ram has 256 indexes; 32 KB cache, each tag Ram has 128 indexes; 16 KB cache, each tag Ram has 64 indexes.
CPU SMP: Define whether the Cortex-A9 processor is in symmetric multi-processor (SMP) or asymmetric multi-processor (AMP) mode;
0 indicates that the specified Cortex-A9 processor is in the amp mode and does not participate in consistency or does not exist
1 indicates that the specified Cortex-A9 processor is in SMP mode and participates in consistency
2.2.3 scu cpu power status register