qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Hervé Poussineau" <hpoussin@reactos.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] MIPS: DMA support for RC4030 chipset [v5]
Date: Wed, 31 Dec 2008 07:42:52 +0100	[thread overview]
Message-ID: <495B146C.1060509@reactos.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

Hi,

Attached patch implements DMA support to RC4030 chipset and simplifies 
jazz IO part (at 0xf0000000), where registers contain 16 bit values.
Config register has not a clear meaning (only one value is always valid, 
and sometimes another one), so use a magic value instead.
The patch also wires DMA transfers for the SCSI adapter in the Jazz 
emulation (Mips Magnum 4000 and Acer Pica 61).

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>

Changes since v1:
- Support reuse of esp callback functions up to DMA engine
- Don't keep in memory the DMA table, but read it when needed

Changes since v2:
- Don't use cpu_single_env in the DMA transfer function, as it is NULL 
in the aio path
- Multiple improvements to the DMA transfer function: report errors to 
the caller, support for non contiguous physical pages...

Changes since v3:
- Mask out higher bits of DMA translation table address

Changes since v4:
- Fix warnings on 64 bit hosts
- Document a change on the config register

Hervé

[-- Attachment #2: rc4030_dma_v5.diff --]
[-- Type: plain/text, Size: 18116 bytes --]

             reply	other threads:[~2008-12-31  6:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-31  6:42 Hervé Poussineau [this message]
2009-01-01 13:04 ` [Qemu-devel] [PATCH] MIPS: DMA support for RC4030 chipset [v5] Aurelien Jarno

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=495B146C.1060509@reactos.org \
    --to=hpoussin@reactos.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).