linux/drivers/gpu/drm/amd/ras
Candice Li e5565e7c3f drm/amd/ras: validate RAS EEPROM tbl_size before record count
Corrupt EEPROM data can set tbl_size below the table header size.
Guard the RAS_NUM_RECS macros against undersized tbl_size and reset
the table during init when tbl_size is below the minimum for the table
version instead of trusting the header.

Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-06-03 13:52:55 -04:00
..
ras_mgr drm/amd/ras: Remove redundant error log 2026-06-03 13:50:36 -04:00
rascore drm/amd/ras: validate RAS EEPROM tbl_size before record count 2026-06-03 13:52:55 -04:00
Makefile drm/amd/ras: Add unified ras module top-level makefile 2025-10-13 14:14:31 -04:00