From: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
To: qemu-devel@nongnu.org
Cc: edgar.iglesias@xilinx.com, peter.maydell@linaro.org,
alistair.francis@xilinx.com
Subject: [Qemu-devel] [PATCH target-arm v5 0/5] Reset and Halting modifications + Zynq SMP
Date: Wed, 15 Jan 2014 01:12:31 -0800 [thread overview]
Message-ID: <cover.1389776859.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 GPIOs connected to the CPUs. The GPIOs
cause and ARM CPU reset.
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 v4 (PMM review):
Convert to GPIO scheme
Implemented custom secondary cpu reset
OCM Macro cleanup
changed since v3:
Removed halting patches
Reduced to minimal change needed for SMP Zynq
Peter Crosthwaite (5):
arm: zynq: Macroify OCM Base and Size
arm: zynq: added SMP support
zynq_slcr: Implement CPU reset
arm: Implement reset GPIO.
arm: zynq: Connect CPU resets to SLCR
hw/arm/xilinx_zynq.c | 87 ++++++++++++++++++++++++++++++++++++++++------------
hw/misc/zynq_slcr.c | 16 ++++++++++
target-arm/cpu.c | 23 ++++++++++++++
target-arm/cpu.h | 8 +++--
4 files changed, 112 insertions(+), 22 deletions(-)
--
1.8.5.3
next reply other threads:[~2014-01-15 9:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-15 9:12 Peter Crosthwaite [this message]
2014-01-15 9:13 ` [Qemu-devel] [PATCH target-arm v5 1/5] arm: zynq: Macroify OCM Base and Size Peter Crosthwaite
2014-01-27 17:41 ` Peter Maydell
2014-01-15 9:13 ` [Qemu-devel] [PATCH target-arm v5 2/5] arm: zynq: added SMP support Peter Crosthwaite
2014-01-27 17:42 ` Peter Maydell
2014-01-15 9:14 ` [Qemu-devel] [PATCH target-arm v5 3/5] zynq_slcr: Implement CPU reset Peter Crosthwaite
2014-01-27 17:43 ` Peter Maydell
2014-01-15 9:14 ` [Qemu-devel] [PATCH target-arm v5 4/5] arm: Implement reset GPIO Peter Crosthwaite
2014-01-27 17:52 ` Peter Maydell
2014-01-28 0:48 ` Peter Crosthwaite
2014-01-28 9:22 ` Peter Maydell
2014-02-12 5:20 ` Peter Crosthwaite
2014-01-28 9:28 ` Andreas Färber
2014-01-15 9:15 ` [Qemu-devel] [PATCH target-arm v5 5/5] arm: zynq: Connect CPU resets to SLCR Peter Crosthwaite
2014-01-24 8:51 ` [Qemu-devel] [PATCH target-arm v5 0/5] 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.1389776859.git.peter.crosthwaite@xilinx.com \
--to=peter.crosthwaite@xilinx.com \
--cc=alistair.francis@xilinx.com \
--cc=edgar.iglesias@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).