drm/amd/ras: preload and handle bad pages at boot time

Preload bad pages occur during the sw_init stage, so
the preload-related code in RAS module must be moved
to sw_init for proper initialization.

v2:
  Rename functions and variables.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
YiPeng Chai 2026-04-22 10:34:17 +08:00 • committed by Alex Deucher
commit 486680e9d3
9 changed files with 132 additions and 32 deletions