[PULL 22/28] linux-user/sparc: Handle priviledged opcode trap

2023-03-10 Thread Laurent Vivier
From: Richard Henderson For the most part priviledged opcodes are ifdefed out of the user-only sparc translator, which will then incorrectly produce illegal opcode traps. But there are some code paths that properly raise TT_PRIV_INSN, so we must handle it. Signed-off-by: Richard Henderson Mess

[PULL 22/28] linux-user/sparc: Handle priviledged opcode trap

2023-03-08 Thread Laurent Vivier
From: Richard Henderson For the most part priviledged opcodes are ifdefed out of the user-only sparc translator, which will then incorrectly produce illegal opcode traps. But there are some code paths that properly raise TT_PRIV_INSN, so we must handle it. Signed-off-by: Richard Henderson Mess