Merge branch 'ionic-FLR-support'
authorDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2023 09:42:34 +0000 (10:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2023 09:42:34 +0000 (10:42 +0100)
commit5322a27c0d461ab3938dd513b1672b86ee722da7
tree938aed497d03917357fb1b8ff2de4aa074599bb2
parent67a8976780858461b3c2d0dc501d207452543c53
parenta79b559e99bea6e3284366265d1c63b28ff0ca2e
Merge branch 'ionic-FLR-support'

Shannon Nelson says:

====================
ionic: add FLR support

Add support for handing and recovering from a PCI FLR event.
This patchset first moves some code around to make it usable
from multiple paths, then adds the PCI error handler callbacks
for reset_prepare and reset_done.

Example test:
    echo 1 > /sys/bus/pci/devices/0000:2a:00.0/reset

v4:
 - don't remove ionic_dev_teardown() in ionic_probe() in patch 2/4
 - remove clear_bit() change from patch 3/4

v3:
Link: https://lore.kernel.org/netdev/20230717170001.30539-1-shannon.nelson@amd.com/
 - removed first patch, it is already merged into net

v2:
Link: https://lore.kernel.org/netdev/20230713192936.45152-1-shannon.nelson@amd.com/
 - removed redundant pci_save/restore_state() calls
====================

Signed-off-by: David S. Miller <davem@davemloft.net>