summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2026-05-07 07:02:07 +0300
committerLizhi Hou <lizhi.hou@amd.com>2026-05-08 00:07:34 +0300
commitada61841caede131cc626f6cd28a60904296f248 (patch)
tree0d6daf45f0ba3697850e05aa3e80fe49938d643f /include/linux/debugobjects.h
parent55bd5e685bda455b9b50c835f8c8442d52a344a3 (diff)
downloadlinux-ada61841caede131cc626f6cd28a60904296f248.tar.xz
accel/amdxdna: Fix clflush buffer size
The firmware is told the buffer is req.buf_size bytes. It may read/write the entire region. If the CPU only flushes a subset, the remaining cache lines could contain stale data, causing the device to see garbage. Fixes: 6e87001fe19f ("accel/amdxdna: Adjust size for copy_to_user()") Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20260507040207.178111-1-lizhi.hou@amd.com
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions