From: Nicholas Piggin <npiggin@gmail.com>
To: qemu-ppc@nongnu.org
Cc: "Nicholas Piggin" <npiggin@gmail.com>,
"Daniel Henrique Barboza" <danielhb413@gmail.com>,
"Cédric Le Goater" <clg@kaod.org>,
"Frédéric Barrat" <fbarrat@linux.ibm.com>,
qemu-devel@nongnu.org
Subject: [PATCH v3 0/8] ppc: pnv ChipTOD and various timebase fixes
Date: Fri, 1 Dec 2023 22:16:28 +1000 [thread overview]
Message-ID: <20231201121636.142694-1-npiggin@gmail.com> (raw)
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
next reply other threads:[~2023-12-01 12:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-01 12:16 Nicholas Piggin [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231201121636.142694-1-npiggin@gmail.com \
--to=npiggin@gmail.com \
--cc=clg@kaod.org \
--cc=danielhb413@gmail.com \
--cc=fbarrat@linux.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).