Re: [PATCH 09/11] pci/hotplug/pnv-php: Relax check when disabling slot

2019-09-27 Thread Andrew Donnellan
On 9/9/19 5:45 pm, Frederic Barrat wrote: The driver only allows to disable a slot in the POPULATED state. However, if an error occurs while enabling the slot, say because the link couldn't be trained, then the POPULATED state may not be reached, yet the power state of the slot is on. So allow to

Re: [PATCH 09/11] pci/hotplug/pnv-php: Relax check when disabling slot

2019-09-09 Thread Alastair D'Silva
On Mon, 2019-09-09 at 17:45 +0200, Frederic Barrat wrote: > The driver only allows to disable a slot in the POPULATED > state. However, if an error occurs while enabling the slot, say > because the link couldn't be trained, then the POPULATED state may > not > be reached, yet the power state of the

[PATCH 09/11] pci/hotplug/pnv-php: Relax check when disabling slot

2019-09-09 Thread Frederic Barrat
The driver only allows to disable a slot in the POPULATED state. However, if an error occurs while enabling the slot, say because the link couldn't be trained, then the POPULATED state may not be reached, yet the power state of the slot is on. So allow to disable a slot in the REGISTERED state. Rem