[PATCH for-12.0 0/3] Hexagon: add PMU support

Brian Cain posted 3 patches 1 day, 6 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261126183812.1366883-1-brian.cain@oss.qualcomm.com
Maintainers: Brian Cain <brian.cain@oss.qualcomm.com>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
docs/system/hexagon/emulation.rst   |  34 ++++
include/hw/hexagon/hexagon.h        |   1 +
include/hw/hexagon/hexagon_pmu.h    |  51 +++++
target/hexagon/cpu.h                |  36 +++-
target/hexagon/cpu_helper.h         |   3 +
target/hexagon/helper.h             |   1 +
target/hexagon/hex_regs.h           |  24 ++-
target/hexagon/pmu.h                | 200 ++++++++++++++++++++
target/hexagon/translate.h          |  38 +++-
target/hexagon/reg_fields_def.h.inc |  21 +++
hw/hexagon/hex-subsys.c             |  14 ++
hw/hexagon/hexagon_globalreg.c      |  23 ++-
hw/hexagon/hexagon_pmu.c            | 113 +++++++++++
target/hexagon/cpu.c                |  27 ++-
target/hexagon/cpu_helper.c         | 280 +++++++++++++++++++++++++++-
target/hexagon/gdbstub.c            |   6 +-
target/hexagon/genptr.c             |  58 +++---
target/hexagon/machine.c            |  40 +++-
target/hexagon/op_helper.c          |  22 +++
target/hexagon/translate.c          | 231 ++++++++++++++++++++---
gdbstub/gdb-xml/hexagon-sys.xml     |  79 ++++----
hw/hexagon/meson.build              |   1 +
22 files changed, 1178 insertions(+), 125 deletions(-)
create mode 100644 include/hw/hexagon/hexagon_pmu.h
create mode 100644 target/hexagon/pmu.h
create mode 100644 hw/hexagon/hexagon_pmu.c
[PATCH for-12.0 0/3] Hexagon: add PMU support
Posted by Brian Cain 1 day, 6 hours ago
Implement the Hexagon PMU

Brian Cain (3):
  target/hexagon: remove QEMU-private execution counters
  target/hexagon: implement PMU
  docs/system/hexagon: document PMU and limitations

 docs/system/hexagon/emulation.rst   |  34 ++++
 include/hw/hexagon/hexagon.h        |   1 +
 include/hw/hexagon/hexagon_pmu.h    |  51 +++++
 target/hexagon/cpu.h                |  36 +++-
 target/hexagon/cpu_helper.h         |   3 +
 target/hexagon/helper.h             |   1 +
 target/hexagon/hex_regs.h           |  24 ++-
 target/hexagon/pmu.h                | 200 ++++++++++++++++++++
 target/hexagon/translate.h          |  38 +++-
 target/hexagon/reg_fields_def.h.inc |  21 +++
 hw/hexagon/hex-subsys.c             |  14 ++
 hw/hexagon/hexagon_globalreg.c      |  23 ++-
 hw/hexagon/hexagon_pmu.c            | 113 +++++++++++
 target/hexagon/cpu.c                |  27 ++-
 target/hexagon/cpu_helper.c         | 280 +++++++++++++++++++++++++++-
 target/hexagon/gdbstub.c            |   6 +-
 target/hexagon/genptr.c             |  58 +++---
 target/hexagon/machine.c            |  40 +++-
 target/hexagon/op_helper.c          |  22 +++
 target/hexagon/translate.c          | 231 ++++++++++++++++++++---
 gdbstub/gdb-xml/hexagon-sys.xml     |  79 ++++----
 hw/hexagon/meson.build              |   1 +
 22 files changed, 1178 insertions(+), 125 deletions(-)
 create mode 100644 include/hw/hexagon/hexagon_pmu.h
 create mode 100644 target/hexagon/pmu.h
 create mode 100644 hw/hexagon/hexagon_pmu.c

-- 
2.34.1