Skip to content

reset ras error counters in initialization sequence

Hawking Zhang amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/amdgpu: add reset_ras_error_count function for SDMAdrivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c+15 -60 replies
2/4drm/amdgpu: add reset_ras_error_count function for MMHUBdrivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c +1 more+28 -00 replies
3/4drm/amdgpu: add reset_ras_error_count function for GFXdrivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c +1 more+14 -170 replies
4/4drm/amdgpu: add reset_ras_error_count function for HDPdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c drivers/gpu/drm/amd/amdgpu/soc15.c+15 -13 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchAlex DeucherTao ZhouGuchun Chen
1/4
2/4
3/4
4/4R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] reset ras error counters in initialization sequence

The RAS hw error counters in most IP blocks could be dirty ones after cold reboot. Read operation is required to reset those regs to 0 so that user won't get random value when query those counters via sysfs nodes.

In addition, the reset_ras_error_counter is also important interface for amdgpu ras tool to force reset hw register counters.

Hawking Zhang (4):
drm/amdgpu: add reset_ras_error_count function for SDMA drm/amdgpu: add reset_ras_error_count function for MMHUB drm/amdgpu: add reset_ras_error_count function for GFX drm/amdgpu: add reset_ras_error_count function for HDP

 drivers/gpu/drm/amd/amdgpu/amdgpu.h       |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h   |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h  |  1 +
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c     | 27 +++++++++--------------
 drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c     |  2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_4.h     |  2 ++
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c     |  3 +++
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c   | 12 ++++++++++
 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c   | 12 ++++++++++
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c    | 20 ++++++++++++-----
 drivers/gpu/drm/amd/amdgpu/soc15.c        | 14 ++++++++++++
 12 files changed, 72 insertions(+), 24 deletions(-)
Signature · 6 lines
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx