Jonathan Behrens b86f416763
target/riscv: Do not allow sfence.vma from user mode
The 'sfence.vma' instruction is privileged, and should only ever be allowed
when executing in supervisor mode or higher.

Signed-off-by: Jonathan Behrens <fintelia@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2019-05-24 12:09:19 -07:00
..
2019-05-16 13:15:08 +01:00
2019-05-23 12:57:17 +01:00
2019-05-16 13:15:08 +01:00
2019-05-21 16:30:13 +01:00
2019-05-16 13:15:08 +01:00
2019-05-16 13:15:08 +01:00