<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.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-15T18:07:53Z</updated>
<entry>
<title>drm/amdgpu: refine eeprom data check</title>
<updated>2025-07-15T18:07:53Z</updated>
<author>
<name>ganglxie</name>
<email>ganglxie@amd.com</email>
</author>
<published>2025-07-02T08:56:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=660261df61fb7fd972aae0f09b17c2b899f1e282'/>
<id>urn:sha1:660261df61fb7fd972aae0f09b17c2b899f1e282</id>
<content type='text'>
add eeprom data checksum check before driver unload. reset eeprom
and save correct data to eeprom when check failed

Signed-off-by: ganglxie &lt;ganglxie@amd.com&gt;
Reviewed-by: Tao Zhou &lt;tao.zhou1@amd.com&gt;
Reviewed-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: Convert from DRM_* to dev_*</title>
<updated>2025-06-30T15:54:55Z</updated>
<author>
<name>Lijo Lazar</name>
<email>lijo.lazar@amd.com</email>
</author>
<published>2025-06-24T05:50:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a3e510fd69c315a6b55f7a982caadee4e3ba6301'/>
<id>urn:sha1:a3e510fd69c315a6b55f7a982caadee4e3ba6301</id>
<content type='text'>
Convert from generic DRM_* to dev_* calls to have device context info.

Signed-off-by: Lijo Lazar &lt;lijo.lazar@amd.com&gt;
Reviewed-by: Asad Kamal &lt;asad.kamal@amd.com&gt;
Signed-off-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/amdgpu: refine usage of amdgpu_bad_page_threshold</title>
<updated>2025-06-18T16:19:21Z</updated>
<author>
<name>ganglxie</name>
<email>ganglxie@amd.com</email>
</author>
<published>2025-06-12T08:13:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e2d1e96c536d48b88bfaac4d6b1512be42c2b9f6'/>
<id>urn:sha1:e2d1e96c536d48b88bfaac4d6b1512be42c2b9f6</id>
<content type='text'>
when amdgpu_bad_page_threshold == -1 or -2, driver will issue a warning
message when threshold is reached and continue runtime services.

Signed-off-by: ganglxie &lt;ganglxie@amd.com&gt;
Reviewed-by: Hawking Zhang &lt;Hawking.Zhang@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: clear pa and mca record counter when resetting eeprom</title>
<updated>2025-06-18T16:19:15Z</updated>
<author>
<name>ganglxie</name>
<email>ganglxie@amd.com</email>
</author>
<published>2025-06-05T06:00:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d0cc8d2b7df1848f98f0fea8135ba706814b1d13'/>
<id>urn:sha1:d0cc8d2b7df1848f98f0fea8135ba706814b1d13</id>
<content type='text'>
clear pa and mca record counter when resetting eeprom, so that
ras_num_bad_pages can be calculated correctly

Signed-off-by: ganglxie &lt;ganglxie@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: Set RAS EEPROM table version to v3 for umc v12_5</title>
<updated>2025-04-11T21:00:50Z</updated>
<author>
<name>Candice Li</name>
<email>candice.li@amd.com</email>
</author>
<published>2025-04-11T05:12:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d6b22b1dffdae52ba5739326ea7b271ba5354db1'/>
<id>urn:sha1:d6b22b1dffdae52ba5739326ea7b271ba5354db1</id>
<content type='text'>
Set RAS EEPROM table version to v3 for umc v12_5.

Signed-off-by: Candice Li &lt;candice.li@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: Reset RAS table if header is invalid</title>
<updated>2025-04-08T20:48:14Z</updated>
<author>
<name>Lijo Lazar</name>
<email>lijo.lazar@amd.com</email>
</author>
<published>2025-04-08T03:25:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6ffc6e056febb9ebb0d6a8fe0379ac9d8f4ec4a6'/>
<id>urn:sha1:6ffc6e056febb9ebb0d6a8fe0379ac9d8f4ec4a6</id>
<content type='text'>
If a valid header is not found during RAS eeprom init, consider it as
new and reset RAS table info.

Signed-off-by: Lijo Lazar &lt;lijo.lazar@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: Add basic validation for RAS header</title>
<updated>2025-04-07T19:18:59Z</updated>
<author>
<name>Lijo Lazar</name>
<email>lijo.lazar@amd.com</email>
</author>
<published>2025-03-26T07:58:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5df0d6addb7e9b6f71f7162d1253762a5be9138e'/>
<id>urn:sha1:5df0d6addb7e9b6f71f7162d1253762a5be9138e</id>
<content type='text'>
If RAS header read from EEPROM is corrupted, it could result in trying
to allocate huge memory for reading the records. Add some validation to
header fields.

Signed-off-by: Lijo Lazar &lt;lijo.lazar@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: Add EEPROM I2C address support for smu v13_0_12</title>
<updated>2025-03-19T19:56:00Z</updated>
<author>
<name>Candice Li</name>
<email>candice.li@amd.com</email>
</author>
<published>2025-03-13T07:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5762f9dcf74ae5fb0b0a15afeda9543af38449ef'/>
<id>urn:sha1:5762f9dcf74ae5fb0b0a15afeda9543af38449ef</id>
<content type='text'>
Add EEPROM I2C address support for smu v13_0_12.

Signed-off-by: Candice Li &lt;candice.li@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: format old RAS eeprom data into V3 version</title>
<updated>2025-03-18T18:03:38Z</updated>
<author>
<name>Tao Zhou</name>
<email>tao.zhou1@amd.com</email>
</author>
<published>2025-03-04T07:05:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=05d50ea3ea4123536ca461ff54fa04b94adc65c1'/>
<id>urn:sha1:05d50ea3ea4123536ca461ff54fa04b94adc65c1</id>
<content type='text'>
Clear old data and save it in V3 format.

v2: only format eeprom data for new ASICs.

Signed-off-by: Tao Zhou &lt;tao.zhou1@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: Save PA of bad pages for old asics</title>
<updated>2025-03-14T03:13:08Z</updated>
<author>
<name>ganglxie</name>
<email>ganglxie@amd.com</email>
</author>
<published>2025-03-11T10:35:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a4b6e990d788ba0835476a9a9b0dfad01113ed32'/>
<id>urn:sha1:a4b6e990d788ba0835476a9a9b0dfad01113ed32</id>
<content type='text'>
for old asics that do not support mca translating, we
just save PA for them

Signed-off-by: ganglxie &lt;ganglxie@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>
