33.4.2.1 Cache Invalidate-by-Line Operation
When an invalidate-by-line command is issued, the cache controller resets the valid bit information of the decoded cache line. As the line is no longer valid, the replacement counter points to that line.
Use the following sequence to invalidate one line of cache:
- Disable the cache controller by clearing CMCC_CTRL.CEN.
- Check the CSTS bit of CMCC_SR to verify that the cache is successfully disabled.
- Perform an invalidate-by-line by configuring the bits INDEX and WAY in the Maintenance register 1 (CMCC_MAINT1).
- Enable the cache controller by writing a one to CMCC_CTRL.CEN.
