Skip to content

ppc: pnv ChipTOD and various timebase fixes

Nicholas Piggin qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 2 repliesIn review
  2. v27 patches 10 repliesSuperseded
  3. v17 patches 6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8target/ppc: Rename TBL to TB on 64-bittarget/ppc/helper_regs.c target/ppc/ppc-qmp-cmds.c+8 -00 replies
2/8target/ppc: Improve timebase register defines namingtarget/ppc/cpu.h target/ppc/helper_regs.c+9 -90 replies
3/8target/ppc: Fix move-to timebase SPR access permissionstarget/ppc/helper_regs.c+23 -80 replies
4/8pnv/chiptod: Add POWER9/10 chiptod modelhw/ppc/meson.build hw/ppc/pnv_chiptod.c hw/ppc/trace-events +2 more+517 -00 replies
5/8ppc/pnv: Wire ChipTOD model to powernv9 and powernv10 machineshw/ppc/pnv.c include/hw/ppc/pnv_chip.h+33 -01 reply
6/8pnv/chiptod: Implement the ChipTOD to Core transferhw/ppc/pnv.c hw/ppc/pnv_chiptod.c include/hw/ppc/pnv.h +2 more+166 -00 replies
7/8target/ppc: Implement core timebase state machine and TFMRtarget/ppc/cpu.h target/ppc/timebase_helper.c+243 -30 replies
8/8target/ppc: Add SMT support to time facilitiestarget/ppc/timebase_helper.c target/ppc/translate.c+136 -111 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchCédric Le Goater
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8Suggested-by-by R-b
6/8R-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/8] ppc: pnv ChipTOD and various timebase fixes

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
Signature · 1 line
2.42.0