libqos: Limit spapr-pci to 32-bit MMIO for now
commit8360544a6d3a54df1fce80f55ba4ad075a8ded54
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 12 Oct 2016 03:07:04 +0000 (12 14:07 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sun, 16 Oct 2016 01:03:09 +0000 (16 12:03 +1100)
tree0d4c46ef07d893788b93d37e6226e450c6297161
parentc711369087d5964ea77b0fd0e0ff1f268e1a67ee
libqos: Limit spapr-pci to 32-bit MMIO for now

Currently the functions in pci-spapr.c (like pci-pc.c on which it's based)
don't distinguish between 32-bit and 64-bit PCI MMIO.  At the moment, the
qemu side implementation is a bit weird and has a single MMIO window
straddling 32-bit and 64-bit regions, but we're likely to change that in
future.

In any case, pci-pc.c - and therefore the testcases using PCI - only handle
32-bit MMIOs for now.  For spapr despite whatever changes might happen with
the MMIO windows, the 32-bit window is likely to remain at 2..4 GiB in PCI
space.

So, explicitly limit pci-spapr.c to 32-bit MMIOs for now, we can add 64-bit
MMIO support back in when and if we need it.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
tests/libqos/pci-spapr.c