qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] MIPS: DMA support for RC4030 chipset [v5]


From: Hervé Poussineau
Subject: [Qemu-devel] [PATCH] MIPS: DMA support for RC4030 chipset [v5]
Date: Wed, 31 Dec 2008 07:42:52 +0100
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

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 <address@hidden>

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: rc4030_dma_v5.diff
Description: plain/text


reply via email to

[Prev in Thread] Current Thread [Next in Thread]