[PATCH 0/4] hw/dma: Add error handling for loading descriptions failing

Fea.Wang posted 4 patches 5 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240603055248.3928469-1-fea.wang@sifive.com
Maintainers: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Alistair Francis <alistair@alistair23.me>, Peter Maydell <peter.maydell@linaro.org>, Jason Wang <jasowang@redhat.com>
There is a newer version of this series
hw/dma/trace-events     |  3 +++
hw/dma/xilinx_axidma.c  | 27 +++++++++++++++++++++++----
hw/net/xilinx_axienet.c |  2 +-
3 files changed, 27 insertions(+), 5 deletions(-)
[PATCH 0/4] hw/dma: Add error handling for loading descriptions failing
Posted by Fea.Wang 5 months, 3 weeks ago
The original code assumes that memory transmission is always successful,
but in some cases, it gets bus-error.

Add error handling for DMA reading description failures. Do some
reasonable settings, and return the corrected transmission size.
Finally, return the error status.

base-commit: 1806da76cb81088ea026ca3441551782b850e393

Fea.Wang (4):
  hw/dma: Enhance error handling in loading description
  hw/dma: Break the loop when loading descriptions fails
  hw/dma: Add a trace log for a description loading failure
  hw/net: Fix the transmission return size

 hw/dma/trace-events     |  3 +++
 hw/dma/xilinx_axidma.c  | 27 +++++++++++++++++++++++----
 hw/net/xilinx_axienet.c |  2 +-
 3 files changed, 27 insertions(+), 5 deletions(-)

-- 
2.34.1