summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2026-05-22 16:56:03 +0100
committerStafford Horne <shorne@gmail.com>2026-05-23 06:34:35 +0100
commit1be031de802ba486a7605b52eda825f128b026e2 (patch)
tree9dcf379128a6514debb61b757a81b1ceccf929d5 /scripts
parentcf40e2cee8fe86d54f7eeb38944366d5c23e42dc (diff)
openrisc: Add full instruction cache invalidate functions
Add functions to invalidate all cache lines which we will use for static_key patching. On OpenRISC there is no instruction to invalidate an entire cache so we loop and invalidate cache lines one by one. This is not extremely expensive on OpenRISC as we usually have only a few hundred cache lines. I considered using the invalidate cache page or range functions. However, tracking which ranges need invalidation would have been more expensive than flushing all pages. Cc: stable@vger.kernel.org Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions