Skip to content

RFC QOMify AXI stream for Xilinx AXI ethernet/DMA

Peter A. G. Crosthwaite qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v0 RFC Latest8 patches 20 repliesIn review

Patches in v0 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8qom: revamp interfacesinclude/qemu/object.h qom/object.c+114 -100 replies
2/8xilinx: remove PROP_PTR propertieshw/petalogix_ml605_mmu.c hw/xilinx.h hw/xilinx_axidma.c +2 more+90 -750 replies
3/8xilinx_axidma: Added missing TypeInfohw/xilinx_axidma.c+7 -01 reply
4/8object: create default canonical paths for orphansqom/object.c+7 -01 reply
5/8object: make interfaces concreteqom/object.c+1 -111 replies
6/8xilinx dont cast to interface types with linkshw/petalogix_ml605_mmu.c hw/xilinx.h+4 -47 replies
7/8petalogix_ml605_mmu: fixed qdev create for dmahw/petalogix_ml605_mmu.c+1 -10 replies
8/8axidma: renamed interconnect to axi-streamhw/axi-stream.c hw/axi-stream.h hw/microblaze/Makefile.objs +5 more+78 -620 replies

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchPaolo Bonzini
1/8
2/8
3/8R-b
4/8
5/8R-b
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v0 thread

Cover letter [Qemu-devel] [RFC v0 0/8] QOMify AXI stream for Xilinx AXI ethernet/DMA

This series builds on Paolos work-in-progress on the Xilinx IP to get it all working and get the interface generalised to AXI-stream.

I have cc'd everyone from the RFC i put out for AXI stream, for most the patch of interest are P2 and P8, which together are the QOMification of AXI stream. Paolos original work (P2) was pritty much what Andreas proposed as the solution, so all I did was fix the Names (P8).

The series is a preliminary "quick and dirty" RFC (so i called it v0). It is not bisectable as several bugfixes are created as individual patches. This is for ease of review and to track the diff between Paolos and my branch. Ill remake as atomic patches in V1.

First two patches are cherry picked from Paolos tree.

P1 is a refactoring of the QOM Interface system
P2 sets up the xilinx IP to use Interfaces rather than PROP_PTRs

P3 is the type registration for the interface type (missing from P2)
P4 is a workaround for a bug that needs to be resolved (with canonical paths or objects) P5 is a bugfix on the interface system. should fold into P1 (i think?)
P6 is a workaround for a bug in the object link system. Needs some attention P7 is a typo fix for P2
P8 changes the names of all the types etc to better match AXI stream

Paolo Bonzini (2):
qom: revamp interfaces
xilinx: remove PROP_PTR properties

Peter A. G. Crosthwaite (6):
xilinx_axidma: Added missing TypeInfo
object: create default canonical paths for orphans
object: make interfaces concrete
xilinx dont cast to interface types with links
petalogix_ml605_mmu: fixed qdev create for dma
axidma: renamed interconnect to axi-stream

 hw/axi-stream.c             |   15 ++++++
 hw/axi-stream.h             |   35 ++++++++++++++
 hw/microblaze/Makefile.objs |    1 +
 hw/petalogix_ml605_mmu.c    |   18 ++++----
 hw/xilinx.h                 |   22 ++++-----
 hw/xilinx_axidma.c          |   45 ++++++++++++------
 hw/xilinx_axidma.h          |   39 ---------------
 hw/xilinx_axienet.c         |   37 ++++++++++-----
 include/qemu/object.h       |  110 +++++++++++++++++++++++++++++++++++++++++++
 qom/object.c                |   23 +++++----
 10 files changed, 247 insertions(+), 98 deletions(-)
 create mode 100644 hw/axi-stream.c
 create mode 100644 hw/axi-stream.h
 delete mode 100644 hw/xilinx_axidma.h
Signature · 1 line
1.7.3.2