From: YiPeng Chai <YiPeng.Chai@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: <yipechai@amd.com>, <Hawking.Zhang@amd.com>, <Tao.Zhou1@amd.com>,
<Candice.Li@amd.com>, <KevinYang.Wang@amd.com>,
<Stanley.Yang@amd.com>, YiPeng Chai <YiPeng.Chai@amd.com>
Subject: [PATCH 13/15] drm/amdgpu: support ACA logging ecc errors
Date: Thu, 18 Apr 2024 10:58:34 +0800 [thread overview]
Message-ID: <20240418025836.170106-13-YiPeng.Chai@amd.com> (raw)
In-Reply-To: <20240418025836.170106-1-YiPeng.Chai@amd.com>
support ACA logging ecc errors.
Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
---
drivers/gpu/drm/amd/amdgpu/umc_v12_0.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/umc_v12_0.c b/drivers/gpu/drm/amd/amdgpu/umc_v12_0.c
index bd917eb6ea24..8df84feaf046 100644
--- a/drivers/gpu/drm/amd/amdgpu/umc_v12_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/umc_v12_0.c
@@ -508,6 +508,11 @@ static int umc_v12_0_aca_bank_parser(struct aca_handle *handle, struct aca_bank
if (ret)
return ret;
+ amdgpu_umc_update_ecc_status(adev,
+ bank->regs[ACA_REG_IDX_STATUS],
+ bank->regs[ACA_REG_IDX_IPID],
+ bank->regs[ACA_REG_IDX_ADDR]);
+
ext_error_code = ACA_REG__STATUS__ERRORCODEEXT(status);
count = ext_error_code == 0 ?
ACA_REG__MISC0__ERRCNT(bank->regs[ACA_REG_IDX_MISC0]) : 1ULL;
--
2.34.1
next prev parent reply other threads:[~2024-04-18 3:02 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-18 2:58 [PATCH 01/15] drm/amdgpu: Add interface to reserve bad page YiPeng Chai
2024-04-18 2:58 ` [PATCH 02/15] drm/amdgpu: add message fifo to handle RAS poison events YiPeng Chai
2024-04-18 2:58 ` [PATCH 03/15] drm/amdgpu: prepare for logging ecc errors YiPeng Chai
2024-04-18 2:58 ` [PATCH 04/15] drm/amdgpu: add poison creation handler YiPeng Chai
2024-04-25 2:32 ` Zhang, Hawking
2024-04-25 3:35 ` Chai, Thomas
2024-04-18 2:58 ` [PATCH 05/15] drm/amdgpu: add interface to update umc v12_0 ecc status YiPeng Chai
2024-04-18 2:58 ` [PATCH 06/15] drm/amdgpu: umc v12_0 converts error address YiPeng Chai
2024-04-25 3:02 ` Zhang, Hawking
2024-04-25 3:31 ` Chai, Thomas
2024-04-18 2:58 ` [PATCH 07/15] drm/amdgpu: umc v12_0 logs ecc errors YiPeng Chai
2024-04-18 2:58 ` [PATCH 08/15] drm/amdgpu: Add delay work to retire bad pages YiPeng Chai
2024-04-18 2:58 ` [PATCH 09/15] drm/amdgpu: add condition check for amdgpu_umc_fill_error_record YiPeng Chai
2024-04-18 2:58 ` [PATCH 10/15] drm/amdgpu: retire bad pages for umc v12_0 YiPeng Chai
2024-04-22 8:14 ` Zhou1, Tao
2024-04-22 9:21 ` Chai, Thomas
2024-04-22 9:33 ` Chai, Thomas
2024-04-18 2:58 ` [PATCH 11/15] drm/amdgpu: prepare to handle pasid poison consumption YiPeng Chai
2024-04-25 3:00 ` Zhang, Hawking
2024-04-25 3:17 ` Chai, Thomas
2024-04-18 2:58 ` [PATCH 12/15] drm/amdgpu: add poison consumption handler YiPeng Chai
2024-04-18 2:58 ` YiPeng Chai [this message]
2024-04-18 2:58 ` [PATCH 14/15] drm/amdgpu: Fix address translation defect YiPeng Chai
2024-04-18 2:58 ` [PATCH 15/15] drm/amdgpu: Use new interface to reserve bad page YiPeng Chai
2024-04-18 9:00 ` Christian König
2024-04-18 9:34 ` Chai, Thomas
2024-04-22 8:27 ` Zhou1, Tao
2024-04-22 2:25 ` Chai, Thomas
2024-04-22 7:06 ` [PATCH 01/15] drm/amdgpu: Add " Christian König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240418025836.170106-13-YiPeng.Chai@amd.com \
--to=yipeng.chai@amd.com \
--cc=Candice.Li@amd.com \
--cc=Hawking.Zhang@amd.com \
--cc=KevinYang.Wang@amd.com \
--cc=Stanley.Yang@amd.com \
--cc=Tao.Zhou1@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=yipechai@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).