Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1494690

Re: [PATCH V4 05/10] dmaengine: qcom_hidma: make pending_tre_count atomic

From Vinod Koul <vinod.koul@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH V4 05/10] dmaengine: qcom_hidma: make pending_tre_count atomic
Date 2016-10-03 05:40 +0200
Message-ID <so2gG-79T-5@gated-at.bofh.it> (permalink)
References <smz73-6wm-3@gated-at.bofh.it> <smz74-6wm-13@gated-at.bofh.it> <snlOp-4vG-1@gated-at.bofh.it> <snuf0-1Sl-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Oct 01, 2016 at 11:19:43AM -0400, Sinan Kaya wrote:
> On 10/1/2016 2:19 AM, Vinod Koul wrote:
> >> Making it atomic so that it can be updated from multiple contexts.
> > How is it multiple contexts? It's either existing context of MSI, not both!
> > 
> 
> I was trying to mean multiple processor contexts here. The driver allocates 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. 
> 
> I will put the above description into the commit text.

Sounds better :)

-- 
~Vinod

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH V4 05/10] dmaengine: qcom_hidma: make pending_tre_count atomic Sinan Kaya <okaya@codeaurora.org> - 2016-09-29 04:20 +0200
  Re: [PATCH V4 05/10] dmaengine: qcom_hidma: make pending_tre_count  atomic Vinod Koul <vinod.koul@intel.com> - 2016-10-01 08:20 +0200
    Re: [PATCH V4 05/10] dmaengine: qcom_hidma: make pending_tre_count  atomic Sinan Kaya <okaya@codeaurora.org> - 2016-10-01 17:20 +0200
      Re: [PATCH V4 05/10] dmaengine: qcom_hidma: make pending_tre_count  atomic Vinod Koul <vinod.koul@intel.com> - 2016-10-03 05:40 +0200

csiph-web