drm/amd/ras: add rascore BERT record walker

Add a rascore BERT record walker that validates cached BERT generic
status blocks and iterates their CPER section descriptors.

The generic APEI BERT path may have already consumed the boot error
region and cleared block_status before AMDGPU caches the payload, so do
not use block_status to decide whether cached records should be parsed.

Section-specific parsers can be added separately on top of this walker.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Xiang Liu <xiang.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Xiang Liu 2026-07-08 22:13:18 +08:00 • committed by Alex Deucher
commit b6531cd34c
4 changed files with 86 additions and 0 deletions