[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 00/16] net/dp8393x and dma/rc4030 improvements
From: |
Hervé Poussineau |
Subject: |
[Qemu-devel] [PATCH v3 00/16] net/dp8393x and dma/rc4030 improvements |
Date: |
Wed, 3 Jun 2015 22:45:34 +0200 |
Hi,
This patchset improves dp8393x network card emulation to current QEMU standards,
mostly decouples it from MIPS rc4030 chipset emulation, adds PROM and load/save
functionalities, and fixes some bugs seen with NetBSD.
It also converts rc4030 to QOM, and does some cleanup.
Patchset has been tested on MIPS Jazz emulation and on (yet unpublished)
m68k Quadra 800 emulation.
Changes v2->v3:
- patch 1: keep mips jazz compilation on 64 bit big endian
- patch 14: do not use a temporary variable
- patch "net/dp8393x: repair can_receive() method" removed
Changes v1->v2:
- added patches 1, 5-7, 14-16
- fixed memory region life cycle in rc4030 (patch 2)
- removed a loop around address_space_rw (patch 2)
- added RFC patch 17, which highlights a bug somewhere
Hervé Poussineau (16):
mips jazz: compile only in 64 bit
dma/rc4030: create custom DMA address space
dma/rc4030: use AddressSpace and address_space_rw in users
dma/rc4030: do not use old_mmio accesses
dma/rc4030: document register at offset 0x210
dma/rc4030: use trace events instead of custom logging
dma/rc4030: convert to QOM
net/dp8393x: always calculate proper checksums
net/dp8393x: do not use old_mmio accesses
net/dp8393x: use dp8393x_ prefix for all functions
net/dp8393x: QOM'ify
net/dp8393x: add PROM to store MAC address
net/dp8393x: add load/save support
net/dp8393x: correctly reset in_use field
net/dp8393x: fix hardware reset
[RFC] dma/rc4030: do multiple calls to address_space_rw when doing DMA
transfers
default-configs/mips-softmmu.mak | 5 -
default-configs/mips64-softmmu.mak | 1 +
default-configs/mips64el-softmmu.mak | 1 +
default-configs/mipsel-softmmu.mak | 5 -
hw/dma/rc4030.c | 472 ++++++++++++++++++-----------------
hw/mips/Makefile.objs | 3 +-
hw/mips/mips_jazz.c | 53 ++--
hw/net/dp8393x.c | 369 ++++++++++++++-------------
include/hw/mips/mips.h | 11 +-
tests/endianness-test.c | 2 -
trace-events | 6 +
11 files changed, 477 insertions(+), 451 deletions(-)
--
2.1.4
- [Qemu-devel] [PATCH v3 00/16] net/dp8393x and dma/rc4030 improvements,
Hervé Poussineau <=
- [Qemu-devel] [PATCH v3 05/16] dma/rc4030: document register at offset 0x210, Hervé Poussineau, 2015/06/03
- [Qemu-devel] [PATCH v3 04/16] dma/rc4030: do not use old_mmio accesses, Hervé Poussineau, 2015/06/03
- [Qemu-devel] [PATCH v3 01/16] mips jazz: compile only in 64 bit, Hervé Poussineau, 2015/06/03
- [Qemu-devel] [PATCH v3 06/16] dma/rc4030: use trace events instead of custom logging, Hervé Poussineau, 2015/06/03
- [Qemu-devel] [PATCH v3 02/16] dma/rc4030: create custom DMA address space, Hervé Poussineau, 2015/06/03
- [Qemu-devel] [PATCH v3 08/16] net/dp8393x: always calculate proper checksums, Hervé Poussineau, 2015/06/03
- [Qemu-devel] [PATCH v3 07/16] dma/rc4030: convert to QOM, Hervé Poussineau, 2015/06/03
- [Qemu-devel] [PATCH v3 09/16] net/dp8393x: do not use old_mmio accesses, Hervé Poussineau, 2015/06/03
- [Qemu-devel] [PATCH v3 03/16] dma/rc4030: use AddressSpace and address_space_rw in users, Hervé Poussineau, 2015/06/03