diff options
| author | David Francis <David.Francis@amd.com> | 2026-05-12 14:49:41 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-08 14:27:26 -0400 |
| commit | 5c6c247992d4d9200e073b83f4ec6c703c096845 (patch) | |
| tree | 2ac60b8fa8a85b19d9f250cd42e30f1b75c144e0 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 325de6bf3328efd5acf5072337fc196928753de8 (diff) | |
drm/amdkfd: Check bounds on CRIU restore event id
The valid amdkfd event ids go from 0 to KFD_SIGNAL_EVENT_LIMIT - 1.
During CRIU restore, ensure that the provided event ids are
in that range.
v2: No need for lower bound check since idr_alloc rejects negative
inputs
v3: Also change error message to reflect new error condition
Reviewed-by: David Yat Sin <david.yatsin@amd.com>
Signed-off-by: David Francis <David.Francis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
