diff options
| author | Taimuraz Kaitmazov <taimuraz@kaitmazov.com> | 2026-08-20 01:44:56 +0300 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-09-17 13:09:02 -0700 |
| commit | f2751f8754ae7ca0bba1a9536e153c8cc3aa4aae (patch) | |
| tree | 6227ea990d67a9a1bbbf0d157b51457879d5a557 /tools/perf/scripts/python | |
| parent | 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4 (diff) | |
| download | linux-f2751f8754ae7ca0bba1a9536e153c8cc3aa4aae.tar.gz linux-f2751f8754ae7ca0bba1a9536e153c8cc3aa4aae.zip | |
accel/amdxdna: do not warn when a sync request is rejected
amdxdna_drm_sync_bo_ioctl() answers a failed amdxdna_flush_bo() with
drm_WARN(). Both of that function's error returns are decided by the
ioctl's arguments, so SYNC_BO with an offset past the end of the BO
splats and taints the kernel from an unprivileged caller.
Log it at debug level, since the same caller can repeat it.
Fixes: dbc8fd7a03cb ("accel/amdxdna: Add expandable device heap support")
Signed-off-by: Taimuraz Kaitmazov <taimuraz@kaitmazov.com>
Reviewed-by: Lizhi Hou <lizhi.hou@amd.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260819224458.257346-4-taimuraz@kaitmazov.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
