summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2026-05-06 21:02:07 -0700
committerLizhi Hou <lizhi.hou@amd.com>2026-05-07 14:07:34 -0700
commitada61841caede131cc626f6cd28a60904296f248 (patch)
tree0d6daf45f0ba3697850e05aa3e80fe49938d643f /rust/zerocopy/src/pointer
parent55bd5e685bda455b9b50c835f8c8442d52a344a3 (diff)
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 'rust/zerocopy/src/pointer')
0 files changed, 0 insertions, 0 deletions