linux/drivers/accel/qaic
Pranjal Ramajor Asha Kanojiya c5e8e93897 accel/qaic: Fix the for loop used to walk SG table
Only for_each_sgtable_dma_sg() should be used to walk through a SG table
to grab correct bus address and length pair after calling DMA MAP API on
a SG table as DMA MAP APIs updates the SG table and for_each_sgtable_sg()
walks through the original SG table.

Fixes: ff13be8303 ("accel/qaic: Add datapath")
Fixes: 129776ac2e ("accel/qaic: Add control path")
Signed-off-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241004193252.3888544-1-quic_jhugo@quicinc.com
2024-10-12 14:55:55 -06:00
..
Kconfig accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00
Makefile accel/qaic: Add Sahara implementation for firmware loading 2024-04-12 09:49:31 -06:00
mhi_controller.c accel/qaic: Constify aic100_channels 2024-02-23 09:06:50 -07:00
mhi_controller.h accel/qaic: Enable 1 MSI fallback mode 2023-10-27 09:39:39 -06:00
qaic_control.c accel/qaic: Fix the for loop used to walk SG table 2024-10-12 14:55:55 -06:00
qaic_data.c accel/qaic: Fix the for loop used to walk SG table 2024-10-12 14:55:55 -06:00
qaic_debugfs.c accel/qaic: Add fifo queued debugfs 2024-04-05 09:47:56 -06:00
qaic_debugfs.h accel/qaic: mark debugfs stub functions as static inline 2024-04-12 09:53:28 -06:00
qaic_drv.c dma-mapping: don't return errors from dma_set_max_seg_size 2024-08-29 07:22:49 +03:00
qaic_timesync.c accel/qaic: Support MHI QAIC_TIMESYNC channel 2023-10-27 10:06:34 -06:00
qaic_timesync.h accel/qaic: Add support for periodic timesync 2023-10-27 10:05:42 -06:00
qaic.h accel/qaic: Add fifo queued debugfs 2024-04-05 09:47:56 -06:00
sahara.c accel/qaic: Add Sahara implementation for firmware loading 2024-04-12 09:49:31 -06:00
sahara.h accel/qaic: Add Sahara implementation for firmware loading 2024-04-12 09:49:31 -06:00