Re: [PATCH 10/10] PCI, sparc: clip firmware assigned resource under parent bridge's

2015-01-15 Thread Bjorn Helgaas
On Mon, Jan 12, 2015 at 11:31:09PM +0100, Kjetil Oftedal wrote: > Hi, > > Am I missing something or is this just code to get the the resource > subsystem to accept the bus resources, not caring if the resources are > actually usable? PCI BARs usually have a given size for a reason? Hi Kjetil,

Re: [PATCH 10/10] PCI, sparc: clip firmware assigned resource under parent bridge's

2015-01-15 Thread Bjorn Helgaas
On Mon, Jan 12, 2015 at 11:31:09PM +0100, Kjetil Oftedal wrote: Hi, Am I missing something or is this just code to get the the resource subsystem to accept the bus resources, not caring if the resources are actually usable? PCI BARs usually have a given size for a reason? Hi Kjetil, This

Re: [PATCH 10/10] PCI, sparc: clip firmware assigned resource under parent bridge's

2015-01-12 Thread Kjetil Oftedal
Hi, Am I missing something or is this just code to get the the resource subsystem to accept the bus resources, not caring if the resources are actually usable? PCI BARs usually have a given size for a reason? - Kjetil Oftedal On 12/01/2015, Yinghai Lu wrote: > Some bios put range that is not

[PATCH 10/10] PCI, sparc: clip firmware assigned resource under parent bridge's

2015-01-12 Thread Yinghai Lu
Some bios put range that is not fully coverred by root bus resources. Try to clip them and update them in pci bridge bars. We'd like to fix other arches instead of just x86. Link: https://bugzilla.kernel.org/show_bug.cgi?id=85491 Reported-by: Marek Kordik Fixes: 5b28541552ef ("PCI: Restrict

[PATCH 10/10] PCI, sparc: clip firmware assigned resource under parent bridge's

2015-01-12 Thread Yinghai Lu
Some bios put range that is not fully coverred by root bus resources. Try to clip them and update them in pci bridge bars. We'd like to fix other arches instead of just x86. Link: https://bugzilla.kernel.org/show_bug.cgi?id=85491 Reported-by: Marek Kordik kordikma...@gmail.com Fixes:

Re: [PATCH 10/10] PCI, sparc: clip firmware assigned resource under parent bridge's

2015-01-12 Thread Kjetil Oftedal
Hi, Am I missing something or is this just code to get the the resource subsystem to accept the bus resources, not caring if the resources are actually usable? PCI BARs usually have a given size for a reason? - Kjetil Oftedal On 12/01/2015, Yinghai Lu ying...@kernel.org wrote: Some bios put