diff options
| author | Stanley.Yang <Stanley.Yang@amd.com> | 2026-05-11 19:44:16 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-27 10:50:57 -0400 |
| commit | 82502db448aa9eca2c8d8ee8b424f37aa9ce3ac0 (patch) | |
| tree | be870fd9734a48c6ec226f59cb5e2032eb35f2e2 /include | |
| parent | a71db9b8f77bab7b730b9f00a769d8f7a9e3dafd (diff) | |
drm/amd/ras: cap pending_ecc_list size
Drop new entries once pending_ecc_count hits RAS_UMC_PENDING_ECC_MAX
(8192) so an ECC storm or repeated UMC error injection cannot exhaust
kernel memory. Dropped events are counted and reported via a
rate-limited warning.
Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
