Re: [PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-26 Thread Yinghai Lu
On Tue, Nov 26, 2013 at 2:01 PM, Bjorn Helgaas >> during size bridge resource, we try to clear bridge mmio64 pref MEM_64 >> bit in bridge resource flags. >> if one children pref mmio does not support 64bit pref mmio. > > A function name? Please? drivers/pci/setup-bus.c::pbus_size_mem() -- To

Re: [PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-26 Thread Bjorn Helgaas
On Tue, Nov 26, 2013 at 3:00 PM, Yinghai Lu wrote: > On Tue, Nov 26, 2013 at 9:53 AM, Bjorn Helgaas wrote: >> I don't know what "MEM_64 for bridge get reset" means -- there are a >> couple places that clear IORESOURCE_MEM_64, but they don't seem >> relevant. > > during size bridge resource, we

Re: [PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-26 Thread Yinghai Lu
On Tue, Nov 26, 2013 at 9:53 AM, Bjorn Helgaas wrote: > I don't know what "MEM_64 for bridge get reset" means -- there are a > couple places that clear IORESOURCE_MEM_64, but they don't seem > relevant. during size bridge resource, we try to clear bridge mmio64 pref MEM_64 bit in bridge resource

Re: [PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-26 Thread Bjorn Helgaas
On Mon, Nov 25, 2013 at 11:59 PM, Guo Chao wrote: > On Mon, Nov 25, 2013 at 09:17:11PM -0700, Bjorn Helgaas wrote: >> On Mon, Nov 25, 2013 at 6:28 PM, Yinghai Lu wrote: >> > When one of children resources does not support MEM_64, MEM_64 for >> > bridge get reset, so pull down whole pref resource

Re: [PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-26 Thread Bjorn Helgaas
On Mon, Nov 25, 2013 at 11:59 PM, Guo Chao y...@linux.vnet.ibm.com wrote: On Mon, Nov 25, 2013 at 09:17:11PM -0700, Bjorn Helgaas wrote: On Mon, Nov 25, 2013 at 6:28 PM, Yinghai Lu ying...@kernel.org wrote: When one of children resources does not support MEM_64, MEM_64 for bridge get reset,

Re: [PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-26 Thread Yinghai Lu
On Tue, Nov 26, 2013 at 9:53 AM, Bjorn Helgaas bhelg...@google.com wrote: I don't know what MEM_64 for bridge get reset means -- there are a couple places that clear IORESOURCE_MEM_64, but they don't seem relevant. during size bridge resource, we try to clear bridge mmio64 pref MEM_64 bit in

Re: [PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-26 Thread Bjorn Helgaas
On Tue, Nov 26, 2013 at 3:00 PM, Yinghai Lu ying...@kernel.org wrote: On Tue, Nov 26, 2013 at 9:53 AM, Bjorn Helgaas bhelg...@google.com wrote: I don't know what MEM_64 for bridge get reset means -- there are a couple places that clear IORESOURCE_MEM_64, but they don't seem relevant. during

Re: [PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-26 Thread Yinghai Lu
On Tue, Nov 26, 2013 at 2:01 PM, Bjorn Helgaas bhelg...@google.com during size bridge resource, we try to clear bridge mmio64 pref MEM_64 bit in bridge resource flags. if one children pref mmio does not support 64bit pref mmio. A function name? Please?

Re: [PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-25 Thread Guo Chao
Hi, Bjorn: On Mon, Nov 25, 2013 at 09:17:11PM -0700, Bjorn Helgaas wrote: > On Mon, Nov 25, 2013 at 6:28 PM, Yinghai Lu wrote: > > When one of children resources does not support MEM_64, MEM_64 for > > bridge get reset, so pull down whole pref resource on the bridge under 4G. > > > > If the

Re: [PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-25 Thread Bjorn Helgaas
On Mon, Nov 25, 2013 at 6:28 PM, Yinghai Lu wrote: > When one of children resources does not support MEM_64, MEM_64 for > bridge get reset, so pull down whole pref resource on the bridge under 4G. > > If the bridge support pref mem 64, will only allocate that with pref mem64 to > children that

[PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-25 Thread Yinghai Lu
When one of children resources does not support MEM_64, MEM_64 for bridge get reset, so pull down whole pref resource on the bridge under 4G. If the bridge support pref mem 64, will only allocate that with pref mem64 to children that support it. For children resources if they only support pref

[PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-25 Thread Yinghai Lu
When one of children resources does not support MEM_64, MEM_64 for bridge get reset, so pull down whole pref resource on the bridge under 4G. If the bridge support pref mem 64, will only allocate that with pref mem64 to children that support it. For children resources if they only support pref

Re: [PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-25 Thread Bjorn Helgaas
On Mon, Nov 25, 2013 at 6:28 PM, Yinghai Lu ying...@kernel.org wrote: When one of children resources does not support MEM_64, MEM_64 for bridge get reset, so pull down whole pref resource on the bridge under 4G. If the bridge support pref mem 64, will only allocate that with pref mem64 to

Re: [PATCH v2 08/10] PCI: Try best to allocate pref mmio 64bit above 4g

2013-11-25 Thread Guo Chao
Hi, Bjorn: On Mon, Nov 25, 2013 at 09:17:11PM -0700, Bjorn Helgaas wrote: On Mon, Nov 25, 2013 at 6:28 PM, Yinghai Lu ying...@kernel.org wrote: When one of children resources does not support MEM_64, MEM_64 for bridge get reset, so pull down whole pref resource on the bridge under 4G. If