]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: `sfence.vma` orderes the instruction cache
authorPalmer Dabbelt <palmer@sifive.com>
Tue, 28 Nov 2017 22:06:17 +0000 (14:06 -0800)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 28 Nov 2017 22:06:17 +0000 (14:06 -0800)
commit0e8bed969cdea347cf9cc9efa222b8f00dc13b99
tree2d30d6656ef0d3fd57f78045830b9c21ae69a5ae
parent8dbcb0aff393fa8d916dc9eec19e6e6df5675baf
RISC-V: `sfence.vma` orderes the instruction cache

This is just a comment change, but it's one that bit me on the mailing
list.  It turns out that issuing a `sfence.vma` enforces instruction
cache ordering in addition to TLB ordering.  This isn't explicitly
called out in the ISA manual, but Andrew will be making that more clear
in a future revision.

CC: Andrew Waterman <andrew@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/tlbflush.h