Re: [SeaBIOS] [Qemu-devel] [PATCH v4 for-2.3 13/25] hw/acpi: remove from root bus 0 the crs resources used by other busses.

2015-03-09 Thread Michael S. Tsirkin
On Sun, Mar 08, 2015 at 02:46:28PM -0400, Kevin O'Connor wrote: On Sun, Mar 08, 2015 at 07:34:34PM +0100, Michael S. Tsirkin wrote: On Sun, Mar 08, 2015 at 12:13:40PM -0400, Kevin O'Connor wrote: If I read this correctly, it looks like a machine with two root buses and 20 devices, each

Re: [SeaBIOS] [Qemu-devel] [PATCH v4 for-2.3 13/25] hw/acpi: remove from root bus 0 the crs resources used by other busses.

2015-03-08 Thread Marcel Apfelbaum
On 03/08/2015 08:26 PM, Kevin O'Connor wrote: On Sun, Mar 08, 2015 at 07:51:42PM +0200, Marcel Apfelbaum wrote: On 03/08/2015 06:13 PM, Kevin O'Connor wrote: If I read this correctly, it looks like a machine with two root buses and 20 devices, each with one memory range and one io range, would

Re: [SeaBIOS] [Qemu-devel] [PATCH v4 for-2.3 13/25] hw/acpi: remove from root bus 0 the crs resources used by other busses.

2015-03-08 Thread Michael S. Tsirkin
On Sun, Mar 08, 2015 at 12:13:40PM -0400, Kevin O'Connor wrote: On Sun, Mar 08, 2015 at 01:16:15PM +0200, Marcel Apfelbaum wrote: If multiple root busses are used, root bus 0 cannot use all the pci holes ranges. Remove the IO/mem ranges used by the other primary busses. [...] -

Re: [SeaBIOS] [Qemu-devel] [PATCH v4 for-2.3 13/25] hw/acpi: remove from root bus 0 the crs resources used by other busses.

2015-03-08 Thread Marcel Apfelbaum
On 03/08/2015 06:13 PM, Kevin O'Connor wrote: On Sun, Mar 08, 2015 at 01:16:15PM +0200, Marcel Apfelbaum wrote: If multiple root busses are used, root bus 0 cannot use all the pci holes ranges. Remove the IO/mem ranges used by the other primary busses. [...] -aml_append(crs, -

Re: [SeaBIOS] [Qemu-devel] [PATCH v4 for-2.3 13/25] hw/acpi: remove from root bus 0 the crs resources used by other busses.

2015-03-08 Thread Kevin O'Connor
On Sun, Mar 08, 2015 at 07:34:34PM +0100, Michael S. Tsirkin wrote: On Sun, Mar 08, 2015 at 12:13:40PM -0400, Kevin O'Connor wrote: If I read this correctly, it looks like a machine with two root buses and 20 devices, each with one memory range and one io range, would end up with 40 CRS

Re: [SeaBIOS] [Qemu-devel] [PATCH v4 for-2.3 13/25] hw/acpi: remove from root bus 0 the crs resources used by other busses.

2015-03-08 Thread Kevin O'Connor
On Sun, Mar 08, 2015 at 07:51:42PM +0200, Marcel Apfelbaum wrote: On 03/08/2015 06:13 PM, Kevin O'Connor wrote: If I read this correctly, it looks like a machine with two root buses and 20 devices, each with one memory range and one io range, would end up with 40 CRS ranges (ie, a CRS range

Re: [SeaBIOS] [Qemu-devel] [PATCH v4 for-2.3 13/25] hw/acpi: remove from root bus 0 the crs resources used by other busses.

2015-03-08 Thread Kevin O'Connor
On Sun, Mar 08, 2015 at 01:16:15PM +0200, Marcel Apfelbaum wrote: If multiple root busses are used, root bus 0 cannot use all the pci holes ranges. Remove the IO/mem ranges used by the other primary busses. [...] -aml_append(crs, -aml_word_io(aml_min_fixed, aml_max_fixed, -