<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c, branch v6.19.11</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2025-10-28T15:02:36+00:00</updated>
<entry>
<title>drm/amdgpu: fix SPDX headers on amdgpu_cper.c/h</title>
<updated>2025-10-28T15:02:36+00:00</updated>
<author>
<name>Alex Deucher</name>
<email>alexander.deucher@amd.com</email>
</author>
<published>2025-10-22T13:12:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f3b37ebf2c94e3a3d7bbf5e3788ad86cf30fc7be'/>
<id>urn:sha1:f3b37ebf2c94e3a3d7bbf5e3788ad86cf30fc7be</id>
<content type='text'>
These should be MIT.  The driver in general is MIT and
the license text at the top of the files is MIT so fix
it.

Fixes: 92d5d2a09de1 ("drm/amdgpu: Introduce funcs for populating CPER")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4654
Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
(cherry picked from commit abd3f876404cafb107cb34bacb74706bfee11cbe)
</content>
</entry>
<entry>
<title>drm/amdgpu: Correct info field of bad page threshold exceed CPER</title>
<updated>2025-09-05T20:06:49+00:00</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-09-02T14:13:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f320ed01cf5f2259e2035a56900952cb3cc77e7a'/>
<id>urn:sha1:f320ed01cf5f2259e2035a56900952cb3cc77e7a</id>
<content type='text'>
Correct valid_bits and ms_chk_bits of section info field for bad page
threshold exceed CPER to match OOB's behavior.

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/amdgpu_cper: Remove redundant ternary operators</title>
<updated>2025-09-05T20:00:04+00:00</updated>
<author>
<name>Liao Yuanhong</name>
<email>liaoyuanhong@vivo.com</email>
</author>
<published>2025-09-03T12:03:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7670daf65afae2d6d08b300df64c96439e813b3a'/>
<id>urn:sha1:7670daf65afae2d6d08b300df64c96439e813b3a</id>
<content type='text'>
For ternary operators in the form of "a ? false : true", if 'a' itself
returns a boolean result, the ternary operator can be omitted. Remove
redundant ternary operators to clean up the code.

Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Liao Yuanhong &lt;liaoyuanhong@vivo.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Update IPID value for bad page threshold CPER</title>
<updated>2025-08-04T18:27:41+00:00</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-07-23T06:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8f0245ee95c5ba65a2fe03f60386868353c6a3a0'/>
<id>urn:sha1:8f0245ee95c5ba65a2fe03f60386868353c6a3a0</id>
<content type='text'>
Update the IPID register value for bad page threshold CPER according to
the latest definition.

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/amd/amdgpu: fix missing lock for cper.ring-&gt;rptr/wptr access</title>
<updated>2025-07-28T20:26:52+00:00</updated>
<author>
<name>Yang Wang</name>
<email>kevinyang.wang@amd.com</email>
</author>
<published>2025-07-24T07:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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:00+00:00</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-06-27T15:14:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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:14+00:00</updated>
<author>
<name>Victor Skvortsov</name>
<email>victor.skvortsov@amd.com</email>
</author>
<published>2025-04-02T21:35:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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:46+00:00</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-03-13T03:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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:08+00:00</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-03-06T07:23:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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:27+00:00</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-02-28T03:11:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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>
</feed>
