linux/drivers/accel/qaic
Pranjal Ramajor Asha Kanojiya 52e59f7740 accel/qaic: Synchronize access to DBC request queue head & tail pointer
Two threads of the same process can potential read and write parallelly to
head and tail pointers of the same DBC request queue. This could lead to a
race condition and corrupt the DBC request queue.

Fixes: ff13be8303 ("accel/qaic: Add datapath")
Signed-off-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Signed-off-by: Youssef Samir <youssef.abdulrahman@oss.qualcomm.com>
Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Reviewed-by: Carl Vanderlip <carl.vanderlip@oss.qualcomm.com>
[jhugo: Add fixes tag]
Signed-off-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251007061837.206132-1-youssef.abdulrahman@oss.qualcomm.com
2025-10-14 08:56:31 -06:00
..
Kconfig PCI: Add CONFIG_MMU dependency 2025-04-23 15:40:30 -05:00
Makefile accel/qaic: Add Reliability, Accessibility, Serviceability (RAS) 2025-05-30 09:14:35 -06:00
mhi_controller.c accel/qaic: Add AIC200 support 2025-01-31 10:08:45 -07:00
mhi_controller.h accel/qaic: Add AIC200 support 2025-01-31 10:08:45 -07:00
qaic.h accel/qaic: Synchronize access to DBC request queue head & tail pointer 2025-10-14 08:56:31 -06:00
qaic_control.c accel/qaic: Treat remaining == 0 as error in find_and_map_user_pages() 2025-10-14 08:44:40 -06:00
qaic_data.c accel/qaic: Synchronize access to DBC request queue head & tail pointer 2025-10-14 08:56:31 -06:00
qaic_debugfs.c accel/qaic: Fix bootlog initialization ordering 2025-10-14 08:30:39 -06:00
qaic_debugfs.h
qaic_drv.c accel/qaic: Synchronize access to DBC request queue head & tail pointer 2025-10-14 08:56:31 -06:00
qaic_ras.c accel/qaic: Use dev_printk() in RAS 2025-06-11 09:34:05 -06:00
qaic_ras.h accel/qaic: Add Reliability, Accessibility, Serviceability (RAS) 2025-05-30 09:14:35 -06:00
qaic_timesync.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
qaic_timesync.h
sahara.c accel/qaic: Add AIC200 support 2025-01-31 10:08:45 -07:00
sahara.h