From: Laurent Vivier <lvivier@redhat.com>
To: qemu-devel@nongnu.org
Cc: David Gibson <david@gibson.dropbear.id.au>,
Markus Armbruster <armbru@redhat.com>,
qemu-ppc@nongnu.org, Greg Kurz <groug@kaod.org>,
Thomas Huth <thuth@redhat.com>,
Laurent Vivier <lvivier@redhat.com>
Subject: [Qemu-devel] [PATCH v2 3/5] libqos: fix spapr qpci_map()
Date: Thu, 5 Jan 2017 16:29:46 +0100 [thread overview]
Message-ID: <1483630188-32021-4-git-send-email-lvivier@redhat.com> (raw)
In-Reply-To: <1483630188-32021-1-git-send-email-lvivier@redhat.com>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
---
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 = SPAPR_PCI_IO_WIN_SIZE;
/* 32-bit portion of the MMIO window is at PCI address 2..4 GiB */
- ret->mmio32_cpu_base = SPAPR_PCI_BASE + SPAPR_PCI_MMIO32_WIN_SIZE;
- ret->mmio32.pci_base = 0x80000000; /* 2 GiB */
+ ret->mmio32_cpu_base = SPAPR_PCI_BASE;
+ ret->mmio32.pci_base = SPAPR_PCI_MMIO32_WIN_SIZE;
ret->mmio32.size = SPAPR_PCI_MMIO32_WIN_SIZE;
ret->bus.pio_alloc_ptr = 0xc000;
--
2.7.4
next prev parent reply other threads:[~2017-01-05 15:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-05 15:29 [Qemu-devel] [PATCH v2 0/5] qtest: enable several tests for ppc64 Laurent Vivier
2017-01-05 15:29 ` [Qemu-devel] [PATCH v2 1/5] qtest: add netfilter " Laurent Vivier
2017-01-05 15:29 ` [Qemu-devel] [PATCH v2 2/5] qtest: add display-vga-test to ppc64 Laurent Vivier
2017-01-05 15:29 ` Laurent Vivier [this message]
2017-01-05 15:29 ` [Qemu-devel] [PATCH v2 4/5] qtest: convert ivshmem-test to use libqos Laurent Vivier
2017-01-05 15:29 ` [Qemu-devel] [PATCH v2 5/5] qtest: add ivshmem-test for ppc64 Laurent Vivier
2017-01-05 22:21 ` [Qemu-devel] [PATCH v2 0/5] qtest: enable several tests " David Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1483630188-32021-4-git-send-email-lvivier@redhat.com \
--to=lvivier@redhat.com \
--cc=armbru@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=groug@kaod.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).