From: Kevin Hilman <khilman@deeprootsystems.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH 7/8] OMAP: omap_device: warn about expected latencies only if non-zero
Date: Thu, 19 Nov 2009 11:08:39 -0800 [thread overview]
Message-ID: <87r5ru8h8o.fsf@deeprootsystems.com> (raw)
In-Reply-To: <alpine.DEB.2.00.0911180412120.25515@utopia.booyaka.com> (Paul Walmsley's message of "Wed\, 18 Nov 2009 04\:19\:20 -0700 \(MST\)")
Paul Walmsley <paul@pwsan.com> writes:
> Hi,
>
> On Tue, 17 Nov 2009, Kevin Hilman wrote:
>
>> When checking measured [de]activate latencies against expected
>> latencies, only print warning if driver has provided a non-zero
>> latency.
>>
>> This allows drivers to set their [de]activate latencies to zero when
>> they are not known, or are don't care, and the omap_device core will
>> not complain about unexpected latencies.
>
> I'm concerned that this will effectively mean that no driver maintainers
> will bother to measure these latencies.
>
> These are necessary for a reasonable implementation of
> omap_pm_set_max_dev_wakeup_lat(). They should not be difficult to
> measure: boot at the lowest-performance OPPs with the latencies
> uninitialized; then these warnings should indicate numbers that can
> be plugged back into the omap_device structure. But perhaps I am
> misunderstanding the point you are making?
Part of the issue is being able to do a quick conversion, without
needing to measure latencies (which I'm guilty of.)
The other part was that I was thinking (the RFC part) was that it
might be useful for performance reasons to not do do any measuring at
all. Of course, this would preclude a useful max_dev_wakeup_lat() but
we could warn about that.
But, for now I agree. I think getting these latencies in place is more
important than having an optimization for avoiding measurement for now.
Kevin
next prev parent reply other threads:[~2009-11-19 19:08 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 1:05 [PATCH 0/8] omap_hwmod/omap_device prep work Kevin Hilman
2009-11-18 1:05 ` [PATCH 1/8] OMAP3: clock: add clockdomains for UART1 & 2 Kevin Hilman
2009-11-18 1:05 ` [PATCH 2/8] OMAP: hwmod: warn on missing clockdomain Kevin Hilman
2009-11-18 1:05 ` [PATCH 3/8] OMAP3 hwmod: Add automatic OCP_SYSCONFIG AUTOIDLE handling Kevin Hilman
2009-11-18 1:05 ` [PATCH 4/8] OMAP: omap_device: deactivate latency typo Kevin Hilman
2009-11-18 1:05 ` [PATCH 5/8] OMAP: omap_device: add usecounting Kevin Hilman
2009-11-18 1:05 ` [PATCH 6/8] OMAP: omap_device: use read_persistent_clock() instead of getnstimeofday() Kevin Hilman
2009-11-18 1:05 ` [PATCH 7/8] OMAP: omap_device: warn about expected latencies only if non-zero Kevin Hilman
2009-11-18 1:05 ` [PATCH 8/8] OMAP: omap_device: use UINT_MAX for default wakeup latency limit Kevin Hilman
2009-11-18 10:57 ` Paul Walmsley
2009-11-18 11:19 ` [PATCH 7/8] OMAP: omap_device: warn about expected latencies only if non-zero Paul Walmsley
2009-11-19 19:08 ` Kevin Hilman [this message]
2009-11-18 11:00 ` [PATCH 6/8] OMAP: omap_device: use read_persistent_clock() instead of getnstimeofday() Paul Walmsley
2009-11-18 10:51 ` [PATCH 5/8] OMAP: omap_device: add usecounting Paul Walmsley
2009-11-18 14:33 ` Kevin Hilman
2009-11-24 18:13 ` Kevin Hilman
2009-11-18 10:54 ` [PATCH 4/8] OMAP: omap_device: deactivate latency typo Paul Walmsley
2009-11-18 14:39 ` Kevin Hilman
2009-11-18 8:45 ` [PATCH 3/8] OMAP3 hwmod: Add automatic OCP_SYSCONFIG AUTOIDLE handling Vimal Singh
2009-11-18 10:01 ` Paul Walmsley
2009-11-18 18:37 ` Kevin Hilman
2009-11-18 19:02 ` Paul Walmsley
2009-11-18 10:55 ` Paul Walmsley
2009-11-18 11:07 ` [PATCH 2/8] OMAP: hwmod: warn on missing clockdomain Paul Walmsley
2009-11-18 15:03 ` Kevin Hilman
2009-12-03 12:11 ` Paul Walmsley
2009-11-18 10:58 ` [PATCH 1/8] OMAP3: clock: add clockdomains for UART1 & 2 Paul Walmsley
2009-12-18 2:32 ` Paul Walmsley
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=87r5ru8h8o.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.