From: Guenter Roeck <linux@roeck-us.net>
To: qemu-devel@nongnu.org
Subject: How to tell DMA controller in qemu to terminate transfer ?
Date: Wed, 8 Jan 2020 10:35:53 -0800 [thread overview]
Message-ID: <20200108183553.GA5608@roeck-us.net> (raw)
Hi,
I am trying to fix DMA support with Exynos4210. The original commit
59520dc65e ("hw/arm/exynos4210: Add DMA support for the Exynos4210") doesn't
really work, primarily because it assigns wrong interrupt lines (no idea
how I thought I tested that).
Problem I have right now is that the pl330 peripheral DMA in Exynos4210
depends on a signal from the peripheral device (here: serial ports)
to end a DMA transfer. To make this work, I need a signal from
exynos4210_uart.c to pl330.c to terminate the DMA after the receive
buffer is empty.
How can I implement this in qemu ?
Thanks,
Guenter
next reply other threads:[~2020-01-08 18:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-08 18:35 Guenter Roeck [this message]
2020-01-10 10:36 ` How to tell DMA controller in qemu to terminate transfer ? Peter Maydell
2020-01-10 12:46 ` Guenter Roeck
2020-01-10 18:02 ` Guenter Roeck
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=20200108183553.GA5608@roeck-us.net \
--to=linux@roeck-us.net \
--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).