[PATCH] drm/amdgpu/gmc9: clarify GPUVM fault error message

Zhang, Jerry (Junwei) Jerry.Zhang at amd.com
Wed Jul 25 06:49:21 UTC 2018


On 07/25/2018 12:54 AM, Alex Deucher wrote:
> The address printed is the actual address, not the page.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
  Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> index 9df94b45d17d..399a5db27649 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> @@ -269,7 +269,7 @@ static int gmc_v9_0_process_interrupt(struct amdgpu_device *adev,
>   			entry->src_id, entry->ring_id, entry->vmid,
>   			entry->pasid, task_info.process_name, task_info.tgid,
>   			task_info.task_name, task_info.pid);
> -		dev_err(adev->dev, "  at page 0x%016llx from %d\n",
> +		dev_err(adev->dev, "  at address 0x%016llx from %d\n",
>   			addr, entry->client_id);
>   		if (!amdgpu_sriov_vf(adev))
>   			dev_err(adev->dev,
>


More information about the amd-gfx mailing list