Re: [PATCH] PCI: stop crashing in pci_release_resource v2

2018-03-01 Thread Christian König
Am 01.03.2018 um 19:49 schrieb Bjorn Helgaas: On Wed, Feb 21, 2018 at 10:07:15AM +0100, Christian König wrote: Is it entirely possible that the BIOS wasn't able to assign resources to a device. In this case don't crash in pci_release_resource() when we try to resize the resource. v2: keep print

Re: [PATCH] PCI: stop crashing in pci_release_resource v2

2018-03-01 Thread Bjorn Helgaas
On Wed, Feb 21, 2018 at 10:07:15AM +0100, Christian König wrote: > Is it entirely possible that the BIOS wasn't able to assign resources to > a device. In this case don't crash in pci_release_resource() when we try > to resize the resource. > > v2: keep printing the info that we try to release the

Re: [PATCH] PCI: stop crashing in pci_release_resource v2

2018-02-26 Thread Bjorn Helgaas
On Wed, Feb 21, 2018 at 10:07:15AM +0100, Christian König wrote: > Is it entirely possible that the BIOS wasn't able to assign resources to > a device. In this case don't crash in pci_release_resource() when we try > to resize the resource. > > v2: keep printing the info that we try to release the

Re: [PATCH] PCI: stop crashing in pci_release_resource v2

2018-02-21 Thread Andy Shevchenko
On Wed, Feb 21, 2018 at 11:07 AM, Christian König wrote: > Is it entirely possible that the BIOS wasn't able to assign resources to > a device. In this case don't crash in pci_release_resource() when we try > to resize the resource. > > v2: keep printing the info that we try to release the BAR >

Re: [PATCH] PCI: stop crashing in pci_release_resource

2018-02-20 Thread Andy Shevchenko
On Tue, Feb 20, 2018 at 10:58 AM, Christian König wrote: > Is it entirely possible that the BIOS wasn't able to assign resources to > a device. In this case don't crash in pci_release_resource() when we try > to resize the resource. > struct resource *res = dev->resource + resno; > > +