<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c, branch v6.15</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.15</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v6.15'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2025-03-26T21:44:41Z</updated>
<entry>
<title>drm/amdgpu: Parse all deferred errors with UMC aca handle</title>
<updated>2025-03-26T21:44:41Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-03-24T09:19:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=aedc92be9621b31ccc90d79ee7f831944e6bfbef'/>
<id>urn:sha1:aedc92be9621b31ccc90d79ee7f831944e6bfbef</id>
<content type='text'>
We should only increase the deferred errors in UMC block.

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: Decode deferred error type in gfx aca bank parser</title>
<updated>2025-03-21T16:16:35Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-03-19T09:02:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=338f7412c7ea2ce007e83c5ad7c5e01d8cfce1e1'/>
<id>urn:sha1:338f7412c7ea2ce007e83c5ad7c5e01d8cfce1e1</id>
<content type='text'>
In the case of injecting uncorrected error with background workload,
the deferred error among uncorrected errors need to be specified
by checking the deferred and poison bits of status register.

v2: refine checking for deferred error
v2: log possiable DEs among CEs
v2: generate CPER records for DEs among UEs

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: Check if CPER enabled when generating CPER</title>
<updated>2025-02-25T16:45:12Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-02-24T13:10:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ce615fe328450b761eeb71c046072aeca3099f3d'/>
<id>urn:sha1:ce615fe328450b761eeb71c046072aeca3099f3d</id>
<content type='text'>
In the case of CPER disabled, generating CPER will cause kernel NULL
pointer dereference without checking.

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: Remove redundant check of adev</title>
<updated>2025-02-19T20:16:37Z</updated>
<author>
<name>Xiang Liu</name>
<email>xiang.liu@amd.com</email>
</author>
<published>2025-02-19T04:27:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2f94469cc0db4fb7e0b39208058be1d793319689'/>
<id>urn:sha1:2f94469cc0db4fb7e0b39208058be1d793319689</id>
<content type='text'>
There is no need to check adev for sure.

Signed-off-by: Xiang Liu &lt;xiang.liu@amd.com&gt;
Reviewed-by: Yang Wang &lt;kevinyang.wang@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Generate cper records</title>
<updated>2025-02-17T19:09:29Z</updated>
<author>
<name>Hawking Zhang</name>
<email>Hawking.Zhang@amd.com</email>
</author>
<published>2025-02-11T11:54:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=652e09023029b79b4490e824d4ebe8eaea92cc8e'/>
<id>urn:sha1:652e09023029b79b4490e824d4ebe8eaea92cc8e</id>
<content type='text'>
Encode the error information in CPER format and commit
to the cper ring

Signed-off-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Reviewed-by: Yang Wang &lt;keivnyang.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;
</content>
</entry>
<entry>
<title>drm/amdgpu: Introduce funcs for generating cper record</title>
<updated>2025-02-17T19:09:29Z</updated>
<author>
<name>Hawking Zhang</name>
<email>Hawking.Zhang@amd.com</email>
</author>
<published>2025-01-26T09:15:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ad97840f954cc6834cc92324de9cde27ff0263db'/>
<id>urn:sha1:ad97840f954cc6834cc92324de9cde27ff0263db</id>
<content type='text'>
Introduce new functions that are used to generate
cper ue or ce records.

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

Signed-off-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Signed-off-by: Xiang Liu &lt;xiang.liu@amd.com&gt;
Reviewed-by: Yang Wang &lt;keivnyang.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;
</content>
</entry>
<entry>
<title>drm/amdgpu: Include ACA error type in aca bank</title>
<updated>2025-02-17T19:09:29Z</updated>
<author>
<name>Hawking Zhang</name>
<email>Hawking.Zhang@amd.com</email>
</author>
<published>2025-01-26T08:32:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=56316ee91bcefaf535dbe8ba601cf5f14051d09a'/>
<id>urn:sha1:56316ee91bcefaf535dbe8ba601cf5f14051d09a</id>
<content type='text'>
ACA error types managed by driver a direct 1:1
correspondence with those managed by firmware.

To address this, for each ACA bank, include
both the ACA error type and the ACA SMU type.

This addition is useful for creating CPER records.

Signed-off-by: Hawking Zhang &lt;Hawking.Zhang@amd.com&gt;
Reviewed-by: Yang Wang &lt;keivnyang.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;
</content>
</entry>
<entry>
<title>drm/amdgpu: fix ACA bank count boundary check error</title>
<updated>2024-11-08T16:08:38Z</updated>
<author>
<name>Yang Wang</name>
<email>kevinyang.wang@amd.com</email>
</author>
<published>2024-11-06T06:49:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2bb7dced1c2f8c0e705cc74840f776406db492c3'/>
<id>urn:sha1:2bb7dced1c2f8c0e705cc74840f776406db492c3</id>
<content type='text'>
fix ACA bank count boundary check error.

Fixes: f5e4cc8461c4 ("drm/amdgpu: implement RAS ACA driver framework")
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;
</content>
</entry>
<entry>
<title>drm/amdgpu: fix typo in the comment</title>
<updated>2024-09-18T20:14:26Z</updated>
<author>
<name>Yan Zhen</name>
<email>yanzhen@vivo.com</email>
</author>
<published>2024-09-11T04:27:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0110ac11952f06419d267f51a3989e989b17e67a'/>
<id>urn:sha1:0110ac11952f06419d267f51a3989e989b17e67a</id>
<content type='text'>
Correctly spelled comments make it easier for the reader to understand
the code.

Replace 'udpate' with 'update' in the comment &amp;
replace 'recieved' with 'received' in the comment &amp;
replace 'dsiable' with 'disable' in the comment &amp;
replace 'Initiailize' with 'Initialize' in the comment &amp;
replace 'disble' with 'disable' in the comment &amp;
replace 'Disbale' with 'Disable' in the comment &amp;
replace 'enogh' with 'enough' in the comment &amp;
replace 'availabe' with 'available' in the comment.

Acked-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Yan Zhen &lt;yanzhen@vivo.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: add list empty check to avoid null pointer issue</title>
<updated>2024-08-23T14:53:45Z</updated>
<author>
<name>Yang Wang</name>
<email>kevinyang.wang@amd.com</email>
</author>
<published>2024-08-21T06:42:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4416377ae1fdc41a90b665943152ccd7ff61d3c5'/>
<id>urn:sha1:4416377ae1fdc41a90b665943152ccd7ff61d3c5</id>
<content type='text'>
Add list empty check to avoid null pointer issues in some corner cases.
- list_for_each_entry_safe()

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;
</content>
</entry>
</feed>
