<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c, branch v6.17</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v6.17</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v6.17'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2025-07-28T20:26:52Z</updated>
<entry>
<title>drm/amd/amdgpu: fix missing lock for cper.ring-&gt;rptr/wptr access</title>
<updated>2025-07-28T20:26:52Z</updated>
<author>
<name>Yang Wang</name>
<email>kevinyang.wang@amd.com</email>
</author>
<published>2025-07-24T07:16:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8e0d1edb5c16732b695eaf4bd7096b1569817cf0'/>
<id>urn:sha1:8e0d1edb5c16732b695eaf4bd7096b1569817cf0</id>
<content type='text'>
Add lock protection for 'ring-&gt;wptr'/'ring-&gt;rptr' to ensure the correct execution.

Fixes: 8652920d2c00 ("drm/amdgpu: add mutex lock for cper ring")
Signed-off-by: Yang Wang &lt;kevinyang.wang@amd.com&gt;
Reviewed-by: Tao Zhou &lt;tao.zhou1@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: stable@vger.kernel.org
</content>
</entry>
<entry>
<title>drm/amdgpu: Use correct severity for BP threshold exceed event</title>
<updated>2025-06-30T16:08:00Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-06-27T15:14:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4a33ca3f6ee9a013a423a867426704e9c9d785bd'/>
<id>urn:sha1:4a33ca3f6ee9a013a423a867426704e9c9d785bd</id>
<content type='text'>
The severity of CPER for BP threshold exceed event should be set as
CPER_SEV_FATAL to match the OOB implementation.

Signed-off-by: Xiang Liu &lt;xiang.liu@amd.com&gt;
Reviewed-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Disable ACA on VFs</title>
<updated>2025-04-08T20:48:14Z</updated>
<author>
<name>Victor Skvortsov</name>
<email>victor.skvortsov@amd.com</email>
</author>
<published>2025-04-02T21:35:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3394069e7de984ea3a4c2c68bf69b65f1c0aa658'/>
<id>urn:sha1:3394069e7de984ea3a4c2c68bf69b65f1c0aa658</id>
<content type='text'>
VFs query RAS error counts directly from host with
AMDGPU_RAS_VIRT_ERROR_COUNT_QUERY. When ACA is enabled,
an unusable aca_sysfs is created rather than amdgpu_ras_sysfs_create()

Likewise, VFs depend on host support to query CPERs, rather than ACA component.

Signed-off-by: Victor Skvortsov &lt;victor.skvortsov@amd.com&gt;
Reviewed-by: Zhigang Luo &lt;Zhigang.luo@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Fix computation for remain size of CPER ring</title>
<updated>2025-03-18T18:03:46Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-03-13T03:24:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d6f9bbce18762116698c40cc7de836a9d0c9f832'/>
<id>urn:sha1:d6f9bbce18762116698c40cc7de836a9d0c9f832</id>
<content type='text'>
The mistake of computation for remain size of CPER ring will cause
unbreakable while cycle when CPER ring overflow.

Signed-off-by: Xiang Liu &lt;xiang.liu@amd.com&gt;
Reviewed-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Use unique CPER record id across devices</title>
<updated>2025-03-07T17:54:08Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-03-06T07:23:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=148084bbb1e5131b3f1200c72c2b60d85e73aa75'/>
<id>urn:sha1:148084bbb1e5131b3f1200c72c2b60d85e73aa75</id>
<content type='text'>
Encode socket id to CPER record id to be unique across devices.

v2: add pointer check for adev-&gt;smuio.funcs-&gt;get_socket_id
v2: set 0 if adev-&gt;smuio.funcs-&gt;get_socket_id is NULL

Signed-off-by: Xiang Liu &lt;xiang.liu@amd.com&gt;
Reviewed-by: Tao Zhou &lt;tao.zhou1@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Free CPER entry after committing to ring</title>
<updated>2025-03-05T15:37:27Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-02-28T03:11:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=677ae51f4901e22517f8291a0263f794c104e167'/>
<id>urn:sha1:677ae51f4901e22517f8291a0263f794c104e167</id>
<content type='text'>
Free CPER entry when it's committed to CPER ring to avoid memory leak.

Signed-off-by: Xiang Liu &lt;xiang.liu@amd.com&gt;
Reviewed-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Fix spelling mistake "initiailize" -&gt; "initialize" and grammar</title>
<updated>2025-02-27T21:50:03Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.i.king@gmail.com</email>
</author>
<published>2025-02-26T08:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=eaa3feb16d3b8fbb787cc6c0c16c45bf654d806a'/>
<id>urn:sha1:eaa3feb16d3b8fbb787cc6c0c16c45bf654d806a</id>
<content type='text'>
There is a spelling mistake and a grammatical error in a dev_err
message. Fix it.

Reviewed-by: Tao Zhou &lt;tao.zhou1@amd.com&gt;
Signed-off-by: Colin Ian King &lt;colin.i.king@gmail.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Disable fru_id field in CPER section</title>
<updated>2025-02-27T21:50:03Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-02-24T07:13:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=906d2859e1c69ad3bd680fc02a2de00105ee827b'/>
<id>urn:sha1:906d2859e1c69ad3bd680fc02a2de00105ee827b</id>
<content type='text'>
The fru_id field is disabled cause of mis-matching defination
between CPER spec and driver.

Signed-off-by: Xiang Liu &lt;xiang.liu@amd.com&gt;
Reviewed-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Set CPER enabled flag after ring initiailized</title>
<updated>2025-02-25T16:45:12Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-02-24T15:01:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ff930483af93753cc3ba252e13f3cd92e505f0f0'/>
<id>urn:sha1:ff930483af93753cc3ba252e13f3cd92e505f0f0</id>
<content type='text'>
Setting cper.enabled to be true only after cper ring is successfully
created.

Signed-off-by: Xiang Liu &lt;xiang.liu@amd.com&gt;
Reviewed-by: Tao Zhou &lt;tao.zhou1@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Check aca enabled inside cper init/fini func</title>
<updated>2025-02-19T20:16:33Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-02-19T04:21:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=663a87763b570d4e92d821b30508bed0025fa285'/>
<id>urn:sha1:663a87763b570d4e92d821b30508bed0025fa285</id>
<content type='text'>
Move code about checking aca enabled to the cper init/fini function
to make code clean.

Signed-off-by: Xiang Liu &lt;xiang.liu@amd.com&gt;
Reviewed-by: Tao Zhou &lt;tao.zhou1@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
</feed>
