Re: [PATCH v2 1/7] target/ppc: Add initial flags and helpers for SMT support

2023-06-22 Thread Cédric Le Goater
On 6/22/23 11:33, Nicholas Piggin wrote: TGC SMT emulation needs to know whether it is running with SMT siblings, to be able to iterate over siblings in a core, and to serialise threads to access per-core shared SPRs. Add infrastructure to do these things. For now the sibling iteration and seria

[PATCH v2 1/7] target/ppc: Add initial flags and helpers for SMT support

2023-06-22 Thread Nicholas Piggin
TGC SMT emulation needs to know whether it is running with SMT siblings, to be able to iterate over siblings in a core, and to serialise threads to access per-core shared SPRs. Add infrastructure to do these things. For now the sibling iteration and serialisation are implemented in a simple but in