All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/13] hw/riscv: Add the Tenstorrent Atlantis machine
@ 2026-04-25 13:17 Joel Stanley
  2026-04-25 13:17 ` [PATCH v4 01/13] hw/i2c: Add designware i2c controller Joel Stanley
                   ` (12 more replies)
  0 siblings, 13 replies; 44+ messages in thread
From: Joel Stanley @ 2026-04-25 13:17 UTC (permalink / raw)
  To: Alistair Francis, Daniel Henrique Barboza
  Cc: Chao Liu, Michael Ellerman, Nicholas Piggin, Joel Stanley,
	Anirudh Srinivasan, Portia Stephens, qemu-riscv, qemu-devel

v4 addresses the review comments from Phil and picks up some r-b from
Chao, Phil and Alistair. Thanks for the reviews.

  - Describe PCIe mappings separately from the MemMapEntry table so
    the mappings aren't mixed with fixed hardware addresses. The
    mappings used are changed too, and the XXX comment and check was
    dropped
  - Move temperature sensor from bus 0 to bus 4 and use ti,tmp105
    compatible instead of national,lm75 to match the QEMU model name 
  - Add i2c_get_bus() to do bounds checking on getting i2c buses
  - Make halting payload const 
  - Don't remove rootfs in functional test, the test framework handles
    cleanup
  - Rename Svadu patch to  to better describe what it does
  - Other minor cleanups

v3: https://lore.kernel.org/qemu-devel/20260421053140.752059-1-joel@jms.id.au/

Original cover letter:

Introducing Tenstorrent Atlantis!

 The Tenstorrent Atlantis platform is a collaboration between Tenstorrent
 and CoreLab Technology. It is based on the Atlantis SoC, which includes
 the Ascalon-X CPU and other IP from Tenstorrent and CoreLab Technology.

 The Tenstorrent Ascalon-X is a high performance 64-bit RVA23 compliant
 RISC-V CPU.

This initial series adds the base machine support including:

 - AIA (Advanced Interrupt Architecture) support
 - PCIe controller and DesignWare I2C integration
 - Serial console and device tree generation
 - Functional tests for OpenSBI+Linux boot

Chris Rauer (1):
  hw/i2c: Add designware i2c controller

Joel Stanley (5):
  hw/riscv/virt: Move AIA initialisation to helper file
  hw/riscv/aia: Provide number of irq sources
  hw/riscv: Add Tenstorrent Atlantis machine
  hw/riscv/atlantis: Integrate i2c buses
  hw/riscv/atlantis: Add some i2c peripherals

Nicholas Piggin (7):
  hw/riscv/boot: Describe discontiguous memory in boot_info
  hw/riscv/boot: Account for discontiguous memory when loading firmware
  hw/riscv/boot: Provide a simple halting payload
  target/riscv: tt-ascalon: Enable Zkr extension
  target/riscv: tt-ascalon: Enable Svadu by removing Svade
  hw/riscv/atlantis: Add PCIe controller
  tests/functional/riscv64: Add tt-atlantis tests

 MAINTAINERS                                  |  20 +
 docs/system/riscv/tt_atlantis.rst            |  38 +
 docs/system/target-riscv.rst                 |   1 +
 hw/riscv/aia.h                               |  25 +
 include/hw/i2c/designware_i2c.h              | 101 ++
 include/hw/riscv/boot.h                      |  13 +-
 include/hw/riscv/tt_atlantis.h               |  86 ++
 include/hw/riscv/virt.h                      |   2 +-
 hw/i2c/designware_i2c.c                      | 817 ++++++++++++++++
 hw/riscv/aia.c                               |  93 ++
 hw/riscv/boot.c                              |  45 +-
 hw/riscv/microchip_pfsoc.c                   |   6 +-
 hw/riscv/opentitan.c                         |   6 +-
 hw/riscv/shakti_c.c                          |   6 +-
 hw/riscv/sifive_u.c                          |   6 +-
 hw/riscv/spike.c                             |   6 +-
 hw/riscv/tt_atlantis.c                       | 944 +++++++++++++++++++
 hw/riscv/virt-acpi-build.c                   |  27 +-
 hw/riscv/virt.c                              |  96 +-
 hw/riscv/xiangshan_kmh.c                     |   6 +-
 target/riscv/cpu.c                           |   2 +-
 hw/i2c/Kconfig                               |   4 +
 hw/i2c/meson.build                           |   1 +
 hw/i2c/trace-events                          |   4 +
 hw/riscv/Kconfig                             |  19 +
 hw/riscv/meson.build                         |   3 +-
 tests/functional/riscv64/meson.build         |   1 +
 tests/functional/riscv64/test_opensbi.py     |   4 +
 tests/functional/riscv64/test_tt_atlantis.py |  59 ++
 29 files changed, 2333 insertions(+), 108 deletions(-)
 create mode 100644 docs/system/riscv/tt_atlantis.rst
 create mode 100644 hw/riscv/aia.h
 create mode 100644 include/hw/i2c/designware_i2c.h
 create mode 100644 include/hw/riscv/tt_atlantis.h
 create mode 100644 hw/i2c/designware_i2c.c
 create mode 100644 hw/riscv/aia.c
 create mode 100644 hw/riscv/tt_atlantis.c
 create mode 100755 tests/functional/riscv64/test_tt_atlantis.py

-- 
2.47.3



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

end of thread, other threads:[~2026-05-07  2:55 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-25 13:17 [PATCH v4 00/13] hw/riscv: Add the Tenstorrent Atlantis machine Joel Stanley
2026-04-25 13:17 ` [PATCH v4 01/13] hw/i2c: Add designware i2c controller Joel Stanley
2026-04-30  3:53   ` Alistair Francis
2026-05-05  6:20     ` Nicholas Piggin
2026-05-05  7:36       ` Philippe Mathieu-Daudé
2026-05-06  5:58         ` Nicholas Piggin
2026-05-06  8:59           ` Philippe Mathieu-Daudé
2026-05-05  7:57   ` Philippe Mathieu-Daudé
2026-05-06  5:53     ` Nicholas Piggin
2026-05-06  8:55       ` Philippe Mathieu-Daudé
2026-04-25 13:17 ` [PATCH v4 02/13] hw/riscv/boot: Describe discontiguous memory in boot_info Joel Stanley
2026-04-25 13:17 ` [PATCH v4 03/13] hw/riscv/boot: Account for discontiguous memory when loading firmware Joel Stanley
2026-04-29 23:34   ` Alistair Francis
2026-05-04 23:45     ` Nicholas Piggin
2026-04-25 13:17 ` [PATCH v4 04/13] hw/riscv/boot: Provide a simple halting payload Joel Stanley
2026-04-29 23:35   ` Alistair Francis
2026-05-04 23:52     ` Nicholas Piggin
2026-05-05  8:06       ` Philippe Mathieu-Daudé
2026-05-07  1:53         ` Nicholas Piggin
2026-04-25 13:17 ` [PATCH v4 05/13] hw/riscv/virt: Move AIA initialisation to helper file Joel Stanley
2026-04-25 13:17 ` [PATCH v4 06/13] hw/riscv/aia: Provide number of irq sources Joel Stanley
2026-04-25 13:17 ` [PATCH v4 07/13] target/riscv: tt-ascalon: Enable Zkr extension Joel Stanley
2026-04-29 23:36   ` Alistair Francis
2026-05-05  0:06     ` Nicholas Piggin
2026-04-25 13:17 ` [PATCH v4 08/13] target/riscv: tt-ascalon: Enable Svadu by removing Svade Joel Stanley
2026-04-29 23:41   ` Alistair Francis
2026-04-25 13:17 ` [PATCH v4 09/13] hw/riscv: Add Tenstorrent Atlantis machine Joel Stanley
2026-04-29 23:57   ` Alistair Francis
2026-05-05  1:04     ` Nicholas Piggin
2026-05-05  4:34       ` Alistair Francis
2026-05-05  6:00         ` Nicholas Piggin
2026-05-05  7:31           ` Philippe Mathieu-Daudé
2026-05-06  3:14           ` Alistair Francis
2026-05-07  1:50             ` Nicholas Piggin
2026-05-07  2:53               ` Alistair Francis
2026-05-05  2:00     ` Nicholas Piggin
2026-05-05  4:36       ` Alistair Francis
2026-05-05  6:01         ` Nicholas Piggin
2026-04-25 13:17 ` [PATCH v4 10/13] hw/riscv/atlantis: Add PCIe controller Joel Stanley
2026-04-30  0:04   ` Alistair Francis
2026-05-05  1:38     ` Nicholas Piggin
2026-04-25 13:17 ` [PATCH v4 11/13] tests/functional/riscv64: Add tt-atlantis tests Joel Stanley
2026-04-25 13:17 ` [PATCH v4 12/13] hw/riscv/atlantis: Integrate i2c buses Joel Stanley
2026-04-25 13:17 ` [PATCH v4 13/13] hw/riscv/atlantis: Add some i2c peripherals Joel Stanley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.