diff options
author | Wei Hu <[email protected]> | 2020-05-07 13:03:00 +0800 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2020-05-11 12:05:05 +0100 |
commit | c81992e7f4aa19a055dbff5bd6c6d5ff9408f2fb (patch) | |
tree | 354897c6740870db26889831086d7a0a610d77fa /drivers/fpga/fpga-bridge.c | |
parent | 83cc3508ffaa6e2cd364d29418d35fab6f069b51 (diff) |
PCI: hv: Retry PCI bus D0 entry on invalid device state
When kdump is triggered, some PCI devices may have not been shut down
cleanly before the kdump kernel starts.
This causes the initial attempt to enter D0 state in the kdump kernel to
fail with invalid device state returned from Hyper-V host.
When this happens, explicitly call hv_pci_bus_exit() and retry to enter
the D0 state.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Hu <[email protected]>
[[email protected]: commit log]
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions