[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] dma/rc4030: correctly reset DMA translation table at reset
From: |
Hervé Poussineau |
Subject: |
[PATCH] dma/rc4030: correctly reset DMA translation table at reset |
Date: |
Sun, 22 Dec 2019 18:29:13 +0100 |
This fixes a freeze at reboot, introduced in
c627e7526a902dd5bb1907dbbd5cf961679dfa68
Signed-off-by: Hervé Poussineau <address@hidden>
---
hw/dma/rc4030.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/dma/rc4030.c b/hw/dma/rc4030.c
index c4cf8236f4..76302fe431 100644
--- a/hw/dma/rc4030.c
+++ b/hw/dma/rc4030.c
@@ -534,6 +534,7 @@ static void rc4030_reset(DeviceState *dev)
memset(s->dma_regs, 0, sizeof(s->dma_regs));
+ s->dma_tl_base = s->dma_tl_limit = 0;
s->remote_failed_address = s->memory_failed_address = 0;
s->cache_maint = 0;
s->cache_ptag = s->cache_ltag = 0;
--
2.19.2
- [PATCH] dma/rc4030: correctly reset DMA translation table at reset,
Hervé Poussineau <=