[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/11] dma/xlnx-zdma: Clear DMA_DONE when halting
From: |
Peter Maydell |
Subject: |
[PULL 09/11] dma/xlnx-zdma: Clear DMA_DONE when halting |
Date: |
Mon, 6 Apr 2020 11:12:03 +0100 |
From: "Edgar E. Iglesias" <address@hidden>
Clear DMA_DONE when halting the DMA channel.
Signed-off-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Francisco Iglesias <address@hidden>
Acked-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
---
hw/dma/xlnx-zdma.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/dma/xlnx-zdma.c b/hw/dma/xlnx-zdma.c
index 6a4699757af..dd893bc420f 100644
--- a/hw/dma/xlnx-zdma.c
+++ b/hw/dma/xlnx-zdma.c
@@ -520,6 +520,7 @@ static void zdma_process_descr(XlnxZDMA *s)
if (src_cmd == CMD_HALT) {
zdma_set_state(s, PAUSED);
ARRAY_FIELD_DP32(s->regs, ZDMA_CH_ISR, DMA_PAUSE, 1);
+ ARRAY_FIELD_DP32(s->regs, ZDMA_CH_ISR, DMA_DONE, false);
zdma_ch_imr_update_irq(s);
return;
}
--
2.20.1
- [PULL 00/11] target-arm queue, Peter Maydell, 2020/04/06
- [PULL 02/11] hw/arm/collie: Put StrongARMState* into a CollieMachineState struct, Peter Maydell, 2020/04/06
- [PULL 03/11] target/arm: PSTATE.PAN should not clear exec bits, Peter Maydell, 2020/04/06
- [PULL 04/11] target/arm: Remove obsolete TODO note from get_phys_addr_lpae(), Peter Maydell, 2020/04/06
- [PULL 05/11] hw/gpio/aspeed_gpio.c: Don't directly include assert.h, Peter Maydell, 2020/04/06
- [PULL 06/11] dump: Fix writing of ELF section, Peter Maydell, 2020/04/06
- [PULL 08/11] dma/xlnx-zdma: Populate DBG0.CMN_BUF_FREE, Peter Maydell, 2020/04/06
- [PULL 09/11] dma/xlnx-zdma: Clear DMA_DONE when halting,
Peter Maydell <=
- [PULL 01/11] target/arm: don't expose "ieee_half" via gdbstub, Peter Maydell, 2020/04/06
- [PULL 07/11] dma/xlnx-zdma: Remove comment, Peter Maydell, 2020/04/06
- [PULL 11/11] dma/xlnx-zdma: Reorg to fix CUR_DSCR, Peter Maydell, 2020/04/06
- [PULL 10/11] dma/xlnx-zdma: Advance the descriptor address when stopping, Peter Maydell, 2020/04/06
- Re: [PULL 00/11] target-arm queue, Peter Maydell, 2020/04/06