From: Francisco Iglesias <frasse.iglesias@gmail.com>
To: qemu-devel@nongnu.org
Cc: edgari@xilinx.com, sai.pavan.boddu@xilinx.com,
alistair@alistair23.me, alistair23@gmail.com,
francisco.iglesias@feimtech.se, peter.maydell@linaro.org
Subject: [Qemu-devel] [PATCH v2 0/2] xlnx-zynqmp: Add emulation of the ZynqMP GDMA and ADMA
Date: Wed, 2 May 2018 22:06:38 +0200 [thread overview]
Message-ID: <20180502200640.22635-1-frasse.iglesias@gmail.com> (raw)
Hi,
The ZynqMP Soc contains two separate instances of a generic DMA, one located in
the FPD (full power domain) called GDMA and a second one located in the LPD
(low power domain) called ADMA. This patch series attempts to add emulation
support for these two DMAs on the ZynqMP board. The first patch in the series
adds a model of the ZynqMP generic DMA (the ZDMA). The second patch in the
series connects the two instances of the ZDMA, the GDMA and the ADMA, to the
ZynqMP board.
Best regards,
Francisco Iglesias
Changelog:
v1 -> v2
* Don't unpause the DMA channel if CONT is zero and clear CONT after
unpausing.
* Added 'state' to the vmstate_zdma.
* Renamed defines and variables in 'xlnx-zynqmp: Connect the ZynqMP GDMA and
ADMA' to better reflect they are channels variables.
Francisco Iglesias (2):
xlnx-zdma: Add a model of the Xilinx ZynqMP generic DMA
xlnx-zynqmp: Connect the ZynqMP GDMA and ADMA
hw/arm/xlnx-zynqmp.c | 53 +++
hw/dma/Makefile.objs | 1 +
hw/dma/xlnx-zdma.c | 835 +++++++++++++++++++++++++++++++++++++++++++
include/hw/arm/xlnx-zynqmp.h | 5 +
include/hw/dma/xlnx-zdma.h | 84 +++++
5 files changed, 978 insertions(+)
create mode 100644 hw/dma/xlnx-zdma.c
create mode 100644 include/hw/dma/xlnx-zdma.h
--
2.11.0
next reply other threads:[~2018-05-02 20:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-02 20:06 Francisco Iglesias [this message]
2018-05-02 20:06 ` [Qemu-devel] [PATCH v2 1/2] xlnx-zdma: Add a model of the Xilinx ZynqMP generic DMA Francisco Iglesias
2018-05-03 6:28 ` Edgar E. Iglesias
2018-05-03 20:52 ` francisco iglesias
2018-05-02 20:06 ` [Qemu-devel] [PATCH v2 2/2] xlnx-zynqmp: Connect the ZynqMP GDMA and ADMA Francisco Iglesias
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=20180502200640.22635-1-frasse.iglesias@gmail.com \
--to=frasse.iglesias@gmail.com \
--cc=alistair23@gmail.com \
--cc=alistair@alistair23.me \
--cc=edgari@xilinx.com \
--cc=francisco.iglesias@feimtech.se \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=sai.pavan.boddu@xilinx.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 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).