RE: [PATCH] drm/amdgpu: restrict debugfs register access under SR-IOV

2020-04-12 Thread Tao, Yintian
-gfx list Subject: RE: [PATCH] drm/amdgpu: restrict debugfs register access under SR-IOV Hi Yintian diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c index c0f9a651dc06..4f9780aabf5a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c +++ b

RE: [PATCH] drm/amdgpu: restrict debugfs register access under SR-IOV

2020-04-11 Thread Liu, Monk
al Message- From: amd-gfx On Behalf Of Tao, Yintian Sent: Thursday, April 9, 2020 11:23 PM To: Alex Deucher Cc: Deucher, Alexander ; Koenig, Christian ; amd-gfx list Subject: RE: [PATCH] drm/amdgpu: restrict debugfs register access under SR-IOV Hi Alex Many thanks for your review.

RE: [PATCH] drm/amdgpu: restrict debugfs register access under SR-IOV

2020-04-09 Thread Tao, Yintian
Hi Alex Many thanks for your review. -Original Message- From: Alex Deucher Sent: 2020年4月9日 23:21 To: Tao, Yintian Cc: Koenig, Christian ; Deucher, Alexander ; amd-gfx list Subject: Re: [PATCH] drm/amdgpu: restrict debugfs register access under SR-IOV On Thu, Apr 9, 2020 at 10:54

Re: [PATCH] drm/amdgpu: restrict debugfs register access under SR-IOV

2020-04-09 Thread Alex Deucher
On Thu, Apr 9, 2020 at 10:54 AM Yintian Tao wrote: > > Under bare metal, there is no more else to take > care of the GPU register access through MMIO. > Under Virtualization, to access GPU register is > implemented through KIQ during run-time due to > world-switch. > > Therefore, under SR-IOV user

[PATCH] drm/amdgpu: restrict debugfs register access under SR-IOV

2020-04-09 Thread Yintian Tao
Under bare metal, there is no more else to take care of the GPU register access through MMIO. Under Virtualization, to access GPU register is implemented through KIQ during run-time due to world-switch. Therefore, under SR-IOV user can only access debugfs to r/w GPU registers when meets all three

RE: [PATCH] drm/amdgpu: restrict debugfs register access under SR-IOV

2020-04-09 Thread Tao, Yintian
Subject: Re: [PATCH] drm/amdgpu: restrict debugfs register access under SR-IOV Am 09.04.20 um 08:01 schrieb Yintian Tao: > Under bare metal, there is no more else to take care of the GPU > register access through MMIO. > Under Virtualization, to access GPU register is implemented through >

Re: [PATCH] drm/amdgpu: restrict debugfs register access under SR-IOV

2020-04-09 Thread Christian König
Am 09.04.20 um 08:01 schrieb Yintian Tao: Under bare metal, there is no more else to take care of the GPU register access through MMIO. Under Virtualization, to access GPU register is implemented through KIQ during run-time due to world-switch. Therefore, under SR-IOV user can only access debugf

[PATCH] drm/amdgpu: restrict debugfs register access under SR-IOV

2020-04-08 Thread Yintian Tao
Under bare metal, there is no more else to take care of the GPU register access through MMIO. Under Virtualization, to access GPU register is implemented through KIQ during run-time due to world-switch. Therefore, under SR-IOV user can only access debugfs to r/w GPU registers when meets all three