qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 00/14] riscv: Add support for MIPS P8700 CPU
@ 2025-07-17  9:38 Djordje Todorovic
  2025-07-17  9:38 ` [PATCH v6 01/14] hw/intc: Allow gaps in hartids for aclint and aplic Djordje Todorovic
                   ` (16 more replies)
  0 siblings, 17 replies; 44+ messages in thread
From: Djordje Todorovic @ 2025-07-17  9:38 UTC (permalink / raw)
  To: qemu-devel@nongnu.org
  Cc: qemu-riscv@nongnu.org, cfu@mips.com, mst@redhat.com,
	marcel.apfelbaum@gmail.com, dbarboza@ventanamicro.com,
	philmd@linaro.org, Djordje Todorovic

I addressed several comments in this version, major ones:
  - split CPC / CMGCR into separated changes
  - split CPS into a separated change
  - added functional tests for boston-aia board

Djordje Todorovic (14):
  hw/intc: Allow gaps in hartids for aclint and aplic
  target/riscv: Add cpu_set_exception_base
  target/riscv: Add MIPS P8700 CPU
  target/riscv: Add MIPS P8700 CSRs
  target/riscv: Add mips.ccmov instruction
  target/riscv: Add mips.pref instruction
  target/riscv: Add Xmipslsp instructions
  hw/misc: Add RISC-V CMGCR device implementation
  hw/misc: Add RISC-V CPC device implementation
  hw/riscv: Add support for RISCV CPS
  hw/riscv: Add support for MIPS Boston-aia board mode
  hw/pci: Allow explicit function numbers in pci
  riscv/boston-aia: Add an e1000e NIC in slot 0 func 1
  test/functional: Add test for boston-aia board

 configs/devices/riscv64-softmmu/default.mak |   1 +
 docs/system/riscv/mips.rst                  |  20 +
 docs/system/target-riscv.rst                |   1 +
 hw/intc/riscv_aclint.c                      |  21 +-
 hw/intc/riscv_aplic.c                       |  11 +-
 hw/misc/Kconfig                             |  20 +
 hw/misc/meson.build                         |   3 +
 hw/misc/riscv_cmgcr.c                       | 234 ++++++++++
 hw/misc/riscv_cpc.c                         | 239 ++++++++++
 hw/pci/pci.c                                |  15 +-
 hw/riscv/Kconfig                            |   6 +
 hw/riscv/boston-aia.c                       | 489 ++++++++++++++++++++
 hw/riscv/cps.c                              | 197 ++++++++
 hw/riscv/meson.build                        |   3 +
 include/hw/misc/riscv_cmgcr.h               |  49 ++
 include/hw/misc/riscv_cpc.h                 |  73 +++
 include/hw/riscv/cps.h                      |  76 +++
 target/riscv/cpu-qom.h                      |   1 +
 target/riscv/cpu.c                          |  40 ++
 target/riscv/cpu.h                          |   7 +
 target/riscv/cpu_cfg.h                      |   6 +
 target/riscv/cpu_cfg_fields.h.inc           |   3 +
 target/riscv/cpu_vendorid.h                 |   1 +
 target/riscv/insn_trans/trans_xmips.c.inc   | 142 ++++++
 target/riscv/meson.build                    |   2 +
 target/riscv/mips_csr.c                     | 228 +++++++++
 target/riscv/translate.c                    |   3 +
 target/riscv/xmips.decode                   |  35 ++
 tests/functional/meson.build                |   1 +
 tests/functional/test_riscv64_boston.py     |  78 ++++
 30 files changed, 1994 insertions(+), 11 deletions(-)
 create mode 100644 docs/system/riscv/mips.rst
 create mode 100644 hw/misc/riscv_cmgcr.c
 create mode 100644 hw/misc/riscv_cpc.c
 create mode 100644 hw/riscv/boston-aia.c
 create mode 100644 hw/riscv/cps.c
 create mode 100644 include/hw/misc/riscv_cmgcr.h
 create mode 100644 include/hw/misc/riscv_cpc.h
 create mode 100644 include/hw/riscv/cps.h
 create mode 100644 target/riscv/insn_trans/trans_xmips.c.inc
 create mode 100644 target/riscv/mips_csr.c
 create mode 100644 target/riscv/xmips.decode
 create mode 100755 tests/functional/test_riscv64_boston.py

-- 
2.34.1


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

end of thread, other threads:[~2025-09-03 12:36 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-17  9:38 [PATCH v6 00/14] riscv: Add support for MIPS P8700 CPU Djordje Todorovic
2025-07-17  9:38 ` [PATCH v6 01/14] hw/intc: Allow gaps in hartids for aclint and aplic Djordje Todorovic
2025-08-08 15:52   ` Philippe Mathieu-Daudé
2025-09-01  8:17     ` Djordje Todorovic
2025-09-01 11:05       ` Philippe Mathieu-Daudé
2025-09-03 12:35         ` Djordje Todorovic
2025-07-17  9:38 ` [PATCH v6 03/14] target/riscv: Add MIPS P8700 CPU Djordje Todorovic
2025-08-08 17:02   ` Philippe Mathieu-Daudé
2025-09-01  8:17     ` Djordje Todorovic
2025-07-17  9:38 ` [PATCH v6 04/14] target/riscv: Add MIPS P8700 CSRs Djordje Todorovic
2025-07-17  9:38 ` [PATCH v6 02/14] target/riscv: Add cpu_set_exception_base Djordje Todorovic
2025-07-17  9:38 ` [PATCH v6 06/14] target/riscv: Add mips.pref instruction Djordje Todorovic
2025-07-17  9:38 ` [PATCH v6 05/14] target/riscv: Add mips.ccmov instruction Djordje Todorovic
2025-07-17  9:38 ` [PATCH v6 09/14] hw/misc: Add RISC-V CPC device implementation Djordje Todorovic
2025-08-08 16:21   ` Philippe Mathieu-Daudé
2025-07-17  9:38 ` [PATCH v6 07/14] target/riscv: Add Xmipslsp instructions Djordje Todorovic
2025-08-08 16:02   ` Philippe Mathieu-Daudé
2025-09-01  8:20     ` Djordje Todorovic
2025-09-01  8:30     ` Djordje Todorovic
2025-09-01 11:09       ` Philippe Mathieu-Daudé
2025-07-17  9:38 ` [PATCH v6 08/14] hw/misc: Add RISC-V CMGCR device implementation Djordje Todorovic
2025-08-08 16:00   ` Philippe Mathieu-Daudé
2025-08-08 16:07     ` Philippe Mathieu-Daudé
2025-09-01  8:24       ` Djordje Todorovic
2025-09-01 10:53         ` Philippe Mathieu-Daudé
2025-09-01  8:24     ` Djordje Todorovic
2025-08-08 16:05   ` Philippe Mathieu-Daudé
2025-09-01  8:22     ` Djordje Todorovic
2025-07-17  9:38 ` [PATCH v6 11/14] hw/riscv: Add support for MIPS Boston-aia board mode Djordje Todorovic
2025-07-17  9:38 ` [PATCH v6 10/14] hw/riscv: Add support for RISCV CPS Djordje Todorovic
2025-08-08 16:26   ` Philippe Mathieu-Daudé
2025-09-01  8:30     ` Djordje Todorovic
2025-07-17  9:38 ` [PATCH v6 12/14] hw/pci: Allow explicit function numbers in pci Djordje Todorovic
2025-08-08 16:29   ` Philippe Mathieu-Daudé
2025-09-01  8:31     ` Djordje Todorovic
2025-07-17  9:38 ` [PATCH v6 13/14] riscv/boston-aia: Add an e1000e NIC in slot 0 func 1 Djordje Todorovic
2025-07-17  9:38 ` [PATCH v6 14/14] test/functional: Add test for boston-aia board Djordje Todorovic
2025-08-08 16:32   ` Philippe Mathieu-Daudé
2025-09-01  8:35     ` Djordje Todorovic
2025-08-05 10:10 ` [PATCH v6 00/14] riscv: Add support for MIPS P8700 CPU Djordje Todorovic
2025-08-07 18:35 ` Daniel Henrique Barboza
2025-09-01  8:07   ` Djordje Todorovic
2025-08-08 16:42 ` Philippe Mathieu-Daudé
2025-09-01  8:15   ` Djordje Todorovic

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).