qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] hw/dma: Align SiFive PDMA behavior with real hardware
@ 2021-09-10  5:56 frank.chang
  2021-09-10  5:56 ` [PATCH 1/4] hw/dma: sifive_pdma: reset Next* registers when Control.claim is set frank.chang
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: frank.chang @ 2021-09-10  5:56 UTC (permalink / raw)
  To: qemu-devel, qemu-riscv; +Cc: Frank Chang

From: Frank Chang <frank.chang@sifive.com>

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.

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 | 50 ++++++++++++++++++++++++++++++++++----------
 1 file changed, 39 insertions(+), 11 deletions(-)

--
2.25.1



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-09-12 12:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10  5:56 [PATCH 0/4] hw/dma: Align SiFive PDMA behavior with real hardware frank.chang
2021-09-10  5:56 ` [PATCH 1/4] hw/dma: sifive_pdma: reset Next* registers when Control.claim is set frank.chang
2021-09-11 12:37   ` Bin Meng
2021-09-11 13:12     ` Bin Meng
2021-09-11 14:48       ` Bin Meng
2021-09-12 12:42       ` Frank Chang
2021-09-10  5:56 ` [PATCH 2/4] hw/dma: sifive_pdma: claim bit must be set before DMA transactions frank.chang
2021-09-11 14:48   ` Bin Meng
2021-09-10  5:56 ` [PATCH 3/4] hw/dma: sifive_pdma: allow non-multiple transaction size transactions frank.chang
2021-09-11 14:48   ` Bin Meng
2021-09-10  5:56 ` [PATCH 4/4] hw/dma: sifive_pdma: don't set Control.error if 0 bytes to transfer frank.chang
2021-09-11 14:48   ` Bin Meng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).