vfio/mlx5: Manage error scenarios on tracker
authorYishai Hadas <yishaih@nvidia.com>
Thu, 8 Sep 2022 18:34:47 +0000 (21:34 +0300)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 8 Sep 2022 18:59:01 +0000 (12:59 -0600)
commite295738756ebd0726f1ed51e02f343a37233437b
tree57db8f35a5c4ea5a042ae3a79c8204642d6f814b
parent1047797e8ed4bb8c20d1b5b843cf870d00bb0ff7
vfio/mlx5: Manage error scenarios on tracker

Handle async error events and health/recovery flow to safely stop the
tracker upon error scenarios.

Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20220908183448.195262-10-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/mlx5/cmd.c
drivers/vfio/pci/mlx5/cmd.h