aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFrederic Barrat <[email protected]>2019-11-21 14:49:16 +0100
committerMichael Ellerman <[email protected]>2020-01-23 21:31:17 +1100
commitbe1611e043de63948c21cc7dd27ea6798ffd6fa4 (patch)
tree89f3fcfe9ad3786869e7b7e641607d68fb9a4e74 /tools/perf/scripts/python
parentea53919b15bf1e821b034b9c89758008de521437 (diff)
pci/hotplug/pnv-php: Relax check when disabling slot
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. Removing the devices will do nothing since it's not populated, and we'll set the power state of the slot back to off. Reviewed-by: Alastair D'Silva <[email protected]> Reviewed-by: Andrew Donnellan <[email protected]> Signed-off-by: Frederic Barrat <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions