linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: david@lechnology.com (David Lechner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 1/2] provide lock-less versions of clk_{enable|disable}
Date: Fri, 16 Dec 2016 14:41:48 -0600	[thread overview]
Message-ID: <e004a3f8-2dde-b21c-b09e-da5a65d768f6@lechnology.com> (raw)
In-Reply-To: <35adff3d-c6a6-7b65-fb61-6da447dd6c3f@baylibre.com>

On 12/12/2016 04:27 AM, Alexandre Bailon wrote:
> On 12/12/2016 10:02 AM, Sekhar Nori wrote:
>> Hi Uwe,
>>
>> On Saturday 10 December 2016 12:24 AM, Uwe Kleine-K?nig wrote:
>>> Hello,
>>>
>>> On Fri, Dec 09, 2016 at 05:59:32PM +0100, Alexandre Bailon wrote:
>>>> Rename __clk_{enable|disble} in davinci_clk_{enable|disable}.
>>>> davinci_clk_{enable|disable} is a lock-less version of
>>>> clk_{enable|disable}.
>>>> This is useful to recursively enable clock without doing recursive call
>>>> to clk_enable(), which would cause a recursive locking issue.
>>>> The lock-less version could be used by example by the usb20 phy clock,
>>>> that need to enable the usb20 clock before to start.
>>>
>>> I wouldn't call that lock-less. The difference is that the newly exposed
>>> funcion requires the caller to already hold the lock. So maybe a better
>>
>> Right.
> Is it enough to update the commit message or should I also update the
> patch title?
> If so, could you suggest one because I don't know how to describe it
> shortly.

How about... "ARM: davinci: Make __clk_{enable,disable} functions public"





>
> Thanks,
> Alexandre
>

  reply	other threads:[~2016-12-16 20:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-09 16:59 [PATCH v7 1/2] provide lock-less versions of clk_{enable|disable} Alexandre Bailon
2016-12-09 16:59 ` [PATCH v7 2/2] ARM: davinci: da8xx: Fix sleeping function called from invalid context Alexandre Bailon
2017-01-02 11:01   ` Sekhar Nori
2016-12-09 18:54 ` [PATCH v7 1/2] provide lock-less versions of clk_{enable|disable} Uwe Kleine-König
2016-12-12  9:02   ` Sekhar Nori
2016-12-12 10:27     ` Alexandre Bailon
2016-12-16 20:41       ` David Lechner [this message]
2016-12-18 15:51         ` Sekhar Nori
2017-01-02 10:43           ` Sekhar Nori

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=e004a3f8-2dde-b21c-b09e-da5a65d768f6@lechnology.com \
    --to=david@lechnology.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).