Hi,
This new version contains a change in patch 1 requested by David
in the v6 review.
Changes from v6:
- patch 1:
* move the PMU overflow timer initialization from spapr_cpu_core.c to
init_proc_POWER* functions in cpu_init.c
- v6 link: https://lists.gnu.org/archive/html/qemu-devel/2021-11/msg01968.html
Daniel Henrique Barboza (9):
target/ppc: introduce PMUEventType and PMU overflow timers
target/ppc: PMU basic cycle count for pseries TCG
target/ppc: enable PMU counter overflow with cycle events
target/ppc: enable PMU instruction count
target/ppc/power8-pmu.c: add PM_RUN_INST_CMPL (0xFA) event
target/ppc: PMU: handle setting of PMCs while running
target/ppc/power8-pmu.c: handle overflow bits when PMU is running
PPC64/TCG: Implement 'rfebb' instruction
target/ppc/excp_helper.c: EBB handling adjustments
Gustavo Romero (1):
target/ppc: PMU Event-Based exception support
hw/ppc/spapr_cpu_core.c | 1 +
target/ppc/cpu.h | 60 +++-
target/ppc/cpu_init.c | 44 ++-
target/ppc/excp_helper.c | 93 ++++++
target/ppc/helper.h | 4 +
target/ppc/helper_regs.c | 4 +
target/ppc/insn32.decode | 5 +
target/ppc/meson.build | 1 +
target/ppc/power8-pmu-regs.c.inc | 45 ++-
target/ppc/power8-pmu.c | 403 +++++++++++++++++++++++++
target/ppc/power8-pmu.h | 25 ++
target/ppc/spr_tcg.h | 3 +
target/ppc/translate.c | 60 ++++
target/ppc/translate/branch-impl.c.inc | 33 ++
14 files changed, 768 insertions(+), 13 deletions(-)
create mode 100644 target/ppc/power8-pmu.c
create mode 100644 target/ppc/power8-pmu.h
create mode 100644 target/ppc/translate/branch-impl.c.inc
--
2.31.1