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

2015-01-15 Thread Alexey Kardashevskiy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/14/2015 03:51 PM, David Gibson wrote: > On Fri, Jan 09, 2015 at 12:11:14PM +1100, Alexey Kardashevskiy wrote: >> At the moment sPAPR only supports 512MB window for MMIO BARs. >> However modern devices might want bigger 64bit BARs. >> >> This ext

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

2015-01-13 Thread David Gibson
On Fri, Jan 09, 2015 at 12:11:14PM +1100, 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

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

2015-01-08 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 "ranges" property. 32bit gets the space from SPAPR_PCI_MEM_