Skip to content

hw/dma: Align SiFive PDMA behavior with real hardware

[email protected] qemu-devel qemu-riscv 4 versions – Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 3/34 patches 1 replyApplied
  2. v2 posting 2/34 patches 0 repliesSuperseded
  3. v2 posting 1/30 of 4 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches7 repliesSuperseded

Changes in v2 from the cover letter

* Add comment to describe document errors.

Patches in v2 posting 3/3 Applied

#Subject and filesSizeRepliesApplied
1/4hw/dma: sifive_pdma: reset Next* registers when Control.claim is sethw/dma/sifive_pdma.c+19 -00 replies
2/4hw/dma: sifive_pdma: claim bit must be set before DMA transactionshw/dma/sifive_pdma.c+9 -00 replies
3/4hw/dma: sifive_pdma: allow non-multiple transaction size transactionshw/dma/sifive_pdma.c+10 -60 replies
4/4hw/dma: sifive_pdma: don't set Control.error if 0 bytes to transferhw/dma/sifive_pdma.c+6 -61 reply

Reviews trailers per patch

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

PatchMax HsuBin MengFrank Chang
1/4T-b R-b T-b
2/4T-b R-b T-b
3/4T-b R-b T-b R-b
4/4T-b R-b T-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 v2 thread

Cover letter [PATCH RESEND v2 0/4] hw/dma: Align SiFive PDMA behavior with real hardware

From: Frank Chang <[email protected]>

Current QEMU PDMA doesn't align with real PDMA's behavior. This would result in Linux dmatest failed. This patchest aligns with real PDMA's behavior we tested on the real board. The golden results are performed in U-Boot on the Unmatched board with PDMA supported.

Changelog:

v2:
* Add comment to describe document errors.

Frank Chang (3):
hw/dma: sifive_pdma: reset Next* registers when Control.claim is set hw/dma: sifive_pdma: claim bit must be set before DMA transactions hw/dma: sifive_pdma: don't set Control.error if 0 bytes to transfer

Green Wan (1):
hw/dma: sifive_pdma: allow non-multiple transaction size transactions

 hw/dma/sifive_pdma.c | 54 +++++++++++++++++++++++++++++++++++---------
 1 file changed, 43 insertions(+), 11 deletions(-)

--
2.25.1