qemu-e2k/hw/ppc
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
..
e500-ccsr.h
e500.c hw/ppc/e500.c: Fix memory leak 2015-06-03 14:21:24 +03:00
e500.h PPC: e500 pci host: Add support for ATMUs 2015-01-07 16:16:24 +01:00
e500plat.c PPC: e500 pci host: Add support for ATMUs 2015-01-07 16:16:24 +01:00
mac_newworld.c ppc: Update cpu_model in MachineState 2015-07-07 17:44:52 +02:00
mac_oldworld.c ppc: Update cpu_model in MachineState 2015-07-07 17:44:52 +02:00
mac.h
Makefile.objs spapr_drc: initial implementation of sPAPRDRConnector device 2015-06-03 23:56:52 +02:00
mpc8544_guts.c
mpc8544ds.c PPC: e500 pci host: Add support for ATMUs 2015-01-07 16:16:24 +01:00
ppc4xx_devs.c
ppc4xx_pci.c
ppc405_boards.c m48t59: introduce new base-year qdev property 2015-03-10 09:18:56 +00:00
ppc405_uc.c
ppc405.h
ppc440_bamboo.c ppc: Update cpu_model in MachineState 2015-07-07 17:44:52 +02:00
ppc_booke.c
ppc.c timer: rename NSEC_PER_SEC due to Mac OS X header clash 2015-07-20 17:01:00 +01:00
ppce500_spin.c Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00
prep.c ppc: Update cpu_model in MachineState 2015-07-07 17:44:52 +02:00
spapr_drc.c ppc/spapr_drc: fix memory leak 2015-07-16 20:00:20 +02:00
spapr_events.c spapr: Merge sPAPREnvironment into sPAPRMachineState 2015-07-07 17:44:50 +02:00
spapr_hcall.c spapr: Remove obsolete ram_limit field from sPAPRMachineState 2015-07-07 17:44:50 +02:00
spapr_iommu.c spapr_iommu: translate sPAPRTCEAccess to IOMMUAccessFlags 2015-07-07 17:44:51 +02:00
spapr_pci_vfio.c sPAPR: Clear stale MSIx table during EEH reset 2015-07-07 17:44:54 +02:00
spapr_pci.c sPAPR: Don't enable EEH on emulated PCI devices 2015-07-07 17:44:53 +02:00
spapr_rtas.c spapr: Support ibm, lrdr-capacity device tree property 2015-07-07 17:44:51 +02:00
spapr_rtc.c timer: rename NSEC_PER_SEC due to Mac OS X header clash 2015-07-20 17:01:00 +01:00
spapr_vio.c spapr: Merge sPAPREnvironment into sPAPRMachineState 2015-07-07 17:44:50 +02:00
spapr.c pci: allow 0 address for PCI IO/MEM regions 2015-08-13 14:08:29 +03:00
virtex_ml507.c ppc: Update cpu_model in MachineState 2015-07-07 17:44:52 +02:00