From: Xiang Liu <xiang.liu@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: <Hawking.Zhang@amd.com>, <tao.zhou1@amd.com>,
Xiang Liu <xiang.liu@amd.com>
Subject: [PATCH v2 00/12] Generate CPER records for RAS and commit to CPER ring
Date: Fri, 14 Feb 2025 16:07:07 +0800 [thread overview]
Message-ID: <cover.1739519672.git.xiang.liu@amd.com> (raw)
This patch series generate RAS CPER records for UE/DE/CE/BP threshold exceed
event. SMU_TYPE_CE banks are combined into 1 CPER entry, they could be CEs or
DEs or both. UEs and BPs are encoded into separate CPER entries.
RAS CPER records for CEs will be generated only after CEs count been queried.
All records are committed to a pure software ring with a limit size, new records
will flush older records when overflow happened. User can access the records by
reading debugfs node, which is read-only.
Hawking Zhang (5):
drm/amd/include: Add amd cper header
drm/amdgpu: Introduce funcs for populating CPER
drm/amdgpu: Include ACA error type in aca bank
drm/amdgpu: Introduce funcs for generating cper record
drm/amdgpu: Generate cper records
Tao Zhou (4):
drm/amdgpu: add RAS CPER ring buffer
drm/amdgpu: read CPER ring via debugfs
drm/amdgpu: add data write function for CPER ring
drm/amdgpu: add mutex lock for cper ring
Xiang Liu (3):
drm/amdgpu: Get timestamp from system time
drm/amdgpu: Commit CPER entry
drm/amdgpu: Generate bad page threshold cper records
drivers/gpu/drm/amd/amdgpu/Makefile | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 +
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c | 46 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h | 16 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c | 559 +++++++++++++++++++++
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.h | 104 ++++
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 +
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 91 +++-
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 2 +
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c | 3 +-
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 2 +
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 2 +
drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c | 2 +
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c | 2 +
drivers/gpu/drm/amd/amdgpu/umc_v12_0.c | 1 +
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 2 +
drivers/gpu/drm/amd/include/amd_cper.h | 269 ++++++++++
drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 3 +
19 files changed, 1075 insertions(+), 40 deletions(-)
create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c
create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_cper.h
create mode 100644 drivers/gpu/drm/amd/include/amd_cper.h
--
2.34.1
next reply other threads:[~2025-02-14 8:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-14 8:07 Xiang Liu [this message]
2025-02-14 8:07 ` [PATCH v2 01/12] drm/amd/include: Add amd cper header Xiang Liu
2025-02-14 8:07 ` [PATCH v2 02/12] drm/amdgpu: Introduce funcs for populating CPER Xiang Liu
2025-02-14 8:07 ` [PATCH v2 03/12] drm/amdgpu: Include ACA error type in aca bank Xiang Liu
2025-02-14 8:07 ` [PATCH v2 04/12] drm/amdgpu: Introduce funcs for generating cper record Xiang Liu
2025-02-14 8:07 ` [PATCH v2 05/12] drm/amdgpu: Generate cper records Xiang Liu
2025-02-18 19:23 ` Kees Bakker
2025-02-14 8:07 ` [PATCH v2 06/12] drm/amdgpu: add RAS CPER ring buffer Xiang Liu
2025-02-14 8:07 ` [PATCH v2 07/12] drm/amdgpu: read CPER ring via debugfs Xiang Liu
2025-02-14 8:07 ` [PATCH v2 08/12] drm/amdgpu: add data write function for CPER ring Xiang Liu
2025-02-14 8:07 ` [PATCH v2 09/12] drm/amdgpu: add mutex lock for cper ring Xiang Liu
2025-02-14 8:07 ` [PATCH v2 10/12] drm/amdgpu: Get timestamp from system time Xiang Liu
2025-02-14 8:07 ` [PATCH v2 11/12] drm/amdgpu: Commit CPER entry Xiang Liu
2025-02-14 8:07 ` [PATCH v2 12/12] drm/amdgpu: Generate bad page threshold cper records Xiang Liu
2025-03-28 10:27 ` [PATCH v2 00/12] Generate CPER records for RAS and commit to CPER ring Aravind Iddamsetty
2025-03-28 12:12 ` Aravind Iddamsetty
2025-04-16 9:40 ` Aravind Iddamsetty
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=cover.1739519672.git.xiang.liu@amd.com \
--to=xiang.liu@amd.com \
--cc=Hawking.Zhang@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=tao.zhou1@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.