From: "David Müller (ELSOFT AG)" <d.mueller@elsoft.ch>
To: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>,
linux-rtc@vger.kernel.org,
Michael Turquette <mturquette@baylibre.com>,
linux-clk@vger.kernel.org
Subject: Re: rtc-pcf8563: circular locking dependency
Date: Fri, 22 Dec 2017 14:19:47 +0100 [thread overview]
Message-ID: <a4d1f4f1-37e9-dbc8-72bf-024c1e4e70df@elsoft.ch> (raw)
In-Reply-To: <20171206101906.GN21780@piout.net>
Hi
Alexandre Belloni wrote:
> Thanks for the report. This is actually a known issue (at least, I know
> about it).
>
> I'm adding the clock framework maintainers as this is actually an issue
> that affects any device exposing clocks that are on a bus using clock
> operations in its transfer operations. Here, an i2c RTC, exposing clocks
> and connected on an imx6.
>
> This has been solved by caching the registers for the m41t80 RTC, see:
>
> http://patchwork.ozlabs.org/project/rtc-linux/list/?series=11636&state=*
>
> But, I find that cumbersome and maybe something can be done in the clk
> framework. I didn't check what the prepare_lock protects yet. But maybe
> we can have another lock for get_rate and the like?
>
> Stephen, Mike, any input?
Any update regarding this issue?
Dave
next prev parent reply other threads:[~2017-12-22 13:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-05 14:14 rtc-pcf8563: circular locking dependency David Müller (ELSOFT AG)
2017-12-06 10:19 ` Alexandre Belloni
2017-12-22 13:19 ` David Müller (ELSOFT AG) [this message]
2019-09-10 16:27 ` Alexandre Belloni
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=a4d1f4f1-37e9-dbc8-72bf-024c1e4e70df@elsoft.ch \
--to=d.mueller@elsoft.ch \
--cc=alexandre.belloni@free-electrons.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=sboyd@codeaurora.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).