From: Alistair Francis <Alistair.Francis@wdc.com>
To: "daniel.barboza@oss.qualcomm.com"
<daniel.barboza@oss.qualcomm.com>,
"joel@jms.id.au" <joel@jms.id.au>
Cc: "npiggin@gmail.com" <npiggin@gmail.com>,
"mpe@kernel.org" <mpe@kernel.org>,
"portias@oss.tenstorrent.com" <portias@oss.tenstorrent.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"clg@kaod.org" <clg@kaod.org>,
"chao.liu@processmission.com" <chao.liu@processmission.com>,
"zhiwei_liu@linux.alibaba.com" <zhiwei_liu@linux.alibaba.com>,
"asrinivasan@oss.tenstorrent.com"
<asrinivasan@oss.tenstorrent.com>,
"liwei1518@gmail.com" <liwei1518@gmail.com>,
"qemu-riscv@nongnu.org" <qemu-riscv@nongnu.org>
Subject: Re: [PATCH v3 00/16] hw/riscv: Socify Atlantis
Date: Thu, 3 Sep 2026 23:35:20 +0000 [thread overview]
Message-ID: <5ae005b5968e375e341c7bcbc076c78f2d2bd426.camel@wdc.com> (raw)
In-Reply-To: <20260903055131.257903-1-joel@jms.id.au>
On Thu, 2026-09-03 at 15:21 +0930, Joel Stanley wrote:
> v2:
> https://lore.kernel.org/qemu-riscv/20260831021500.82565-1-joel@jms.id.au
>
> Changes in v3:
>
> - Rebase on today's riscv-to-apply.next, fixing conflicts with the
> device tree rework
> - Take up Phil's suggestion to change @mr to @container in the first
> five patches
> - Add r-b from Alistair, Daniel, Phil. Thank you!
>
> Original commit message:
>
> This addresses the review given by Cedric on v1 of the Atlantis
> patches,
> where he suggested making the machine a SoC. This is the pattern
> followed by the Aspeed ARM machines, where the SoC represents the
> modelled hardware, attaching its devices to a memory container, with
> the
> SoC instantiated by a QEMU machine that provides the memory container
> and the machine's RAM.
>
> Aside from the clean abstraction that this encourages, this pattern
> will
> be useful in adding other SoCs to the Atlantis machine, such as the
> RCPU
> (boot microcontroller) and CPL (Cluster Power Logic microcontroller).
>
> The series converts the RISC-V interrupt controllers to take a
> MemoryRegion for mapping themselves, with no change in behaviour for
> existing machines, and then cleans up the CPS device to place its
> devices in the memory container provided.
>
> The next few patches clean up the Atlantis machine to make extracting
> the SoC device and mapping it in a container relatively
> straightforward.
>
> Joel Stanley (15):
> hw/riscv/aia: Take a MemoryRegion for the created devices
> hw/intc/riscv_aclint: Take a MemoryRegion for the created devices
> hw/intc/riscv_imsic: Take a MemoryRegion for the created device
> hw/intc/riscv_aplic: Take a MemoryRegion for the created device
> hw/intc/sifive_plic: Take a MemoryRegion for the created device
> hw/riscv/cps: Map interrupt controllers in SoC container
> hw/riscv/atlantis: Make UART unimp region a SoC device
> hw/riscv/atlantis: Remove unused fdt_size
> hw/riscv/atlantis: Rename hart array 'soc' to 'cpus'
> hw/riscv/atlantis: Rework device tree creation
> hw/riscv/atlantis: Use local reference for system memory
> hw/riscv/atlantis: Decouple RAM size from MachineState
> hw/riscv/atlantis: Make TTAtlantisState own memory containers
> hw/riscv/atlantis: Extract an Atlantis SoC device
> hw/riscv/atlantis: Map the SoC through a memory container
>
> Portia Stephens (1):
> hw/riscv: Add property to hart array to allow private memory
Thanks!
Applied to riscv-to-apply.next
Alistair
>
> hw/riscv/aia.h | 3 +-
> include/hw/intc/riscv_aclint.h | 7 +-
> include/hw/intc/riscv_aplic.h | 7 +-
> include/hw/intc/riscv_imsic.h | 3 +-
> include/hw/intc/sifive_plic.h | 4 +-
> include/hw/riscv/riscv_hart.h | 2 +
> include/hw/riscv/tt_atlantis.h | 32 +++-
> hw/intc/riscv_aclint.c | 12 +-
> hw/intc/riscv_aplic.c | 10 +-
> hw/intc/riscv_imsic.c | 6 +-
> hw/intc/sifive_plic.c | 7 +-
> hw/riscv/aia.c | 17 +-
> hw/riscv/cps.c | 12 +-
> hw/riscv/k230.c | 9 +-
> hw/riscv/microchip_pfsoc.c | 8 +-
> hw/riscv/riscv_hart.c | 8 +
> hw/riscv/shakti_c.c | 10 +-
> hw/riscv/sifive_e.c | 6 +-
> hw/riscv/sifive_u.c | 10 +-
> hw/riscv/spike.c | 4 +-
> hw/riscv/tt_atlantis.c | 280 +++++++++++++++++++++----------
> --
> hw/riscv/virt.c | 21 ++-
> hw/riscv/xiangshan_kmh.c | 17 +-
> 23 files changed, 326 insertions(+), 169 deletions(-)
next prev parent reply other threads:[~2026-09-03 23:36 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-03 5:51 [PATCH v3 00/16] hw/riscv: Socify Atlantis Joel Stanley
2026-09-03 5:51 ` [PATCH v3 01/16] hw/riscv/aia: Take a MemoryRegion for the created devices Joel Stanley
2026-09-03 6:06 ` Chao Liu via
2026-09-03 6:06 ` Chao Liu via qemu development
2026-09-03 5:51 ` [PATCH v3 02/16] hw/intc/riscv_aclint: " Joel Stanley
2026-09-03 5:51 ` [PATCH v3 03/16] hw/intc/riscv_imsic: Take a MemoryRegion for the created device Joel Stanley
2026-09-03 5:51 ` [PATCH v3 04/16] hw/intc/riscv_aplic: " Joel Stanley
2026-09-03 5:51 ` [PATCH v3 05/16] hw/intc/sifive_plic: " Joel Stanley
2026-09-03 6:07 ` Chao Liu via qemu development
2026-09-03 6:07 ` Chao Liu via
2026-09-03 5:51 ` [PATCH v3 06/16] hw/riscv/cps: Map interrupt controllers in SoC container Joel Stanley
2026-09-03 5:51 ` [PATCH v3 07/16] hw/riscv/atlantis: Make UART unimp region a SoC device Joel Stanley
2026-09-03 5:51 ` [PATCH v3 08/16] hw/riscv/atlantis: Remove unused fdt_size Joel Stanley
2026-09-03 5:51 ` [PATCH v3 09/16] hw/riscv/atlantis: Rename hart array 'soc' to 'cpus' Joel Stanley
2026-09-03 5:51 ` [PATCH v3 10/16] hw/riscv/atlantis: Rework device tree creation Joel Stanley
2026-09-03 5:51 ` [PATCH v3 11/16] hw/riscv/atlantis: Use local reference for system memory Joel Stanley
2026-09-03 5:51 ` [PATCH v3 12/16] hw/riscv/atlantis: Decouple RAM size from MachineState Joel Stanley
2026-09-03 5:51 ` [PATCH v3 13/16] hw/riscv/atlantis: Make TTAtlantisState own memory containers Joel Stanley
2026-09-03 5:51 ` [PATCH v3 14/16] hw/riscv: Add property to hart array to allow private memory Joel Stanley
2026-09-04 10:42 ` Philippe Mathieu-Daudé
2026-09-07 7:27 ` Joel Stanley
2026-09-03 5:51 ` [PATCH v3 15/16] hw/riscv/atlantis: Extract an Atlantis SoC device Joel Stanley
2026-09-04 10:47 ` Philippe Mathieu-Daudé
2026-09-04 10:48 ` Philippe Mathieu-Daudé
2026-09-07 7:16 ` Joel Stanley
2026-09-03 5:51 ` [PATCH v3 16/16] hw/riscv/atlantis: Map the SoC through a memory container Joel Stanley
2026-09-03 23:35 ` Alistair Francis [this message]
2026-09-04 10:49 ` [PATCH v3 00/16] hw/riscv: Socify Atlantis Philippe Mathieu-Daudé
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=5ae005b5968e375e341c7bcbc076c78f2d2bd426.camel@wdc.com \
--to=alistair.francis@wdc.com \
--cc=asrinivasan@oss.tenstorrent.com \
--cc=chao.liu@processmission.com \
--cc=clg@kaod.org \
--cc=daniel.barboza@oss.qualcomm.com \
--cc=joel@jms.id.au \
--cc=liwei1518@gmail.com \
--cc=mpe@kernel.org \
--cc=npiggin@gmail.com \
--cc=portias@oss.tenstorrent.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=zhiwei_liu@linux.alibaba.com \
/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 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.