Re: [PATCH v3 1/5] target/nios2: Check supervisor on eret

2022-03-04 Thread Richard Henderson
On 3/3/22 05:39, Amir Gonnen wrote: eret instruction is only allowed in supervisor mode. Signed-off-by: Amir Gonnen --- target/nios2/translate.c | 2 ++ 1 file changed, 2 insertions(+) Reviewed-by: Richard Henderson r~

Re: [PATCH v3 1/5] target/nios2: Check supervisor on eret

2022-03-04 Thread Peter Maydell
On Thu, 3 Mar 2022 at 15:39, Amir Gonnen wrote: > > eret instruction is only allowed in supervisor mode. > > Signed-off-by: Amir Gonnen > --- > target/nios2/translate.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/target/nios2/translate.c b/target/nios2/translate.c > index ce3aacf5

[PATCH v3 1/5] target/nios2: Check supervisor on eret

2022-03-03 Thread Amir Gonnen
eret instruction is only allowed in supervisor mode. Signed-off-by: Amir Gonnen --- target/nios2/translate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/nios2/translate.c b/target/nios2/translate.c index ce3aacf59d..007c17e6e9 100644 --- a/target/nios2/translate.c +++ b/target/n