Re: [PATCH v2 03/19] ppc/pnv: Move timebase state into PnvCore

2024-07-14 Thread Nicholas Piggin
On Fri Jul 12, 2024 at 11:40 PM AEST, Cédric Le Goater wrote: > On 7/12/24 14:02, Nicholas Piggin wrote: > > diff --git a/target/ppc/timebase_helper.c b/target/ppc/timebase_helper.c > > index 39d397416e..52f9e6669c 100644 > > --- a/target/ppc/timebase_helper.c > > +++ b/target/ppc/timebase_helper.c

Re: [PATCH v2 03/19] ppc/pnv: Move timebase state into PnvCore

2024-07-12 Thread Cédric Le Goater
On 7/12/24 14:02, Nicholas Piggin wrote: The timebase state machine is per per-core state and can be driven by any thread in the core. It is currently implemented as a hack where the state is in a CPU structure and only thread 0's state is accessed by the chiptod, which limits programming the tim

[PATCH v2 03/19] ppc/pnv: Move timebase state into PnvCore

2024-07-12 Thread Nicholas Piggin
The timebase state machine is per per-core state and can be driven by any thread in the core. It is currently implemented as a hack where the state is in a CPU structure and only thread 0's state is accessed by the chiptod, which limits programming the timebase side of the state machine to thread 0