* [PATCH] dma/rc4030: correctly reset DMA translation table at reset
@ 2019-12-22 17:29 Hervé Poussineau
2019-12-23 8:26 ` Aleksandar Markovic
0 siblings, 1 reply; 2+ messages in thread
From: Hervé Poussineau @ 2019-12-22 17:29 UTC (permalink / raw)
To: qemu-devel, Aleksandar Rikalo; +Cc: Hervé Poussineau
This fixes a freeze at reboot, introduced in c627e7526a902dd5bb1907dbbd5cf961679dfa68
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dma/rc4030: correctly reset DMA translation table at reset
2019-12-22 17:29 [PATCH] dma/rc4030: correctly reset DMA translation table at reset Hervé Poussineau
@ 2019-12-23 8:26 ` Aleksandar Markovic
0 siblings, 0 replies; 2+ messages in thread
From: Aleksandar Markovic @ 2019-12-23 8:26 UTC (permalink / raw)
To: Hervé Poussineau; +Cc: Aleksandar Rikalo, qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]
On Sunday, December 22, 2019, Hervé Poussineau <hpoussin@reactos.org> wrote:
> This fixes a freeze at reboot, introduced in c627e7526a902dd5bb1907dbbd5cf9
> 61679dfa68
>
> Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
> ---
> hw/dma/rc4030.c | 1 +
> 1 file changed, 1 insertion(+)
>
>
Hi, Herve,
Very good that you found the fix, but I would really appreciate if you
provide the details on repro procedure.
One more thing, does this have anything to do eith the Finn's attempt to
start Jazz machine with:
Quote:
I tried to boot NetBSD/arc but failed. I got a blue screen when I typed
"cd:boot" at the "Run A Program" prompt in the ARC menu.
$ ln -s NTPROM.RAW mipsel_bios.bin
$ mips64el-softmmu/qemu-system-mips64el -M magnum -L .
-drive if=scsi,unit=2,media=cdrom,format=raw,file=NetBSD-8.1-arc.iso
-global ds1225y.filename=nvram -global ds1225y.size=8200
qemu-system-mips64el: g364: invalid read at [0000000000102000]
$
Best regards,
Alekssndar
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
>
>
>
[-- Attachment #2: Type: text/html, Size: 3972 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-23 8:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-22 17:29 [PATCH] dma/rc4030: correctly reset DMA translation table at reset Hervé Poussineau
2019-12-23 8:26 ` Aleksandar Markovic
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).