Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-19 Thread Igor Mammedov
On Tue, 18 Feb 2014 23:04:13 +0100 Laszlo Ersek wrote: > On 02/18/14 17:36, Igor Mammedov wrote: > > On Mon, 17 Feb 2014 09:32:35 +0100 > > Gerd Hoffmann wrote: > > > >> On So, 2014-02-16 at 17:53 +0200, Michael S. Tsirkin wrote: > >>> On Fri, Feb 07, 2014 at 01:51:27PM +0100, Igor Mammedov wro

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-18 Thread Laszlo Ersek
On 02/18/14 17:36, Igor Mammedov wrote: > On Mon, 17 Feb 2014 09:32:35 +0100 > Gerd Hoffmann wrote: > >> On So, 2014-02-16 at 17:53 +0200, Michael S. Tsirkin wrote: >>> On Fri, Feb 07, 2014 at 01:51:27PM +0100, Igor Mammedov wrote: Since introduction of PCIHP, it became problematic to p

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-18 Thread Igor Mammedov
On Mon, 17 Feb 2014 09:29:20 +0100 Gerd Hoffmann wrote: > On Fr, 2014-02-07 at 13:51 +0100, Igor Mammedov wrote: > > Since introduction of PCIHP, it became problematic to > > punch hole in PCI0._CRS statically since PCI hotplug > > region size became runtime changeable. > > > > So replace static

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-18 Thread Igor Mammedov
On Mon, 17 Feb 2014 09:32:35 +0100 Gerd Hoffmann wrote: > On So, 2014-02-16 at 17:53 +0200, Michael S. Tsirkin wrote: > > On Fri, Feb 07, 2014 at 01:51:27PM +0100, Igor Mammedov wrote: > > > Since introduction of PCIHP, it became problematic to > > > punch hole in PCI0._CRS statically since PCI h

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-18 Thread Igor Mammedov
On Tue, 18 Feb 2014 13:33:17 +0200 "Michael S. Tsirkin" wrote: > On Tue, Feb 18, 2014 at 12:10:27PM +0100, Igor Mammedov wrote: > > On Mon, 17 Feb 2014 13:02:18 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Mon, Feb 17, 2014 at 11:33:23AM +0100, Igor Mammedov wrote: > > > > On Sun, 16 Feb

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-18 Thread Michael S. Tsirkin
On Tue, Feb 18, 2014 at 12:10:27PM +0100, Igor Mammedov wrote: > On Mon, 17 Feb 2014 13:02:18 +0200 > "Michael S. Tsirkin" wrote: > > > On Mon, Feb 17, 2014 at 11:33:23AM +0100, Igor Mammedov wrote: > > > On Sun, 16 Feb 2014 17:53:45 +0200 > > > "Michael S. Tsirkin" wrote: > > > > > > > On Fri,

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-18 Thread Igor Mammedov
On Mon, 17 Feb 2014 13:02:18 +0200 "Michael S. Tsirkin" wrote: > On Mon, Feb 17, 2014 at 11:33:23AM +0100, Igor Mammedov wrote: > > On Sun, 16 Feb 2014 17:53:45 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Fri, Feb 07, 2014 at 01:51:27PM +0100, Igor Mammedov wrote: > > > > Since introduct

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-17 Thread Michael S. Tsirkin
On Mon, Feb 17, 2014 at 11:46:13AM +0100, Gerd Hoffmann wrote: > On Mo, 2014-02-17 at 12:28 +0200, Michael S. Tsirkin wrote: > > On Mon, Feb 17, 2014 at 09:32:35AM +0100, Gerd Hoffmann wrote: > > > On So, 2014-02-16 at 17:53 +0200, Michael S. Tsirkin wrote: > > > > On Fri, Feb 07, 2014 at 01:51:27P

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-17 Thread Michael S. Tsirkin
On Mon, Feb 17, 2014 at 11:33:23AM +0100, Igor Mammedov wrote: > On Sun, 16 Feb 2014 17:53:45 +0200 > "Michael S. Tsirkin" wrote: > > > On Fri, Feb 07, 2014 at 01:51:27PM +0100, Igor Mammedov wrote: > > > Since introduction of PCIHP, it became problematic to > > > punch hole in PCI0._CRS statical

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-17 Thread Gerd Hoffmann
On Mo, 2014-02-17 at 12:28 +0200, Michael S. Tsirkin wrote: > On Mon, Feb 17, 2014 at 09:32:35AM +0100, Gerd Hoffmann wrote: > > On So, 2014-02-16 at 17:53 +0200, Michael S. Tsirkin wrote: > > > On Fri, Feb 07, 2014 at 01:51:27PM +0100, Igor Mammedov wrote: > > > > Since introduction of PCIHP, it b

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-17 Thread Igor Mammedov
On Sun, 16 Feb 2014 17:53:45 +0200 "Michael S. Tsirkin" wrote: > On Fri, Feb 07, 2014 at 01:51:27PM +0100, Igor Mammedov wrote: > > Since introduction of PCIHP, it became problematic to > > punch hole in PCI0._CRS statically since PCI hotplug > > region size became runtime changeable. > > What m

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-17 Thread Michael S. Tsirkin
On Mon, Feb 17, 2014 at 09:32:35AM +0100, Gerd Hoffmann wrote: > On So, 2014-02-16 at 17:53 +0200, Michael S. Tsirkin wrote: > > On Fri, Feb 07, 2014 at 01:51:27PM +0100, Igor Mammedov wrote: > > > Since introduction of PCIHP, it became problematic to > > > punch hole in PCI0._CRS statically since

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-17 Thread Gerd Hoffmann
On So, 2014-02-16 at 17:53 +0200, Michael S. Tsirkin wrote: > On Fri, Feb 07, 2014 at 01:51:27PM +0100, Igor Mammedov wrote: > > Since introduction of PCIHP, it became problematic to > > punch hole in PCI0._CRS statically since PCI hotplug > > region size became runtime changeable. > > What makes

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-17 Thread Gerd Hoffmann
On Fr, 2014-02-07 at 13:51 +0100, Igor Mammedov wrote: > Since introduction of PCIHP, it became problematic to > punch hole in PCI0._CRS statically since PCI hotplug > region size became runtime changeable. > > So replace static hole punching with dynamically consumed > resources in a child device

Re: [Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-16 Thread Michael S. Tsirkin
On Fri, Feb 07, 2014 at 01:51:27PM +0100, Igor Mammedov wrote: > Since introduction of PCIHP, it became problematic to > punch hole in PCI0._CRS statically since PCI hotplug > region size became runtime changeable. What makes it runtime changeable? > So replace static hole punching with dynamical

[Qemu-devel] [RFC 0/9] generate dynamic _CRS for motherboard resources

2014-02-07 Thread Igor Mammedov
Since introduction of PCIHP, it became problematic to punch hole in PCI0._CRS statically since PCI hotplug region size became runtime changeable. So replace static hole punching with dynamically consumed resources in a child device on PCI0 bus. i.e generate PNP0C02 device as a child of PCI0 bus at