Re: [PATCH] drm/amdgpu: Add lock around VF RLCG interface

2024-05-28 Thread Christian König
Am 27.05.24 um 22:19 schrieb Victor Skvortsov: flush_gpu_tlb may be called from another thread while device_gpu_recover is running. No, that would be illegal. Where do you see that? Regards, Christian. Both of these threads access registers through the VF RLCG interface during VF Full Acces

RE: [PATCH] drm/amdgpu: Add lock around VF RLCG interface

2024-05-28 Thread Luo, Zhigang
/amdgpu: Add lock around VF RLCG interface flush_gpu_tlb may be called from another thread while device_gpu_recover is running. Both of these threads access registers through the VF RLCG interface during VF Full Access. Add a lock around this interface to prevent race conditions between these

[PATCH] drm/amdgpu: Add lock around VF RLCG interface

2024-05-27 Thread Victor Skvortsov
flush_gpu_tlb may be called from another thread while device_gpu_recover is running. Both of these threads access registers through the VF RLCG interface during VF Full Access. Add a lock around this interface to prevent race conditions between these threads. Signed-off-by: Victor Skvortsov ---