]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Refine RAS bad page records counting and parsing in eeprom V3
authorganglxie <ganglxie@amd.com>
Thu, 24 Apr 2025 09:11:47 +0000 (17:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 May 2025 13:31:33 +0000 (09:31 -0400)
commitf5db59067c3130d186ddb619bcbdc6bea0ffb704
tree4f0fe4db29073cd449411153a12a51f7b2b3a790
parent3ab3d680ffef21d72164987f869a62d0ea67a591
Refine RAS bad page records counting and parsing in eeprom V3

there is only MCA records in V3, no need to care about PA records.
recalculate the value of ras_num_bad_pages when parsing failed and
go on with the left records instead of quit.

Signed-off-by: ganglxie <ganglxie@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c