From nobody Sun Apr 28 23:18:55 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=reactos.org ARC-Seal: i=1; a=rsa-sha256; t=1577035871; cv=none; d=zohomail.com; s=zohoarc; b=CWuAHi+Ch14wHsAF0nry1NXh2stL16fDFzJoYw2WbOykX26tGljEr32oN94fIv8DcPBCCeRuIhpago1XnKJ69rWdol8jJrDR2jYhxq8ZD9q+0c+1MbUJogfrgYKyKWUEkwshwNmIQ7H0NY6ExJQAyvp2Ivu8tqpdtXmj47TEZNM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1577035871; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=USE0NpeN1sKP/l6q+modRrZFP5TfsnYOSX8h3DSkW8A=; b=hgJLuEkcWsWJ2f+Js87uiuiaL3CBUgShFT2yR1olVKlFgp04obHu7jfB5Ewp88yRvelY7db2LIOmMRJ6sAX2J4NkJFEEYc1AZtoC8aEEC9VsfKu/rB+igvv0fD/JeEPMOk20nFxkbA9tlrudCwYeSlmW8FcRsgc2c7Mg8t/zXmo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1577035870978466.5949421642806; Sun, 22 Dec 2019 09:31:10 -0800 (PST) Received: from localhost ([::1]:49616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ij53t-0006AY-6d for importer@patchew.org; Sun, 22 Dec 2019 12:30:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43206) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ij52l-0005ce-PF for qemu-devel@nongnu.org; Sun, 22 Dec 2019 12:29:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ij52k-0006T4-HU for qemu-devel@nongnu.org; Sun, 22 Dec 2019 12:29:27 -0500 Received: from iserv.reactos.org ([2a01:4f8:1c17:5ae1::1]:40934) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ij52j-0006BX-VB for qemu-devel@nongnu.org; Sun, 22 Dec 2019 12:29:26 -0500 Received: from [2a01:e35:2e3e:3c40:3a59:f9ff:fedc:97e7] (helo=localhost.localdomain) by iserv.reactos.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ij52e-0001Q3-VS; Sun, 22 Dec 2019 17:29:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=reactos.org ; s=25047; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=USE0NpeN1sKP/l6q+modRrZFP5TfsnYOSX8h3DSkW8A=; b=PHK/1NrlrBOTDBA3Q4qGBMu+2V fN6TnwKrVAuoD9pcjv6VByrrCOjVEyxSFF5yULPaHViJ1QnlRryIpQCctp0YfDTwVeuKbzP+XROlf BaTmmO/P/hv92OqzBCfrC6dYvARNbiPL4zdW996hFSoOyvTjJlke/ic91gAyzbZa15nM=; From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= To: qemu-devel@nongnu.org, Aleksandar Rikalo Subject: [PATCH] dma/rc4030: correctly reset DMA translation table at reset Date: Sun, 22 Dec 2019 18:29:13 +0100 Message-Id: <20191222172913.10419-1-hpoussin@reactos.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:4f8:1c17:5ae1::1 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) This fixes a freeze at reboot, introduced in c627e7526a902dd5bb1907dbbd5cf9= 61679dfa68 Signed-off-by: Herv=C3=A9 Poussineau --- 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) =20 memset(s->dma_regs, 0, sizeof(s->dma_regs)); =20 + s->dma_tl_base =3D s->dma_tl_limit =3D 0; s->remote_failed_address =3D s->memory_failed_address =3D 0; s->cache_maint =3D 0; s->cache_ptag =3D s->cache_ltag =3D 0; --=20 2.19.2