diff options
author | Thinh Tran <[email protected]> | 2024-05-28 15:06:06 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-05-29 18:56:30 -0700 |
commit | c80b6538d35a7a60d874c5a76c3c5a82b6a28fbb (patch) | |
tree | 31350b8a3a5beeb8885b8e7a00512cd8b4a759f3 /scripts/generate_rust_analyzer.py | |
parent | 218ed820d364ddc2b0150951e6b1a1bd1e49469d (diff) |
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: a5f3d2c17b07 ("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]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions