Re: [PATCH] drm/amdgpu/virt: skip VM fault handler for VF (v2)

2017-02-07 Thread Christian König
d(ChunMing); Koenig, Christian; Zhang, Jerry Cc: amd-gfx@lists.freedesktop.org; Ding, Pixel Subject: [PATCH] drm/amdgpu/virt: skip VM fault handler for VF (v2) VF uses KIQ to access registers. When VM fault occurs, the driver can't get back the fence of KIQ submission and runs into CPU soft loc

RE: [PATCH] drm/amdgpu/virt: skip VM fault handler for VF (v2)

2017-02-07 Thread Zhang, Jerry
4:07 > To: Zhou, David(ChunMing); Koenig, Christian; Zhang, Jerry > Cc: amd-gfx@lists.freedesktop.org; Ding, Pixel > Subject: [PATCH] drm/amdgpu/virt: skip VM fault handler for VF (v2) > > VF uses KIQ to access registers. When VM fault occurs, the driver can't get > back &

Re: [PATCH] drm/amdgpu/virt: skip VM fault handler for VF (v2)

2017-02-06 Thread Ding, Pixel
gt;> Cc: amd-gfx@lists.freedesktop.org; Ding, Pixel >> Subject: [PATCH] drm/amdgpu/virt: skip VM fault handler for VF (v2) >> >> VF uses KIQ to access registers. When VM fault occurs, the driver can't get >> back >> the fence of KIQ submission and runs into CPU

[PATCH] drm/amdgpu/virt: skip VM fault handler for VF (v2)

2017-02-06 Thread Pixel Ding
VF uses KIQ to access registers. When VM fault occurs, the driver can't get back the fence of KIQ submission and runs into CPU soft lockup. v2: print IV entry info Signed-off-by: Pixel Ding --- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/driv

Re: [PATCH] drm/amdgpu/virt: skip VM fault handler for VF

2017-02-06 Thread Ding, Pixel
_ > > >> -Original Message- >> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of >> Pixel Ding >> Sent: Tuesday, February 07, 2017 13:49 >> To: Zhou, David(ChunMing); Koenig, Christian >> Cc: Ding, Pixel; amd-gfx@lists.fr

RE: [PATCH] drm/amdgpu/virt: skip VM fault handler for VF

2017-02-06 Thread Zhang, Jerry
ng > Sent: Tuesday, February 07, 2017 13:49 > To: Zhou, David(ChunMing); Koenig, Christian > Cc: Ding, Pixel; amd-gfx@lists.freedesktop.org > Subject: [PATCH] drm/amdgpu/virt: skip VM fault handler for VF > > VF uses KIQ to access registers. When VM fault occurs, the driver can'

[PATCH] drm/amdgpu/virt: skip VM fault handler for VF

2017-02-06 Thread Pixel Ding
VF uses KIQ to access registers. When VM fault occurs, the driver can't get back the fence of KIQ submission and runs into CPU soft lockup. Signed-off-by: Pixel Ding --- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_