diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2024-05-24 21:58:18 +1000 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2024-07-26 09:21:06 +1000 |
commit | 0ca94b2f11223d41258e6a7a046e5ccde831de46 (patch) | |
tree | 11d1d73e720853b018ac7dbe0566246957f1488c /hw/rtc | |
parent | 060e61436794d13ede9a1d0eb2b1d0cf3b7cfcfd (diff) |
ppc/pnv: Move timebase state into PnvCore
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 of a core.
Move the state out into PnvCore and share it among all threads.
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'hw/rtc')
0 files changed, 0 insertions, 0 deletions