On Thu, 2026-10-15 at 11:37 +0800, Jay Chang wrote: > The Xilinx AXI DMA controller supports 64-bit descriptor addresses, > but the QEMU model only handled the low 32 bits during stream > processing. This causes descriptor accesses to use incorrect > addresses when descriptors are located above 4 GiB. > > This series updates the descriptor and MMIO handling and fixes > related > AXI DMA and AXI Ethernet behavior. > > The series: > > - Add 64-bit descriptor address handling to stream processing. > - Add separate 32-bit and 64-bit MMIO access helpers. > - Fix DMASR W1C and DMACR start processing behavior. > - Reset both DMA channels when DMACR_RESET is written. > - Do not start a transfer when TAILDESC is written while the channel > is halted. > - Fix AXI Ethernet RX packet double-buffering. > > Testing: > - Tested Xilinx AXI Ethernet networking with U-Boot. > - Tested DHCP and ping.
Thanks! Applied to riscv-to-apply.next Alistair > > Jay Chang (6): > hw/dma/xilinx_axidma: Support 64-bit descriptor addressing in > stream > processing > hw/dma/xilinx_axidma: Add 64-bit MMIO access support > hw/dma/xilinx_axidma: Fix DMASR register handling > hw/dma/xilinx_axidma: Reset both channels on DMACR_RESET > hw/dma/xilinx_axidma: Don't start transfer on TAILDESC write when > halted > hw/net/xilinx_axienet: Fix packet double-buffering issue > > hw/dma/xilinx_axidma.c | 249 +++++++++++++++++++++++++++++--------- > -- > hw/net/xilinx_axienet.c | 12 ++ > 2 files changed, 193 insertions(+), 68 deletions(-)
