]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/amdgpu: Refine gmc9 VM fault print.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Mon, 27 Aug 2018 18:17:26 +0000 (14:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 20:21:20 +0000 (15:21 -0500)
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@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c

index 453bd7ea50e7901eee8e466d87455999e8c00869..39bee98155ee6ae83f73b2419dd0343eb44d4f9e 100644 (file)
@@ -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,