Re: [PATCH] target/ppc: Better CTRL SPR implementation

2023-06-23 Thread Cédric Le Goater
On 6/20/23 15:15, Nicholas Piggin wrote: The CTRL register is able to write the bit in the RUN field, which gets reflected into the TS field which is read-only and contains the state of the RUN field for all threads in the core. TCG does not implement SMT, so the correct implementation just requ

[PATCH] target/ppc: Better CTRL SPR implementation

2023-06-20 Thread Nicholas Piggin
The CTRL register is able to write the bit in the RUN field, which gets reflected into the TS field which is read-only and contains the state of the RUN field for all threads in the core. TCG does not implement SMT, so the correct implementation just requires mirroring the RUN bit into the first b