From patchwork Sun Oct 30 22:28:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 620043 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2452860pvb; Sun, 30 Oct 2022 15:37:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7l+U0Kn47MOO/qk0LORI6xyzhDK33wl72LcRoJjhk8bAkZgAmRhkReiCTIX/N2sJNhVKsr X-Received: by 2002:a05:620a:14a6:b0:6fa:faa:86d2 with SMTP id x6-20020a05620a14a600b006fa0faa86d2mr7112936qkj.162.1667169451944; Sun, 30 Oct 2022 15:37:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667169451; cv=none; d=google.com; s=arc-20160816; b=f3w7q8+dHlnPm1rPybeAsjYqfCG+UPvqfXF3kDZii7o7iAmPj1oV17EMysHXfFM5t4 1Y+AZhIsrqfiHtMPiOMt02Gp17D7sMibavAjMX0vgPNbuFLdIWoDF0Cy7J1f/05kw3Oi 5dlMXWVJt2bqS7GbzLbu+6ltCdsHJOG7XbwQ7329EtStRc7Dfhx0ayJuHtCU+SrTvnKT rNObC1DO27jWr3IBaiNFAeAk4IaDG2F8bPqSrrRKuOKvRY/zj/6xYYPIrEKstMOMLx9Y tshs6L0Vcf1tuBqB4F55AEhHml7Vg1O1X57GCV+uZ6STq0bFPWu2nFW25r2IBkgeUz+z OICA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=D4JFrtWXcU/SpTQigs0Qb72fyYGn0igOywH9P8OaWUU=; b=0TywVv1H0jGn+nmH5qNDyUy6SPFZCpnz7LUjl6/+ezE75dbdBqFvq1GJz9ZV7hteax nIx6EWX3sVdBKb5E30P4pq87gLB0UeULXkQ/HZzSAeGHiLAqBTSKntgj4bziHBY6c7TJ 5aJ2vexAPqppGn0P7oBZ0gJt8MQdP3IvwtBNN4URkX/A3LGBS3Tm1FSW0FzYrwtuuwqf sKnjLiFquLu4QdgpQyFIrv/t3Whl5Fw59HrDwUxhFLO7oX6X6G3rlu1ewcwi9UCAeFzk hll3Ahi0zCx10f2b+U/kxNV+qcVz7GITvP26n2Ze5ZsZz09ow/zneOtk9LNmNwTyAg2O fUzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hplX4vP2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id y22-20020a05620a25d600b006b941547704si1474419qko.292.2022.10.30.15.37.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Oct 2022 15:37:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hplX4vP2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opGuR-0001y0-4O; Sun, 30 Oct 2022 18:36:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opGsi-0005PJ-LH for qemu-devel@nongnu.org; Sun, 30 Oct 2022 18:34:20 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1opGsg-0000LG-28 for qemu-devel@nongnu.org; Sun, 30 Oct 2022 18:34:15 -0400 Received: by mail-wr1-x42f.google.com with SMTP id a14so13676280wru.5 for ; Sun, 30 Oct 2022 15:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=D4JFrtWXcU/SpTQigs0Qb72fyYGn0igOywH9P8OaWUU=; b=hplX4vP2EOdsWa3efO4oJhHL6GRD9waUhE7Tlvjt9lMrxWUwF9vIvXCxt3041a7OO5 NINuuo4EGDUDNfDm3GIn35g57zhm8zpMlQD9mkpbGj5Sc/JHNN3KXf5PmKxbLlGLe7tP ya5CVB68ESalHw+mfPoMry6o9WOEmbX6Cidki5N5vlQK+easPrE+v6oAt4fDg+2tS8qa HzfMKytDUHSALW/M/P2fB/SY2cayCLGLg3c3QEuLlmPxOUX7pxca//pMr9qkiA+RC0Bd v0961pRv2sarUcptsyHovh90bTlEah3WHmpaGClvFarOgDSPg53KzLRSDpRcUNeVVCo6 Flzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D4JFrtWXcU/SpTQigs0Qb72fyYGn0igOywH9P8OaWUU=; b=sc+sUs8n+nAirWtzD93lo0jxJpRD/PwO8H3HYot827xxAZeE3JlBAofVSiNSbBAbce Gix7Ejp5gtOdBWVjOP11TB194PI8TnXgDXe+6KC3hYpJ73UiHNOZ4DKPI3A/2ufej/7U 2XTSgcllTEqZmVfWLM4Yj8/DpDOjkXU/JK50OpEI0crM5GAx4lSBaHQrrPJ5sNQ0kNeY 04nGZvbBnNeaAoHiCFBuJgNXUuPCqah73jb0PTgYzTAwi7+ClvVUgLZkgGqk50NHUilb rFqpHWKHOXC26BikP4qdmKfaB/jJhxj/hPPaVxLtKwd/Zk7dbmbQEV16YlwAOdqIqTXt +c9w== X-Gm-Message-State: ACrzQf2rlyE03g/eC9I5vYXhBOGTYEis4xSYno4+ZELyyQRpDHaOoMsj GCVmiSz6z00SnkoHGNPMZcwE4Sb+SW1Ezg== X-Received: by 2002:a05:6000:1b0e:b0:236:5c9e:7110 with SMTP id f14-20020a0560001b0e00b002365c9e7110mr6224171wrz.650.1667169252175; Sun, 30 Oct 2022 15:34:12 -0700 (PDT) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id bj12-20020a0560001e0c00b0022e55f40bc7sm5268101wrb.82.2022.10.30.15.34.10 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 30 Oct 2022 15:34:11 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Aleksandar Rikalo , Huacai Chen , Stefan Pejic , Jiaxun Yang , Aurelien Jarno , Paul Burton , Bernhard Beschow Subject: [PULL 50/55] hw/isa/piix4: Add missing initialization Date: Sun, 30 Oct 2022 23:28:36 +0100 Message-Id: <20221030222841.42377-51-philmd@linaro.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221030222841.42377-1-philmd@linaro.org> References: <20221030222841.42377-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Bernhard Beschow PIIX3 clears its reset control register, so do the same in PIIX4. Signed-off-by: Bernhard Beschow Message-Id: <20221022150508.26830-28-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé --- hw/isa/piix4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c index e05e65d3bc..9126eb9edf 100644 --- a/hw/isa/piix4.c +++ b/hw/isa/piix4.c @@ -140,6 +140,8 @@ static void piix4_isa_reset(DeviceState *dev) pci_conf[0xab] = 0x00; pci_conf[0xac] = 0x00; pci_conf[0xae] = 0x00; + + d->rcr = 0; } static int piix4_post_load(void *opaque, int version_id)