vfio/mlx5: Use its own PCI reset_done error handler
authorYishai Hadas <yishaih@nvidia.com>
Thu, 24 Feb 2022 14:20:24 +0000 (16:20 +0200)
committerLeon Romanovsky <leonro@nvidia.com>
Thu, 3 Mar 2022 11:01:19 +0000 (13:01 +0200)
commit88faa5e8ead62a2a559b1246bba7aa982fde7c67
tree1f4da31129aaf99885388a518eb2ae98e12ba94d
parent915076f70efad04bf6fc843970a3c7763487011a
vfio/mlx5: Use its own PCI reset_done error handler

Register its own handler for pci_error_handlers.reset_done and update
state accordingly.

Link: https://lore.kernel.org/all/20220224142024.147653-16-yishaih@nvidia.com
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/vfio/pci/mlx5/main.c