summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDavid Francis <David.Francis@amd.com>2026-05-21 09:18:59 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-07-08 14:24:20 -0400
commit6853f1f6cbbeb3f53ebbbd7286536aeb2c5d5f50 (patch)
treed65572c2b20d3962658d8e937d57c5ddaa0b80e9 /tools/perf/scripts/python/export-to-sqlite.py
parent8799ba6fb6a48438aea20c82e74c2f2a3d2b2e7a (diff)
drm/amdkfd: Check bounds in allocate_event_notification_slot
The valid event ids go from 0 to KFD_SIGNAL_EVENT_LIMIT allocate_event_notification_slot has an option to specify an event id to allocate at, used by CRIU. We weren't checking the bounds on that value. Check them. v2: Lower bounds check is unecessary because of idr_alloc already rejecting negative numbers. Upper bounds check should be KFD_SIGNAL_EVENT_LIMIT since the signal mode mappings might not yet exist Signed-off-by: David Francis <David.Francis@amd.com> Reviewed-by: David Yat Sin <david.yatsin@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