From: Vinod Koul <vinod.koul@linux.intel.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org,
Dan Williams <dan.j.williams@intel.com>,
Paul Mundt <lethal@linux-sh.org>
Subject: Re: [PATCH] dma: shdma: transfer based runtime PM
Date: Mon, 05 Sep 2011 20:43:16 +0530 [thread overview]
Message-ID: <1315235596.26251.201.camel@vkoul-udesk3> (raw)
In-Reply-To: <1315227964.26251.68.camel@vkoul-udesk3>
On Mon, 2011-09-05 at 18:36 +0530, Vinod Koul wrote:
> On Mon, 2011-09-05 at 10:10 +0200, Guennadi Liakhovetski wrote:
> > Hi Vinod
> >
> > On Tue, 30 Aug 2011, Guennadi Liakhovetski wrote:
> Please dont top post...
> > > Sorry, I see it differently. I don't use any counters in my patch. I'm
> > > only checking for empty queue, i.e., I'm just identifying the first
> > > descriptor submission and the last completion or termination.
> > >
> > > > You juts need
> > > > to call _put/_get at right places, which IMO l;ooks lot simpler than
> > > > current approach
> > >
> > > If we didn't have to check for exact symmetry, then yes, I agree, this
> > > would be cleaner. I.e., if we indeed had well-defined entry- and
> > > exit-points, which are guaranteed to be called exact same number of times.
> > > Like, e.g., with file open() / close() etc. But since we don't have this
> > > symmetry, and instead have to add flags and iterate lists, this doesn't
> > > look natural and simple to me anymore, sorry.
> >
> > What about this one? Would you be prepared to take it as is, or you still
> > think, that a pm_runtime_get*() on each descriptor submission would be
> > better?
> I think I will go with your current approach. Let me review again and
> check it. If I get time it should be in my tree by tonight
This patch fails to apply for me, can you please rebase it to me tree
and resend, I will apply it later this week
--
~Vinod
next prev parent reply other threads:[~2011-09-05 15:15 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-18 14:55 Guennadi Liakhovetski
2011-08-25 14:26 ` Koul, Vinod
2011-08-25 14:37 ` Guennadi Liakhovetski
2011-08-25 14:41 ` Koul, Vinod
2011-08-25 14:55 ` Guennadi Liakhovetski
2011-08-25 17:20 ` Koul, Vinod
2011-08-25 23:11 ` Guennadi Liakhovetski
2011-08-29 12:11 ` Vinod Koul
2011-08-29 12:21 ` Guennadi Liakhovetski
2011-08-29 12:48 ` Vinod Koul
2011-08-30 7:12 ` Guennadi Liakhovetski
2011-08-30 9:57 ` Vinod Koul
2011-08-30 11:32 ` Guennadi Liakhovetski
2011-09-05 8:10 ` Guennadi Liakhovetski
2011-09-05 13:06 ` Vinod Koul
2011-09-05 15:13 ` Vinod Koul [this message]
2011-09-05 15:23 ` Guennadi Liakhovetski
2011-09-25 14:19 ` Guennadi Liakhovetski
2011-09-28 4:23 ` Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1315235596.26251.201.camel@vkoul-udesk3 \
--to=vinod.koul@linux.intel.com \
--cc=dan.j.williams@intel.com \
--cc=g.liakhovetski@gmx.de \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®