qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 00/17] net/dp8393x and dma/rc4030 improvements


From: Hervé Poussineau
Subject: [Qemu-devel] [PATCH v2 00/17] net/dp8393x and dma/rc4030 improvements
Date: Wed, 27 May 2015 14:19:43 +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 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 (17):
  mips jazz: compile only in 64 bit little endian
  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
  net/dp8393x: repair can_receive() method
  [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   |   5 -
 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                     | 377 ++++++++++++++--------------
 include/hw/mips/mips.h               |  11 +-
 tests/endianness-test.c              |   4 -
 trace-events                         |   6 +
 11 files changed, 481 insertions(+), 461 deletions(-)

-- 
2.1.4




reply via email to

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