qemu-irix/include/hw
Alexey Kardashevskiy b194df478a spapr-pci: Enable huge BARs
At the moment sPAPR only supports 512MB window for MMIO BARs. However
modern devices might want bigger 64bit BARs.

This extends MMIO window from 512MB to 62GB (aligned to
SPAPR_PCI_WINDOW_SPACING) and advertises it in 2 records in
the PHB "ranges" property. 32bit gets the space from
SPAPR_PCI_MEM_WIN_BUS_OFFSET till the end of 4GB, 64bit gets the rest
of the space. If no space is left, 64bit range is not advertised.

The MMIO space size is set to old value of 0x20000000 by default
for pseries machines older than 2.3.

The approach changes the device tree which is a guest visible change, however
it won't break migration as:
1. we do not support migration to older QEMU versions
2. migration to newer QEMU will migrate the device tree as well and since
the new layout only extends the old one and does not change address mappigns,
no breakage is expected here too.

SLOF change is required to utilize this extension.

Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2015-03-09 14:59:54 +01:00
..
acpi aml-build: comment fix 2015-03-08 11:51:46 +01:00
arm
audio
block
char
cpu
cris
i2c
i386 pci, pc, virtio fixes and cleanups 2015-03-09 09:14:28 +00:00
input
intc
ipack
isa pc: export applesmc IO port/len 2015-03-01 12:33:22 +01:00
kvm
lm32
m68k
mem
mips
misc
net
nvram
pci pci: Give a few helpers internal linkage 2015-03-01 12:35:21 +01:00
pci-host spapr-pci: Enable huge BARs 2015-03-09 14:59:54 +01:00
ppc spapr_vio/spapr_iommu: Move VIO bypass where it belongs 2015-03-09 14:59:52 +01:00
s390x
scsi
sh4
sparc QOM infrastructure fixes and device conversions 2015-03-02 13:20:43 +00:00
timer
tricore
unicore32
usb
vfio vfio: allow to disable MMAP per device with -x-mmap=off option 2015-03-02 11:38:55 -07:00
virtio virtio: add feature checking helpers 2015-02-26 13:04:07 +01:00
xen
boards.h
bt.h
compat.h
devices.h
elf_ops.h
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h
ide.h
irq.h
loader.h
nmi.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h
qdev-dma.h
qdev-properties.h qdev: Don't exit when running into bad -global 2015-02-26 12:42:18 +01:00
qdev.h
sd.h
ssi.h
stream.h
sysbus.h
usb.h