arm64: mte: Perform CMOs on tag blocks on tagged page freeing/allocation
Make sure that the contents of the tag storage page is not corrupted by performing: 1. A tag dcache inval when the associated tagged page is freed, to avoid dirty tag cache lines being evicted and corrupting the tag storage page when it's being used to store data. 2. A data cache inval when the tag storage page is being reserved, to ensure that no dirty data cache lines are present, which would trigger a writeback that could corrupt the tags stored in the tag storage block.
Loading
Please register or sign in to comment