Akihiko Odaki
c8bc4db403
pcie_sriov: Reset SR-IOV extended capability
...
pcie_sriov_pf_disable_vfs() is called when resetting the PF, but it only
disables VFs and does not reset SR-IOV extended capability, leaking the
state and making the VF Enable register inconsistent with the actual
state.
Replace pcie_sriov_pf_disable_vfs() with pcie_sriov_pf_reset(), which
does not only disable VFs but also resets the capability.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20240228-reuse-v8-3-282660281e60@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Sriram Yagnaraman <sriram.yagnaraman@ericsson.com>
2024-03-12 17:56:55 -04:00
..
2024-01-05 16:20:15 +01:00
2023-11-21 15:42:34 +08:00
2023-11-21 15:42:34 +08:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-01-05 22:28:54 +03:00
2023-12-30 07:38:06 +11:00
2023-03-10 15:35:38 +08:00
2023-09-20 07:54:34 +03:00
2023-12-30 07:38:06 +11:00
2023-09-18 14:36:13 +08:00
2023-05-23 15:20:15 +08:00
2023-12-30 07:38:06 +11:00
2023-05-23 15:20:15 +08:00
2023-05-23 15:20:15 +08:00
2023-09-20 07:54:34 +03:00
2023-12-30 07:38:06 +11:00
2024-02-02 16:23:47 +00:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-11-13 15:33:37 +08:00
2023-11-13 15:33:37 +08:00
2023-11-13 15:33:37 +08:00
2023-09-20 07:54:34 +03:00
2024-03-12 17:56:55 -04:00
2023-11-13 15:33:37 +08:00
2023-12-30 07:38:06 +11:00
2023-07-14 11:10:57 +02:00
2024-02-02 16:23:47 +00:00
2023-12-30 07:38:06 +11:00
2024-02-02 16:23:47 +00:00
2023-11-21 15:42:34 +08:00
2024-02-02 18:56:32 +00:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-05-23 15:20:15 +08:00
2023-05-23 15:20:15 +08:00
2023-05-23 15:20:15 +08:00
2023-05-23 15:20:15 +08:00
2023-12-30 07:38:06 +11:00
2024-02-02 13:51:59 +00:00
2023-11-21 15:42:34 +08:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2022-11-11 09:39:03 +01:00
2023-12-30 07:38:06 +11:00
2024-02-02 16:23:47 +00:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-02-02 13:51:59 +00:00
2020-08-21 06:18:24 -04:00
2024-02-11 13:20:23 +01:00
2020-09-18 14:12:32 -04:00
2023-01-08 01:54:22 -05:00
2023-10-06 10:56:54 +02:00
2024-03-12 17:56:55 -04:00
2023-01-08 01:54:22 -05:00
2023-12-30 07:38:06 +11:00
2023-09-20 07:54:34 +03:00
2024-03-09 18:51:45 +01:00
2023-12-30 07:38:06 +11:00
2023-11-21 15:42:34 +08:00
2023-11-21 15:42:34 +08:00