<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c, branch v6.16</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.16</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v6.16'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2025-04-08T20:48:14Z</updated>
<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>
<entry>
<title>drm/amdgpu: Generate bad page threshold cper records</title>
<updated>2025-02-17T19:09:30Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-02-11T11:45:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f9d35b945c599e8dbed17f484e82b4ad3d21721a'/>
<id>urn:sha1:f9d35b945c599e8dbed17f484e82b4ad3d21721a</id>
<content type='text'>
Generate CPER record when bad page threshold exceed and
commit to CPER ring.

v2: return -ENOMEM instead of false
v2: check return value of fill section function

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: Commit CPER entry</title>
<updated>2025-02-17T19:09:30Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-02-12T12:17:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4058e7cbfd0fb0cae7cbb8035bb43c593cc7c964'/>
<id>urn:sha1:4058e7cbfd0fb0cae7cbb8035bb43c593cc7c964</id>
<content type='text'>
Commit the CPER entry to the ring buffer.

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>
