Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ccdddf50 authored by Breno Leitao's avatar Breno Leitao Committed by David S. Miller
Browse files

cxgb3: Fixing EEH handlers



After commit 4b77b0a2 ("PCI: Clear
saved_state after the state has been restored"), the EEH is not
working proplery on cxgb3.

This patch fixes it, always saving the PCI state after a recovery,
in order to allow further reoveries.

Signed-off-by: default avatarBreno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4e9c4fd3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2860,6 +2860,7 @@ static int t3_reenable_adapter(struct adapter *adapter)
	}
	pci_set_master(adapter->pdev);
	pci_restore_state(adapter->pdev);
	pci_save_state(adapter->pdev);

	/* Free sge resources */
	t3_free_sge_resources(adapter);