Skip to content

hw/dma: Add error handling for loading descriptions failing

Fea.Wang qemu-arm qemu-devel qemu-riscv 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v23 patches 3 repliesSuperseded
  3. v14 patches 11 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/dma: Enhance error handling in loading descriptionhw/dma/xilinx_axidma.c+26 -40 replies
2/3hw/dma: Add a trace log for a description loading failurehw/dma/trace-events hw/dma/xilinx_axidma.c+6 -01 reply
3/3hw/net: Fix the transmission return sizehw/net/xilinx_axienet.c+1 -10 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchEdgar E. IglesiasFrank ChangPhilippe Mathieu-Daudé
1/3R-b
2/3R-b R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] hw/dma: Add error handling for loading descriptions failing

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.

* Fix the trace format for an unsigned variable

base-commit: d82f37faf5643897b2e61abb229499d64a51aa26

[v2]
* Add DMASR_DECERR case
* Squash the two commits to one

base-commit: 915758c537b5fe09575291f4acd87e2d377a93de

[v1]
base-commit: 1806da76cb81088ea026ca3441551782b850e393

Fea.Wang (3):
hw/dma: Enhance error handling in loading description hw/dma: Add a trace log for a description loading failure hw/net: Fix the transmission return size

Fea.Wang (3):
hw/dma: Enhance error handling in loading description 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  | 33 +++++++++++++++++++++++++++++----
 hw/net/xilinx_axienet.c |  2 +-
 3 files changed, 33 insertions(+), 5 deletions(-)
Signature · 1 line
2.34.1