Commit c80b653
i40e: Fully suspend and resume IO operations in EEH case
When EEH events occurs, the callback functions in the i40e, which are
managed by the EEH driver, will completely suspend and resume all IO
operations.
- In the PCI error detected callback, replaced i40e_prep_for_reset()
with i40e_io_suspend(). The change is to fully suspend all I/O
operations
- In the PCI error slot reset callback, replaced pci_enable_device_mem()
with pci_enable_device(). This change enables both I/O and memory of
the device.
- In the PCI error resume callback, replaced i40e_handle_reset_warning()
with i40e_io_resume(). This change allows the system to resume I/O
operations
Fixes: a5f3d2c ("powerpc/pseries/pci: Add MSI domains")
Reviewed-by: Jacob Keller <[email protected]>
Tested-by: Robert Thomas <[email protected]>
Signed-off-by: Thinh Tran <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Pucha Himasekhar Reddy <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Link: https://lore.kernel.org/r/20240528-net-2024-05-28-intel-net-fixes-v1-3-dc8593d2bbc6@intel.com
Signed-off-by: Jakub Kicinski <[email protected]>1 parent 218ed82 commit c80b653
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11171 | 11171 | | |
11172 | 11172 | | |
11173 | 11173 | | |
| 11174 | + | |
| 11175 | + | |
11174 | 11176 | | |
11175 | 11177 | | |
11176 | 11178 | | |
| |||
16491 | 16493 | | |
16492 | 16494 | | |
16493 | 16495 | | |
16494 | | - | |
| 16496 | + | |
16495 | 16497 | | |
16496 | 16498 | | |
16497 | 16499 | | |
| |||
16513 | 16515 | | |
16514 | 16516 | | |
16515 | 16517 | | |
16516 | | - | |
| 16518 | + | |
| 16519 | + | |
16517 | 16520 | | |
16518 | 16521 | | |
16519 | 16522 | | |
| |||
16576 | 16579 | | |
16577 | 16580 | | |
16578 | 16581 | | |
16579 | | - | |
| 16582 | + | |
16580 | 16583 | | |
16581 | 16584 | | |
16582 | 16585 | | |
| |||
0 commit comments