summaryrefslogtreecommitdiff
path: root/crypto/simd.c
diff options
context:
space:
mode:
authorWachowski, Karol <karol.wachowski@intel.com>2024-01-26 13:27:59 +0100
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>2024-02-06 13:36:33 +0100
commitb039f1c4d3727c3e44a7e89ff79e7e8533e1beec (patch)
tree7abd86b0b4ff853aa898d071ca871555a33d17b2 /crypto/simd.c
parentc9da9a1f17bf4fa96b115950fd389c917b583c1c (diff)
accel/ivpu: Correct MMU queue size checking functions
Do not use kernel CIRC_SPACE and CIRC_CNT that incorrectly return space of a queue when wrap bit was set. Use correct implementation that compares producer, consumer and wrap bit values. Without this fix it was possible to lose events in case when event queue was full. Signed-off-by: Wachowski, Karol <karol.wachowski@intel.com> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240126122804.2169129-3-jacek.lawrynowicz@linux.intel.com
Diffstat (limited to 'crypto/simd.c')
0 files changed, 0 insertions, 0 deletions