Re: [PATCH 2/2] target/m68k: Perform writback before modifying SR

2022-09-21 Thread Laurent Vivier
Le 13/09/2022 à 16:28, Richard Henderson a écrit : Writes to SR may change security state, which may involve a swap of %ssp with %usp as reflected in %a7. Finish the writeback of %sp@+ before swapping stack pointers. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1206 Signed-off-by:

Re: [PATCH 2/2] target/m68k: Perform writback before modifying SR

2022-09-13 Thread Mark Cave-Ayland
On 13/09/2022 15:28, Richard Henderson wrote: Writes to SR may change security state, which may involve a swap of %ssp with %usp as reflected in %a7. Finish the writeback of %sp@+ before swapping stack pointers. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1206 Signed-off-by:

Re: [PATCH 2/2] target/m68k: Perform writback before modifying SR

2022-09-13 Thread Laurent Vivier
Le 13/09/2022 à 16:28, Richard Henderson a écrit : Writes to SR may change security state, which may involve a swap of %ssp with %usp as reflected in %a7. Finish the writeback of %sp@+ before swapping stack pointers. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1206 Signed-off-by:

[PATCH 2/2] target/m68k: Perform writback before modifying SR

2022-09-13 Thread Richard Henderson
Writes to SR may change security state, which may involve a swap of %ssp with %usp as reflected in %a7. Finish the writeback of %sp@+ before swapping stack pointers. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1206 Signed-off-by: Richard Henderson --- target/m68k/translate.c | 8