Re: [PATCH v2 7/8] target/tricore: Honour privilege changes on PSW write

2023-06-18 Thread Richard Henderson
On 6/16/23 17:28, Bastian Koppelmann wrote: the CPU can change the privilege level by writing the corresponding bits in PSW. If this happens all instructions after this 'mtcr' in the TB are translated with the wrong privilege level. So we have to exit to the cpu_loop() and start translating again

[PATCH v2 7/8] target/tricore: Honour privilege changes on PSW write

2023-06-16 Thread Bastian Koppelmann
the CPU can change the privilege level by writing the corresponding bits in PSW. If this happens all instructions after this 'mtcr' in the TB are translated with the wrong privilege level. So we have to exit to the cpu_loop() and start translating again with the new privilege level. Signed-off-by: