diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2026-05-07 07:02:07 +0300 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-05-08 00:07:34 +0300 |
| commit | ada61841caede131cc626f6cd28a60904296f248 (patch) | |
| tree | 0d6daf45f0ba3697850e05aa3e80fe49938d643f /include/linux/debugobjects.h | |
| parent | 55bd5e685bda455b9b50c835f8c8442d52a344a3 (diff) | |
| download | linux-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
