Re: [PATCH v4 4/5] PCI: Try best to allocate pref mmio 64bit above 4g

2013-12-18 Thread Guo Chao
Hi: On Mon, Dec 16, 2013 at 04:36:32PM -0800, Yinghai Lu wrote: > On Mon, Dec 16, 2013 at 1:36 PM, Yinghai Lu wrote: > > On Mon, Dec 16, 2013 at 10:13 AM, Yinghai Lu wrote: > >>> > >>> 64-bit non-prefetchable BARs are missed from caculation in the scheme, > >>> causing assign failed eventually. >

Re: [PATCH v4 4/5] PCI: Try best to allocate pref mmio 64bit above 4g

2013-12-16 Thread Yinghai Lu
On Mon, Dec 16, 2013 at 1:36 PM, Yinghai Lu wrote: > On Mon, Dec 16, 2013 at 10:13 AM, Yinghai Lu wrote: >>> >>> 64-bit non-prefetchable BARs are missed from caculation in the scheme, >>> causing assign failed eventually. >>> >>> Will you figure out a better way to cover them or just add a 'type

Re: [PATCH v4 4/5] PCI: Try best to allocate pref mmio 64bit above 4g

2013-12-16 Thread Yinghai Lu
On Mon, Dec 16, 2013 at 10:13 AM, Yinghai Lu wrote: > On Mon, Dec 16, 2013 at 12:23 AM, Guo Chao wrote: >> On Mon, Dec 09, 2013 at 10:54:43PM -0800, 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 t

Re: [PATCH v4 4/5] PCI: Try best to allocate pref mmio 64bit above 4g

2013-12-16 Thread Yinghai Lu
On Mon, Dec 16, 2013 at 12:23 AM, Guo Chao wrote: > On Mon, Dec 09, 2013 at 10:54:43PM -0800, 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 6

Re: [PATCH v4 4/5] PCI: Try best to allocate pref mmio 64bit above 4g

2013-12-16 Thread Guo Chao
On Mon, Dec 09, 2013 at 10:54:43PM -0800, 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

[PATCH v4 4/5] PCI: Try best to allocate pref mmio 64bit above 4g

2013-12-09 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 mem