qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/8] ppc: pnv ChipTOD and various timebase fixes
@ 2023-12-01 12:16 Nicholas Piggin
  2023-12-01 12:16 ` [PATCH v3 1/8] target/ppc: Rename TBL to TB on 64-bit Nicholas Piggin
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Nicholas Piggin @ 2023-12-01 12:16 UTC (permalink / raw)
  To: qemu-ppc
  Cc: Nicholas Piggin, Daniel Henrique Barboza, Cédric Le Goater,
	Frédéric Barrat, qemu-devel

This accumulated a few changes and review comment fixes since v2:
- Remove the now unnecessary class xscom ops.
- Split the introduction of the chiptod model from wiring it to
  machines.
- Fix chiptod model patch changelog.
- Wrap chiptod/tb state machine variables in CPUArchState in a struct.

Will put this in the next merge window if no objections. Thanks to
Cedric for all the review and help.

Thanks,
Nick

Nicholas Piggin (8):
  target/ppc: Rename TBL to TB on 64-bit
  target/ppc: Improve timebase register defines naming
  target/ppc: Fix move-to timebase SPR access permissions
  pnv/chiptod: Add POWER9/10 chiptod model
  ppc/pnv: Wire ChipTOD model to powernv9 and powernv10 machines
  pnv/chiptod: Implement the ChipTOD to Core transfer
  target/ppc: Implement core timebase state machine and TFMR
  target/ppc: Add SMT support to time facilities

 include/hw/ppc/pnv.h         |   2 +
 include/hw/ppc/pnv_chip.h    |   3 +
 include/hw/ppc/pnv_chiptod.h |  53 ++++
 include/hw/ppc/pnv_xscom.h   |   9 +
 target/ppc/cpu.h             |  57 +++-
 hw/ppc/pnv.c                 |  45 +++
 hw/ppc/pnv_chiptod.c         | 586 +++++++++++++++++++++++++++++++++++
 target/ppc/helper_regs.c     |  39 ++-
 target/ppc/ppc-qmp-cmds.c    |   4 +
 target/ppc/timebase_helper.c | 309 +++++++++++++++++-
 target/ppc/translate.c       |  42 ++-
 hw/ppc/meson.build           |   1 +
 hw/ppc/trace-events          |   4 +
 13 files changed, 1129 insertions(+), 25 deletions(-)
 create mode 100644 include/hw/ppc/pnv_chiptod.h
 create mode 100644 hw/ppc/pnv_chiptod.c

-- 
2.42.0



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-01-23  7:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-01 12:16 [PATCH v3 0/8] ppc: pnv ChipTOD and various timebase fixes Nicholas Piggin
2023-12-01 12:16 ` [PATCH v3 1/8] target/ppc: Rename TBL to TB on 64-bit Nicholas Piggin
2023-12-01 12:16 ` [PATCH v3 2/8] target/ppc: Improve timebase register defines naming Nicholas Piggin
2023-12-01 12:16 ` [PATCH v3 3/8] target/ppc: Fix move-to timebase SPR access permissions Nicholas Piggin
2023-12-01 12:16 ` [PATCH v3 4/8] pnv/chiptod: Add POWER9/10 chiptod model Nicholas Piggin
2023-12-01 12:16 ` [PATCH v3 5/8] ppc/pnv: Wire ChipTOD model to powernv9 and powernv10 machines Nicholas Piggin
2024-01-23  7:20   ` Cédric Le Goater
2023-12-01 12:16 ` [PATCH v3 6/8] pnv/chiptod: Implement the ChipTOD to Core transfer Nicholas Piggin
2023-12-01 12:16 ` [PATCH v3 7/8] target/ppc: Implement core timebase state machine and TFMR Nicholas Piggin
2023-12-01 12:16 ` [PATCH v3 8/8] target/ppc: Add SMT support to time facilities Nicholas Piggin
2024-01-23  7:22   ` Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).