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-04 19:55:20 +00:00
2024-03-08 15:38:46 +10:00
2023-12-29 11:17:30 +11:00
2024-02-02 16:23:47 +00:00
2024-03-09 18:51:45 +01:00
2024-03-12 17:56:55 -04:00
2023-11-28 14:27:12 +01:00
2024-02-27 13:01:41 +00:00
2024-03-09 18:51:45 +01:00
2024-03-12 17:56:55 -04:00
2024-01-26 11:30:49 +00:00
2024-02-02 16:23:47 +00:00
2024-03-12 17:56:55 -04:00
2024-03-12 17:56:55 -04:00
2024-02-15 16:58:46 +01:00
2024-02-01 08:33:18 +01:00
2024-03-07 12:19:25 +00:00
2024-02-27 09:37:13 +01:00
2024-03-08 14:18:56 +01:00
2024-03-05 13:22:55 +00:00
2024-03-09 18:51:45 +01:00
2024-02-28 00:23:39 +01:00
2024-02-22 12:47:35 +01:00
2024-03-12 17:56:55 -04:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2024-02-22 15:44:29 +00:00
2024-02-29 19:32:45 +08:00
2024-03-09 19:17:01 +01:00
2024-03-12 17:56:55 -04:00
2024-02-02 16:23:47 +00:00
2024-03-08 15:51:22 +01:00
2024-03-12 17:56:55 -04:00
2024-03-12 17:56:55 -04:00
2023-11-23 14:10:04 +00:00
2024-02-27 09:36:39 +01:00
2024-03-12 17:56:55 -04:00
2024-02-22 12:47:40 +01:00
2024-02-02 16:23:47 +00:00
2024-03-12 17:56:55 -04:00
2024-03-12 17:56:55 -04:00
2024-02-22 12:47:40 +01:00
2023-10-27 12:48:57 +01:00
2024-03-09 19:17:01 +01:00
2023-10-21 15:00:22 +03:00
2024-03-09 18:51:45 +01:00
2024-03-08 21:00:37 +10:00
2024-03-07 12:54:56 +00:00
2024-02-15 16:58:46 +01:00
2024-02-02 18:56:32 +00:00
2024-03-09 20:12:05 +00:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-02-27 09:37:25 +01:00
2024-03-12 17:56:55 -04:00
2024-02-22 12:47:40 +01:00
2024-02-15 16:58:46 +01:00
2024-02-27 13:01:41 +00:00
2024-02-27 13:01:41 +00:00
2024-02-29 11:35:36 -10:00
2024-02-22 12:47:40 +01:00
2023-12-05 13:57:18 +09:00
2024-03-01 08:27:33 +01:00
2024-03-12 17:56:55 -04:00
2024-03-12 17:56:55 -04:00
2023-12-30 07:38:06 +11:00
2024-03-09 18:51:45 +01:00
2024-02-02 16:23:47 +00:00
2024-02-02 16:23:47 +00:00
2024-02-01 08:13:30 +01:00
2024-02-01 08:13:30 +01:00