qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] MIPS: DMA support for RC4030 chipset [v5]
@ 2008-12-31  6:42 Hervé Poussineau
  2009-01-01 13:04 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Hervé Poussineau @ 2008-12-31  6:42 UTC (permalink / raw)
  To: qemu-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-01 13:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-31  6:42 [Qemu-devel] [PATCH] MIPS: DMA support for RC4030 chipset [v5] Hervé Poussineau
2009-01-01 13:04 ` Aurelien Jarno

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).