drm/amd/amdgpu: add error handling to amdgpu_virt_read_pf2vf_data
stable inclusion from stable-5.10.21 commit 4b73f01d5ebde3409df1206727fb2fd20fefe7cf bugzilla: 50609 -------------------------------- [ Upstream commit 64dcf2f0 ] [Why] when vram lost happened in guest, try to write vram can lead to kernel stuck. [How] When the readback data is invalid, don't do write work, directly reschedule a new work. Signed-off-by:Jingwen Chen <Jingwen.Chen2@amd.com> Reviewed-by:
Monk <Liu<monk.liu@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Chen Jun <chenjun102@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment