From: Christian König Date: Tue, 3 Nov 2020 13:29:42 +0000 (+0100) Subject: drm/amdgpu: drop leading zeros from the gmc9 fault address X-Git-Tag: accepted/tizen/unified/20230118.172025~8358^2^2~213 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18e1a6c95f0a6559794b0427108504213ba2be33;p=platform%2Fkernel%2Flinux-rpi.git drm/amdgpu: drop leading zeros from the gmc9 fault address The address space is only 48bit, not 64bit. And the VMHUBs work with sign extended addresses. Signed-off-by: Christian König Reviewed-by: Felix Kuehling Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c index cb5b462..030272e 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c @@ -558,7 +558,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, " in page starting at address 0x%016llx from client %d\n", + dev_err(adev->dev, " in page starting at address 0x%012llx from client %d\n", addr, entry->client_id); if (amdgpu_sriov_vf(adev))