drm/amd/ras: generate Platform Memory CPER records

Preserve standard Platform Memory sections recovered from BERT instead
of wrapping them in the AMD crashdump format.

Validate each boot section, copy its raw payload unchanged, align each
complete record to a 32-bit boundary, and report the exact serialized
size.

Route Platform Memory records through a dedicated generator,
independently of crashdump and processor records.

Signed-off-by: Xiang Liu <xiang.liu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Xiang Liu 2026-08-06 12:26:46 +08:00 • committed by Alex Deucher
commit 62f7ffdc32