RE: [PATCH 4/4] drm/amdgpu: avoid dump mca bank log muti times during ras ISR

2024-04-25 Thread Wang, Yang(Kevin)
[AMD Official Use Only - General] -Original Message- From: Zhou1, Tao Sent: Thursday, April 25, 2024 4:31 PM To: Wang, Yang(Kevin) ; amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Li, Candice Subject: RE: [PATCH 4/4] drm/amdgpu: avoid dump mca bank log muti times during ras ISR

RE: [PATCH 4/4] drm/amdgpu: avoid dump mca bank log muti times during ras ISR

2024-04-25 Thread Zhou1, Tao
[AMD Official Use Only - General] > -Original Message- > From: Wang, Yang(Kevin) > Sent: Tuesday, April 23, 2024 4:27 PM > To: amd-gfx@lists.freedesktop.org > Cc: Zhang, Hawking ; Zhou1, Tao > ; Li, Candice > Subject: [PATCH 4/4] drm/amdgpu: avoid dump mca bank

[PATCH 4/4] drm/amdgpu: avoid dump mca bank log muti times during ras ISR

2024-04-23 Thread Yang Wang
because the ue valid mca count will only be cleared after gpu reset, so only dump mca log on the first time to get mca bank after receive RAS interrupt. Signed-off-by: Yang Wang --- drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | 28 + drivers/gpu/drm/amd/amdgpu/amdgpu_mca.h |