[PATCH] drm/amdgpu: Refine gmc9 VM fault print.

Alex Deucher alexdeucher at gmail.com
Mon Aug 27 18:55:50 UTC 2018


On Mon, Aug 27, 2018 at 2:23 PM Andrey Grodzovsky
<andrey.grodzovsky at amd.com> wrote:
>
> The fault reports the page number where the fault happend and not
> the exact faulty address. Update the print message to reflect that.
>
> Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher 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 6763570..d44c5e2 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> @@ -270,7 +270,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 address 0x%016llx from %d\n",
> +               dev_err(adev->dev, "  in page starting at address 0x%016llx from %d\n",
>                         addr, entry->client_id);
>                 if (!amdgpu_sriov_vf(adev))
>                         dev_err(adev->dev,
> --
> 2.7.4
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list