diff options
| author | Tao Zhou <tao.zhou1@amd.com> | 2026-07-08 18:19:09 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-28 18:52:39 -0400 |
| commit | 47a71f452c857596e896c5b4b1cde01c8e2c38f5 (patch) | |
| tree | 04c1abe9f8a51613de3dc7e57b3e684b9accf387 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6085f8289ef1f8ee1409992aa4e8fa7331192e58 (diff) | |
drm/amd/ras: detect old ras eeprom format
Handler of some formats will be implemented in the future.
UMC_CHANNEL_IDX_V2 is a flag to indicate v2 format channel index stored
in eeprom, the flag was retired in v3 and save_nps is introduced in v3,
so they have no conflict.
eeprom format v1: store channel index within a umc instance in eeprom
range in UMC v12: 0 ~ 7
eeprom format v2: store global channel index in eeprom
range in UMC v12: 0 ~ 127
v2: change the bit range of save_nps from [40:47] to [40:46],
UMC_CHANNEL_IDX_V2 use bit 47.
use RAS_DEV_WARN_RATELIMITED for retire record check, avoid log
noise.
Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
