qemu/hw/pci
Laurent Vivier e402463073 pci: allow 0 address for PCI IO/MEM regions
Some kernels program a 0 address for io regions. PCI 3.0 spec
section 6.2.5.1 doesn't seem to disallow this.

based on patch by Michael Roth <mdroth@linux.vnet.ibm.com>

Add pci_allow_0_addr in MachineClass to conditionally
allow addr 0 for pseries, as this can break other architectures.

This patch allows to hotplug PCI card in pseries machine, as the first
added card BAR0 is always set to 0 address.

This as a temporary hack, waiting to fix PCI memory priorities for more
machine types...

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-08-13 14:08:29 +03:00
..
Makefile.objs pci-hotplug-old: Has been dead for five major releases, bury 2015-03-01 12:37:54 +01:00
msi.c xen: don't allow guest to control MSI mask register 2015-06-02 15:07:00 +00:00
msix.c Add stream ID to MSI write 2015-05-31 20:29:02 +02:00
pci-stub.c Include qapi/qmp/qerror.h exactly where needed 2015-06-22 18:20:41 +02:00
pci.c pci: allow 0 address for PCI IO/MEM regions 2015-08-13 14:08:29 +03:00
pci_bridge.c pci_bridge: manually destroy memory regions within PCIBridgeWindows 2014-08-25 00:16:06 +02:00
pci_host.c hw/pci/pci_host.c: Avoid shifting left into sign bit 2014-03-27 19:22:49 +04:00
pcie.c pcie: Set the "link active" in the link status register 2015-07-08 10:09:56 +03:00
pcie_aer.c qobject: Use 'bool' inside qdict 2015-06-22 17:40:00 +02:00
pcie_host.c pcie: remove mmconfig memory leak and wrap mmconfig update with transaction 2015-02-16 17:24:53 +01:00
pcie_port.c qdev: HotplugHandler: Rename unplug callback to unplug_request 2014-10-15 05:03:13 +02:00
shpc.c Include qapi/qmp/qerror.h exactly where needed 2015-06-22 18:20:41 +02:00
slotid_cap.c Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00