From: Peter Maydell <peter.maydell@linaro.org>
To: Sebastian Huber <sebastian.huber@embedded-brains.de>
Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org
Subject: Re: [PATCH v2 2/2] hw/arm/xilinx_zynq: Support up to two CPU cores
Date: Thu, 30 May 2024 11:30:08 +0100 [thread overview]
Message-ID: <CAFEAcA95Vnz4kyBeTNZWJoa-dmxTnijteFrDzMUqHhuBvmHcSQ@mail.gmail.com> (raw)
In-Reply-To: <20240524120837.10057-3-sebastian.huber@embedded-brains.de>
On Fri, 24 May 2024 at 13:08, Sebastian Huber
<sebastian.huber@embedded-brains.de> wrote:
>
> The Zynq 7000 SoCs contain two Arm Cortex-A9 MPCore (the Zynq 7000S have only
> one core). Add support for up to two simulated cores.
>
> Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
> + DeviceState *cpudev = DEVICE(OBJECT(zynq_machine->cpu[n]));
You don't need to do a double-cast like this, you can say:
DeviceState *cpudev = DEVICE(zynq_machine->cpu[n]);
(I'll make this minor fix when I apply the patchset to target-arm.)
-- PMM
next prev parent reply other threads:[~2024-05-30 10:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-24 12:08 [PATCH v2 0/2] Zynq 7000 Improvements Sebastian Huber
2024-05-24 12:08 ` [PATCH v2 1/2] hw/arm/xilinx_zynq: Add cache controller Sebastian Huber
2024-05-24 12:08 ` [PATCH v2 2/2] hw/arm/xilinx_zynq: Support up to two CPU cores Sebastian Huber
2024-05-30 10:30 ` Peter Maydell [this message]
2024-05-30 10:30 ` [PATCH v2 0/2] Zynq 7000 Improvements Peter Maydell
2024-06-07 14:28 ` Sebastian Huber
2024-06-07 14:47 ` Peter Maydell
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=CAFEAcA95Vnz4kyBeTNZWJoa-dmxTnijteFrDzMUqHhuBvmHcSQ@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=sebastian.huber@embedded-brains.de \
/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 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).