linux-sg2042/drivers/dma/qcom
Sinan Kaya bdcfddfd74 dmaengine: qcom_hidma: make pending_tre_count atomic
Getting ready for the MSI interrupts. The pending_tre_count is used
in the interrupt handler to make sure all outstanding requests are
serviced.

The driver will allocate 11 MSI interrupts. Each MSI interrupt can be
assigned to a different CPU. Then, we have a race condition for common
variables as they share the same interrupt handler with a different
cause bit and they can potentially be executed in parallel. Making this
variable atomic so that it can be updated from multiple processor
contexts.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2016-11-03 18:55:44 +05:30
..
Kconfig dmaengine: add Qualcomm Technologies HIDMA channel driver 2016-03-11 07:42:30 +05:30
Makefile dmaengine: qcom_hidma: add debugfs hooks 2016-05-14 11:54:45 +05:30
bam_dma.c dmaengine: qcom-bam-dma: add __maybe_unused annotations for PM 2016-07-06 22:39:43 +05:30
hidma.c dmaengine: qcom_hidma: add error reporting for tx_status 2016-08-31 21:27:32 +05:30
hidma.h dmaengine: qcom_hidma: make pending_tre_count atomic 2016-11-03 18:55:44 +05:30
hidma_dbg.c dmaengine: qcom_hidma: make pending_tre_count atomic 2016-11-03 18:55:44 +05:30
hidma_ll.c dmaengine: qcom_hidma: make pending_tre_count atomic 2016-11-03 18:55:44 +05:30
hidma_mgmt.c dmaengine: qcom_hidma: configure DMA and MSI for OF 2016-10-19 19:02:58 +05:30
hidma_mgmt.h
hidma_mgmt_sys.c