From: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: [Qemu-devel] [PATCH target-arm v4 0/3] Reset and Halting modifications + Zynq SMP
Date: Wed, 1 Jan 2014 23:30:23 -0800 [thread overview]
Message-ID: <cover.1388646736.git.peter.crosthwaite@xilinx.com> (raw)
Hi All,
The clock controller module in the Zynq platform has the ability to halt
and reset arbitrary devices, including the CPU. We use this feature to implement
SMP Linux - the kernel halts CPU1 then rewrites the vector table to the
secondary entry point and the resets+unhalts.
This series adds SMP support to the Zynq machine, and patches the Zynq SLCR
(the clock controller) to have DeviceState pointers to the CPUs. cpu_reset()
is then called on the appropriate register access.
Only the reset side is implemented (which is good enough for SMP linux
as it stands). Future work is to implement the halting behaviour as
well.
changed since v3:
Removed halting patches
Reduced to minimal change needed for SMP Zynq
Peter Crosthwaite (3):
xilinx_zynq: added SMP support:
zynq_slcr: Add links to the CPUs
zynq_slcr: Implement CPU reset
hw/arm/xilinx_zynq.c | 73 ++++++++++++++++++++++++++++++++++++++++------------
hw/misc/zynq_slcr.c | 23 +++++++++++++++++
2 files changed, 80 insertions(+), 16 deletions(-)
--
1.8.5.2
next reply other threads:[~2014-01-02 7:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-02 7:30 Peter Crosthwaite [this message]
2014-01-02 7:30 ` [Qemu-devel] [PATCH target-arm v4 1/3] xilinx_zynq: added SMP support: Peter Crosthwaite
2014-01-10 18:08 ` Peter Maydell
2014-01-15 6:47 ` Peter Crosthwaite
2014-01-02 7:31 ` [Qemu-devel] [PATCH target-arm v4 2/3] zynq_slcr: Add links to the CPUs Peter Crosthwaite
2014-01-10 18:11 ` Peter Maydell
2014-01-10 20:20 ` Peter Crosthwaite
2014-01-10 20:54 ` Andreas Färber
2014-01-02 7:32 ` [Qemu-devel] [PATCH target-arm v4 3/3] zynq_slcr: Implement CPU reset Peter Crosthwaite
2014-01-10 4:34 ` [Qemu-devel] [PATCH target-arm v4 0/3] Reset and Halting modifications + Zynq SMP Peter Crosthwaite
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=cover.1388646736.git.peter.crosthwaite@xilinx.com \
--to=peter.crosthwaite@xilinx.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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).