diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2025-09-09 15:41:27 -0700 |
---|---|---|
committer | Conor Dooley <conor.dooley@microchip.com> | 2025-09-11 19:13:21 +0100 |
commit | 941327ca5ddd45cfc4dd960cbbabed9e2b5cb1b0 (patch) | |
tree | 5de5229522d713a39c0d385d2148f28eb2f0f644 /security/security.c | |
parent | 4fab69dd1fa52e28bb692afcb159fa8807d6d03f (diff) |
cache: sifive_ccache: Optimize cache flushes
Fence instructions are required only at the beginning and the end of
a flush operation, not separately for each cache line being flushed.
Speed up cache flushes by about 15% by removing the extra fences.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions