Re: [PATCH] powernv/pci: Print an error when device enable is blocked

2020-12-10 Thread Michael Ellerman
On Thu, 9 Apr 2020 16:13:37 +1000, Oliver O'Halloran wrote: > If the platform decides to block enabling the device nothing is printed > currently. This can lead to some confusion since the dmesg output will > usually print an error with no context e.g. > > e1000e: probe of 0022:01:00.0 faile

Re: [PATCH] powernv/pci: Print an error when device enable is blocked

2020-04-08 Thread Oliver O'Halloran
On Thu, Apr 9, 2020 at 4:13 PM Oliver O'Halloran wrote: > > If the platform decides to block enabling the device nothing is printed > currently. This can lead to some confusion since the dmesg output will > usually print an error with no context e.g. > > e1000e: probe of 0022:01:00.0 faile

[PATCH] powernv/pci: Print an error when device enable is blocked

2020-04-08 Thread Oliver O'Halloran
If the platform decides to block enabling the device nothing is printed currently. This can lead to some confusion since the dmesg output will usually print an error with no context e.g. e1000e: probe of 0022:01:00.0 failed with error -22 This shouldn't be spammy since pci_enable_device()