Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-07-02 Thread Yinghai Lu
On Tue, Jul 2, 2013 at 2:31 PM, Bjorn Helgaas wrote: > On Wed, Jan 9, 2013 at 11:39 AM, Bjorn Helgaas wrote: >> On Wed, Jan 9, 2013 at 10:53 AM, Yinghai Lu wrote: > >>> the reason why we need to change those codes for x86, we want to make it >>> support >>> pci root bus hotplug. So it would be

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-07-02 Thread Bjorn Helgaas
On Wed, Jan 9, 2013 at 11:39 AM, Bjorn Helgaas wrote: > On Wed, Jan 9, 2013 at 10:53 AM, Yinghai Lu wrote: >> the reason why we need to change those codes for x86, we want to make it >> support >> pci root bus hotplug. So it would be reasonable for us to align other >> platform to x86 >> change

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-10 Thread Bjorn Helgaas
On Thu, Jan 10, 2013 at 6:07 AM, Rafael J. Wysocki wrote: > On Wednesday, January 09, 2013 05:34:32 PM Bjorn Helgaas wrote: >> On Wed, Jan 9, 2013 at 1:10 PM, Rafael J. Wysocki wrote: >> > On Wednesday, January 09, 2013 11:01:39 AM Yinghai Lu wrote: >> >> On Wed, Jan 9, 2013 at 10:39 AM, Bjorn He

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-10 Thread Rafael J. Wysocki
On Wednesday, January 09, 2013 05:34:32 PM Bjorn Helgaas wrote: > On Wed, Jan 9, 2013 at 1:10 PM, Rafael J. Wysocki wrote: > > On Wednesday, January 09, 2013 11:01:39 AM Yinghai Lu wrote: > >> On Wed, Jan 9, 2013 at 10:39 AM, Bjorn Helgaas wrote: > >> >> the reason why we need to change those cod

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-09 Thread Bjorn Helgaas
On Wed, Jan 9, 2013 at 1:10 PM, Rafael J. Wysocki wrote: > On Wednesday, January 09, 2013 11:01:39 AM Yinghai Lu wrote: >> On Wed, Jan 9, 2013 at 10:39 AM, Bjorn Helgaas wrote: >> >> the reason why we need to change those codes for x86, we want to make it >> >> support >> >> pci root bus hotplug

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-09 Thread Benjamin Herrenschmidt
On Wed, 2013-01-09 at 11:39 -0700, Bjorn Helgaas wrote: > > > the reason why we need to change those codes for x86, we want to > make it support > > pci root bus hotplug. So it would be reasonable for us to align > other > > platform to x86 > > changes after pci root bus hotplug change is complete

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-09 Thread Rafael J. Wysocki
On Wednesday, January 09, 2013 11:01:39 AM Yinghai Lu wrote: > On Wed, Jan 9, 2013 at 10:39 AM, Bjorn Helgaas wrote: > >> the reason why we need to change those codes for x86, we want to make it > >> support > >> pci root bus hotplug. So it would be reasonable for us to align other > >> platform

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-09 Thread Yinghai Lu
On Wed, Jan 9, 2013 at 10:39 AM, Bjorn Helgaas wrote: >> the reason why we need to change those codes for x86, we want to make it >> support >> pci root bus hotplug. So it would be reasonable for us to align other >> platform to x86 >> changes after pci root bus hotplug change is completely done.

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-09 Thread Bjorn Helgaas
On Wed, Jan 9, 2013 at 10:53 AM, Yinghai Lu wrote: > On Wed, Jan 9, 2013 at 9:35 AM, Bjorn Helgaas wrote: >>> I don't know, that could be separated patcheset after we conclude >>> pci root bus hotplug support. >> >> The main reason I review patches before merging them is to identify >> issues tha

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-09 Thread Yinghai Lu
On Wed, Jan 9, 2013 at 9:35 AM, Bjorn Helgaas wrote: >> I don't know, that could be separated patcheset after we conclude >> pci root bus hotplug support. > > The main reason I review patches before merging them is to identify > issues that we can fix before they affect everybody. It makes my lif

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-09 Thread Bjorn Helgaas
On Tue, Jan 8, 2013 at 11:27 AM, Yinghai Lu wrote: > On Tue, Jan 8, 2013 at 9:57 AM, Bjorn Helgaas wrote: >>> I'm really sorry that it's taken me so long to get to these. >>> >>> I applied these to my pci/yinghai-survey-resources branch. I >>> re-ordered the last two and reworked some of the cha

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-08 Thread Yinghai Lu
On Tue, Jan 8, 2013 at 9:57 AM, Bjorn Helgaas wrote: >> I'm really sorry that it's taken me so long to get to these. >> >> I applied these to my pci/yinghai-survey-resources branch. I >> re-ordered the last two and reworked some of the changelogs. > > To be clear about this, the pci/yinghai-surve

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-08 Thread Bjorn Helgaas
On Mon, Jan 7, 2013 at 4:49 PM, Bjorn Helgaas wrote: > [+cc David, Michal, Koichi, Ben, Paul] > > On Fri, Dec 7, 2012 at 12:15 AM, Yinghai Lu wrote: >> On Sat, Nov 3, 2012 at 9:39 PM, Yinghai Lu wrote: >>> For root bus hot add, fw could assign some resource for the devices for >>> that root bus

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-07 Thread Bjorn Helgaas
[+cc David, Michal, Koichi, Ben, Paul] On Fri, Dec 7, 2012 at 12:15 AM, Yinghai Lu wrote: > On Sat, Nov 3, 2012 at 9:39 PM, Yinghai Lu wrote: >> For root bus hot add, fw could assign some resource for the devices for >> that root bus before notifying os via acpi, we should check and use those >>

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2012-12-06 Thread Yinghai Lu
On Sat, Nov 3, 2012 at 9:39 PM, Yinghai Lu wrote: > For root bus hot add, fw could assign some resource for the devices for > that root bus before notifying os via acpi, we should check and use those > resources at first just like we do for booting path. > > At first, we need to refactor x86 pci p

[PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2012-11-03 Thread Yinghai Lu
For root bus hot add, fw could assign some resource for the devices for that root bus before notifying os via acpi, we should check and use those resources at first just like we do for booting path. At first, we need to refactor x86 pci pcibios_allocate related functions for booting path to take b