From nobody Mon Feb 9 19:29:58 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1524821114361736.165480262955; Fri, 27 Apr 2018 02:25:14 -0700 (PDT) Received: from localhost ([::1]:46672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBzcv-0003y6-Gn for importer@patchew.org; Fri, 27 Apr 2018 05:25:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBzZS-0000rl-Ai for qemu-devel@nongnu.org; Fri, 27 Apr 2018 05:21:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBzZO-0001nG-Rn for qemu-devel@nongnu.org; Fri, 27 Apr 2018 05:21:37 -0400 Received: from ozlabs.org ([203.11.71.1]:48659) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fBzZO-0001ma-7j; Fri, 27 Apr 2018 05:21:34 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 40XT2g48Skz9s1j; Fri, 27 Apr 2018 19:21:31 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1524820891; bh=14rMv7UFt7GDF1rZ6j87GMHekp7MASAgcguh5xUGC0U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FOk824NncoEy5U6vpTaMUXKG1Bng69uEhV51yFTGngEe61IprGT+buaIxb5crb2P5 55QLdOa5x6cAO3hcZQanht+Bg14SGXx34u6W+h1g0xCubRPoRNamUmPwywzNffKg6G qyt765HGGd5oknBXK4jwEX3Ak0IOMfLo5+tmXyao= From: David Gibson To: peter.maydell@linaro.org Date: Fri, 27 Apr 2018 19:20:39 +1000 Message-Id: <20180427092126.24812-3-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180427092126.24812-1-david@gibson.dropbear.id.au> References: <20180427092126.24812-1-david@gibson.dropbear.id.au> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 203.11.71.1 Subject: [Qemu-devel] [PULL 02/49] uninorth: remove second set of uninorth token registers X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Cave-Ayland , David Gibson , qemu-ppc@nongnu.org, groug@kaod.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Mark Cave-Ayland Commit 593c181160: "PPC: Newworld: Add second uninorth control register set" added a second set of uninorth registers at 0xf3000000. Testing MacOS 9.2 to MacOS X 10.4 reveals no accesses to this address and I can't find any reference to it in Apple's Core99.cpp source so I'm assuming that this was the result of another bug that has now been fixed. Signed-off-by: Mark Cave-Ayland Signed-off-by: David Gibson --- hw/ppc/mac_newworld.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c index 2f5b6f651a..39944203a4 100644 --- a/hw/ppc/mac_newworld.c +++ b/hw/ppc/mac_newworld.c @@ -147,7 +147,6 @@ static void ppc_core99_init(MachineState *machine) qemu_irq *pic, **openpic_irqs; MemoryRegion *isa =3D g_new(MemoryRegion, 1); MemoryRegion *unin_memory =3D g_new(MemoryRegion, 1); - MemoryRegion *unin2_memory =3D g_new(MemoryRegion, 1); int linux_boot, i, j, k; MemoryRegion *ram =3D g_new(MemoryRegion, 1), *bios =3D g_new(MemoryRe= gion, 1); hwaddr kernel_base, initrd_base, cmdline_base =3D 0; @@ -282,9 +281,6 @@ static void ppc_core99_init(MachineState *machine) memory_region_init_io(unin_memory, NULL, &unin_ops, token, "unin", 0x1= 000); memory_region_add_subregion(get_system_memory(), 0xf8000000, unin_memo= ry); =20 - memory_region_init_io(unin2_memory, NULL, &unin_ops, token, "unin", 0x= 1000); - memory_region_add_subregion(get_system_memory(), 0xf3000000, unin2_mem= ory); - openpic_irqs =3D g_malloc0(smp_cpus * sizeof(qemu_irq *)); openpic_irqs[0] =3D g_malloc0(smp_cpus * sizeof(qemu_irq) * OPENPIC_OUTPUT_NB); --=20 2.14.3