SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
The MPU subsystem includes 2 MiB of L2 cache (L2CACHE_MPU) and L2 cache controller (L2CACHE_CTRL_MPU). The L2 cache controller includes logic to support cache event monitoring.
Table 33-10 summarizes the L2 cache events.
Event | Event Description |
---|---|
0 | Eviction of a line from the L2 cache |
1 | Data read hit in the L2 cache |
2 | Data read lookup to the L2 cache. Subsequently results in a hit or miss. |
3 | Data write hit in the L2 cache |
4 | Data write lookup to the L2 cache. Subsequently results in a hit or miss. |
5 | Data write lookup to the L2 cache with Write-Through attribute. Subsequently results in a hit or miss. |
6 | Instruction read hit in the L2 cache |
7 | Instruction read lookup to the L2 cache. Subsequently results in a hit or miss. |
8 | Prefetch line-fill sent to L3 |
9 | Allocation into the L2 cache caused by a write (with Write-Allocate attribute) miss |
The L2 cache controller implements two 32-bit event counters. The L2 cache controller can be configured to generate interrupts on error conditions or event counter overflow or increment. The L2 cache controller interrupt is routed to MPU_IRQ_0. When an interrupt occurs, software can look at the relevant interrupt status register to determine the source of the interrupt.