From nobody Sat Jul 12 15:08:37 2025 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.zoho.com; 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 1486015491599694.037088179473; Wed, 1 Feb 2017 22:04:51 -0800 (PST) Received: from localhost ([::1]:54475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZAVk-0005Uz-Ra for importer@patchew.org; Thu, 02 Feb 2017 01:04:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZ9js-0007Qg-H7 for qemu-devel@nongnu.org; Thu, 02 Feb 2017 00:15:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cZ9jo-0003o5-KY for qemu-devel@nongnu.org; Thu, 02 Feb 2017 00:15:20 -0500 Received: from ozlabs.org ([103.22.144.67]:53983) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cZ9jo-0003jz-3f; Thu, 02 Feb 2017 00:15:16 -0500 Received: by ozlabs.org (Postfix, from userid 1007) id 3vDSqR4FJpz9s84; Thu, 2 Feb 2017 16:14:57 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1486012499; bh=aah3iUx1oL+YrqrHdIcyCO6Z0YOt3lGDKnUS8z08u/Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VDeZ4lTisz7ph3u0xvpOjxxXJ4hzP1lk7NPmaU/5Pdmv318NxCyaEBcVLF6fkrClp r+kDdA1G2JzsnW2ONcmjO3dfAnDvVqgSPrkYGjtMZ1mAp9s7frW56qMK1Om1jQHijD xWDNUGGOXrU+hC3PO656XZpAokoF3i1HM1xW7xW8= From: David Gibson To: peter.maydell@linaro.org Date: Thu, 2 Feb 2017 16:13:37 +1100 Message-Id: <20170202051445.5735-40-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170202051445.5735-1-david@gibson.dropbear.id.au> References: <20170202051445.5735-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: 103.22.144.67 Subject: [Qemu-devel] [PULL 039/107] libqos: fix spapr qpci_map() 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: lvivier@redhat.com, thuth@redhat.com, qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com, agraf@suse.de, aik@ozlabs.ru, qemu-ppc@nongnu.org, David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Laurent Vivier Signed-off-by: Laurent Vivier Signed-off-by: David Gibson --- tests/libqos/pci-spapr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/libqos/pci-spapr.c b/tests/libqos/pci-spapr.c index 1e5d015..2043f1e 100644 --- a/tests/libqos/pci-spapr.c +++ b/tests/libqos/pci-spapr.c @@ -193,8 +193,8 @@ QPCIBus *qpci_init_spapr(QGuestAllocator *alloc) ret->pio.size =3D SPAPR_PCI_IO_WIN_SIZE; =20 /* 32-bit portion of the MMIO window is at PCI address 2..4 GiB */ - ret->mmio32_cpu_base =3D SPAPR_PCI_BASE + SPAPR_PCI_MMIO32_WIN_SIZE; - ret->mmio32.pci_base =3D 0x80000000; /* 2 GiB */ + ret->mmio32_cpu_base =3D SPAPR_PCI_BASE; + ret->mmio32.pci_base =3D SPAPR_PCI_MMIO32_WIN_SIZE; ret->mmio32.size =3D SPAPR_PCI_MMIO32_WIN_SIZE; =20 ret->bus.pio_alloc_ptr =3D 0xc000; --=20 2.9.3