Re: [PATCH] drm/amdgpu: Check hive->reset_domain not NULL before releasing it.

2022-11-01 Thread Felix Kuehling
On 2022-11-01 14:49, Gavin Wan wrote: The recent change brought a bug on SRIOV envrionment. It caused kernel crashing while unloading amdgpu on guest VM with hive configuration. The reason is that the hive->reset_domain is not used (hive->reset_domain is not initialized) for SRIOV, but the code d

[PATCH] drm/amdgpu: Check hive->reset_domain not NULL before releasing it.

2022-11-01 Thread Gavin Wan
The recent change brought a bug on SRIOV envrionment. It caused kernel crashing while unloading amdgpu on guest VM with hive configuration. The reason is that the hive->reset_domain is not used (hive->reset_domain is not initialized) for SRIOV, but the code did not check if hive->reset_domain befor