[PATCH] drm/amdgpu: Disable GPU reset on SRIOV before remove pci.

2022-10-25 Thread Gavin Wan
The change of the commit ("Adjust removal control flow for smu v13_0_2") brought a bug on SRIOV envrionment. It caused unloading amdgpu failed on Guest VM. The reason is that the VF FLR was requested while unloading amdgpu driver, but the VF FLR of SRIOV sequence is wrong while removing

Re: [PATCH] drm/amdgpu: Disable GPU reset on SRIOV before remove pci.

2022-10-25 Thread Christian König
Am 24.10.22 um 22:21 schrieb Gavin Wan: The change of the commit f5c7e7797060 ("Adjust removal control flow for smu v13_0_2") brought a bug on SRIOV envrionment. It caused unloading amdgpu failed on Guest VM. The reason is that the VF FLR was requested while unloading amdgpu driver

[PATCH] drm/amdgpu: Disable GPU reset on SRIOV before remove pci.

2022-10-24 Thread Gavin Wan
The change of the commit f5c7e7797060 ("Adjust removal control flow for smu v13_0_2") brought a bug on SRIOV envrionment. It caused unloading amdgpu failed on Guest VM. The reason is that the VF FLR was requested while unloading amdgpu driver, but the VF FLR of SRIOV sequence is wrong whi

Re: [PATCH] drm/amdgpu: Disable GPU reset on SRIOV before remove pci.

2022-10-24 Thread Alex Deucher
On Mon, Oct 24, 2022 at 4:03 PM Gavin Wan wrote: > > Fixes: f5c7e7797060 ("drm/amdgpu: Adjust removal control flow > for smu v13_0_2") > > The change of the commit f5c7e7797060 ("Adjust removal control > flow for smu v13_0_2") brought a bug on SRIOV envrionment. It > caused unload

[PATCH] drm/amdgpu: Disable GPU reset on SRIOV before remove pci.

2022-10-24 Thread Gavin Wan
Fixes: f5c7e7797060 ("drm/amdgpu: Adjust removal control flow for smu v13_0_2") The change of the commit f5c7e7797060 ("Adjust removal control flow for smu v13_0_2") brought a bug on SRIOV envrionment. It caused unloading amdgpu failed on Guest VM. The reason is that the VF FLR

Re: [PATCH] drm/amdgpu: Disable GPU reset on SRIOV before remove pci.

2022-10-24 Thread Alex Deucher
On Mon, Oct 24, 2022 at 3:45 PM Gavin Wan wrote: > > The change "Adjust removal control flow for smu v13_0_2" commit f5c7e7797060 ("drm/amdgpu: Adjust removal control flow for smu v13_0_2") > brought a bug on SRIOV envrionment. It caused unloading > amdgpu failed on Guest VM. The reason is

[PATCH] drm/amdgpu: Disable GPU reset on SRIOV before remove pci.

2022-10-24 Thread Gavin Wan
The change "Adjust removal control flow for smu v13_0_2" brought a bug on SRIOV envrionment. It caused unloading amdgpu failed on Guest VM. The reason is that the VF FLR was requested while unloading amdgpu driver, but VF FLR of SRIOV sequence is wrong while removing PCI device. Signed-o