diff options
author | Daniel Jurgens <[email protected]> | 2017-03-10 14:33:02 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-03-10 10:03:26 -0800 |
commit | 5d47f6c89d568ab61712d8c40676fbb020b68752 (patch) | |
tree | 3e0325c2e79f7e95551761d0f34103934faac68d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | af36370569eb37420e1e78a2e60c277b781fcd00 (diff) |
net/mlx5: Don't save PCI state when PCI error is detected
When a PCI error is detected the PCI state could be corrupt, don't save
it in that flow. Save the state after initialization. After restoring the
PCI state during slot reset save it again, restoring the state destroys
the previously saved state info.
Fixes: 05ac2c0b7438 ('net/mlx5: Fix race between PCI error handlers and
health work')
Signed-off-by: Daniel Jurgens <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions