drm/amdgpu: Print UTCL2 client ID on a gpuvm fault
Subsystems (2)
PATCH 1/1 drm/amdgpu: Print UTCL2 client ID on a gpuvm fault
UTCL2 client ID is useful information to get which UTCL2 client caused the gpuvm fault. Print it out for debug purpose
--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 3 +++ drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3 +++ 2 files changed, 6 insertions(+)
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +3 -0
@@ -170,6 +170,9 @@ static int gmc_v10_0_process_interrupt(struct amdgpu_device *adev,dev_err (adev->dev,"GCVM_L2_PROTECTION_FAULT_STATUS:0x%08X\n" , status); +dev_err (adev->dev,"\t Faulty UTCL2 client ID: 0x%lx\n" , +REG_GET_FIELD (status, +GCVM_L2_PROTECTION_FAULT_STATUS ,CID ));dev_err (adev->dev,"\t MORE_FAULTS: 0x%lx\n" ,REG_GET_FIELD (status,GCVM_L2_PROTECTION_FAULT_STATUS ,MORE_FAULTS ));
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +3 -0
@@ -362,6 +362,9 @@ static int gmc_v9_0_process_interrupt(struct amdgpu_device *adev,dev_err (adev->dev,"VM_L2_PROTECTION_FAULT_STATUS:0x%08X\n" , status); +dev_err (adev->dev,"\t Faulty UTCL2 client ID: 0x%lx\n" , +REG_GET_FIELD (status, +VM_L2_PROTECTION_FAULT_STATUS ,CID ));dev_err (adev->dev,"\t MORE_FAULTS: 0x%lx\n" ,REG_GET_FIELD (status,VM_L2_PROTECTION_FAULT_STATUS ,MORE_FAULTS ));
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 7 lines · Oak Zeng
UTCL2 client ID is useful information to get which UTCL2 client caused the gpuvm fault. Print it out for debug purpose
Change-Id I733d0127b0ee53aa788f194cefa53cbb55b49c11Signed-off-by Oak Zeng <[email protected]>
Quoted 36 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 3 +++ drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3 +++ 2 files changed, 6 insertions(+)drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +3
-0@@ -170,6 +170,9 @@ static int gmc_v10_0_process_interrupt(struct amdgpu_device *adev,dev_err (adev->dev,"GCVM_L2_PROTECTION_FAULT_STATUS:0x%08X\n" , status); +dev_err (adev->dev,"\t Faulty UTCL2 client ID: 0x%lx\n" , +REG_GET_FIELD (status, +GCVM_L2_PROTECTION_FAULT_STATUS ,CID ));dev_err (adev->dev,"\t MORE_FAULTS: 0x%lx\n" ,REG_GET_FIELD (status,GCVM_L2_PROTECTION_FAULT_STATUS ,MORE_FAULTS ));drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +3
-1@@ -362,6 +362,9 @@ static int gmc_v9_0_process_interrupt(struct amdgpu_device *adev,dev_err (adev->dev,"VM_L2_PROTECTION_FAULT_STATUS:0x%08X\n" , status); +dev_err (adev->dev,"\t Faulty UTCL2 client ID: 0x%lx\n" , +REG_GET_FIELD (status, +VM_L2_PROTECTION_FAULT_STATUS ,CID ));dev_err (adev->dev,"\t MORE_FAULTS: 0x%lx\n" ,REG_GET_FIELD (status,VM_L2_PROTECTION_FAULT_STATUS ,MORE_FAULTS )); --2.7.4
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Christian König
Reviewed-byAm 06.04.20 um 20:46 schrieb Alex Deucher:
Quoted 8 lines · Oak Zeng
Quoted 6 lines
UTCL2 client ID is useful information to get which UTCL2 client caused the gpuvm fault. Print it out for debug purpose
Change-Id I733d0127b0ee53aa788f194cefa53cbb55b49c11Signed-off-by Oak Zeng <[email protected]>Reviewed-by Alex Deucher <[email protected]>
Quoted 38 lines
Quoted 38 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 3 +++ drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3 +++ 2 files changed, 6 insertions(+)drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +3
-0@@ -170,6 +170,9 @@ static int gmc_v10_0_process_interrupt(struct amdgpu_device *adev,dev_err (adev->dev,"GCVM_L2_PROTECTION_FAULT_STATUS:0x%08X\n" , status); +dev_err (adev->dev,"\t Faulty UTCL2 client ID: 0x%lx\n" , +REG_GET_FIELD (status, +GCVM_L2_PROTECTION_FAULT_STATUS ,CID ));dev_err (adev->dev,"\t MORE_FAULTS: 0x%lx\n" ,REG_GET_FIELD (status,GCVM_L2_PROTECTION_FAULT_STATUS ,MORE_FAULTS ));drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +3
-1@@ -362,6 +362,9 @@ static int gmc_v9_0_process_interrupt(struct amdgpu_device *adev,dev_err (adev->dev,"VM_L2_PROTECTION_FAULT_STATUS:0x%08X\n" , status); +dev_err (adev->dev,"\t Faulty UTCL2 client ID: 0x%lx\n" , +REG_GET_FIELD (status, +VM_L2_PROTECTION_FAULT_STATUS ,CID ));dev_err (adev->dev,"\t MORE_FAULTS: 0x%lx\n" ,REG_GET_FIELD (status,VM_L2_PROTECTION_FAULT_STATUS ,MORE_FAULTS )); --2.7.4
Quoted 8 lines
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx