Re: [Qemu-devel] [PATCH v2] spapr-pci: Enable huge BARs

2014-12-15 Thread Alexander Graf
On 12.12.14 23:30, Alexey Kardashevskiy wrote: > On 12/12/2014 08:38 PM, Alexey Kardashevskiy wrote: >> 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_

Re: [Qemu-devel] [PATCH v2] spapr-pci: Enable huge BARs

2014-12-12 Thread Alexey Kardashevskiy
On 12/12/2014 08:38 PM, Alexey Kardashevskiy wrote: > 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

[Qemu-devel] [PATCH v2] spapr-pci: Enable huge BARs

2014-12-12 Thread Alexey Kardashevskiy
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's "ranges" property. 32bit has all the space from SPAPR_PCI