mbox series

[v2,0/3] Several fixes of AXI-ethernet/DMA

Message ID 20240801140609.26922-1-jim.shu@sifive.com
Headers show
Series Several fixes of AXI-ethernet/DMA | expand

Message

Jim Shu Aug. 1, 2024, 2:06 p.m. UTC
v2:
- Remove redundant RCW1_RX checking in enet_write()
- Remove qemu_set_irq() in DeviceState::reset()

Fix txlen value in the descriptor status field, DMA error handling,
and ethernet/DMA reset flow.

Jim Shu (3):
  hw/dma: xilinx_axidma: Correct the txlen value in the descriptor
  hw/dma: xilinx_axidma: Send DMA error IRQ if any memory access is
    failed
  hw/net: xilinx_axienet: Fix DMA RX IRQ if ethernet disable RX

 hw/dma/trace-events     |  1 +
 hw/dma/xilinx_axidma.c  | 74 +++++++++++++++++++++++++++++------------
 hw/net/xilinx_axienet.c | 71 +++++++++++++++++++++++----------------
 3 files changed, 95 insertions(+), 51 deletions(-)