Remove the no-op instruction cache flush/wb/inv operations and replace them
authorkettenis <kettenis@openbsd.org>
Tue, 18 May 2021 09:14:49 +0000 (09:14 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 18 May 2021 09:14:49 +0000 (09:14 +0000)
commita177c6b81a3ae8747833ac143bf883b7d6f03d32
tree4a576ae9b39fc5649d6b9ab6509df69a827d7e1b
parentc408168dd954fe2bb0c87d684c6ff8a58a13a71b
Remove the no-op instruction cache flush/wb/inv operations and replace them
with a FENCE.I instruction which does exactly what we need to synchronize
the I-Cache with the D-Cache.

ok mlarkin@, jsg@
sys/arch/riscv64/include/cpufunc.h
sys/arch/riscv64/riscv64/pmap.c