diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2019-06-23 15:26:43 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2019-06-23 15:26:43 +0000 |
commit | f512403ddbc0832cc6807b7bf564e94db8a49cc2 (patch) | |
tree | ae724d3c8d3baef3a5b2dc01a3e8faf8a26c6b81 /sys/arch/arm64/dev | |
parent | 195ca059741a78a7c9fde668fd12da1c7ebe9e8f (diff) |
Invalidate icache when changing mapping
On octeon, the instruction cache appears to fulfill instruction fetches
on icache hit even if the virtual address mapping no longer exists or
does not allow execution. Prevent running of lingering instructions
by invalidating the icache when changing a mapping that has previously
been executable.
This fix is somewhat rough and relies on the availability of the XI bit.
Diffstat (limited to 'sys/arch/arm64/dev')
0 files changed, 0 insertions, 0 deletions