Searched hist:"0 e858f8d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/dma/qcom/ |
H A D | hidma_ll.c | 0e858f8d Fri Oct 21 11:37:58 CDT 2016 Sinan Kaya <okaya@codeaurora.org> dmaengine: qcom_hidma: protect common data structures
When MSI interrupts are supported, error and the transfer interrupt can come from multiple processor contexts.
Each error interrupt is an MSI interrupt. If the channel is disabled by the first error interrupt, the remaining error interrupts will gracefully return in the interrupt handler.
If an error is observed while servicing the completions in success case, the posting of the completions will be aborted as soon as channel disabled state is observed. The error interrupt handler will take it from there and finish the remaining completions. We don't want to create multiple success and error messages to be delivered to the client in mixed order.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com> 0e858f8d Fri Oct 21 11:37:58 CDT 2016 Sinan Kaya <okaya@codeaurora.org> dmaengine: qcom_hidma: protect common data structures When MSI interrupts are supported, error and the transfer interrupt can come from multiple processor contexts. Each error interrupt is an MSI interrupt. If the channel is disabled by the first error interrupt, the remaining error interrupts will gracefully return in the interrupt handler. If an error is observed while servicing the completions in success case, the posting of the completions will be aborted as soon as channel disabled state is observed. The error interrupt handler will take it from there and finish the remaining completions. We don't want to create multiple success and error messages to be delivered to the client in mixed order. Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
|