From: Tony Lindgren <tony@atomide.com>
To: Kevin Hilman <khilman@deeprootsystems.com>
Cc: "Woodruff, Richard" <r-woodruff2@ti.com>,
Paul Walmsley <paul@pwsan.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH 2/2] OMAP2/3 GPTIMER: skip unnecessary TLDR write during non-autoreload
Date: Wed, 26 Nov 2008 10:49:59 -0800 [thread overview]
Message-ID: <20081126184958.GW11997@atomide.com> (raw)
In-Reply-To: <87r64yjpru.fsf@deeprootsystems.com>
* Kevin Hilman <khilman@deeprootsystems.com> [081126 10:39]:
> "Woodruff, Richard" <r-woodruff2@ti.com> writes:
>
> >> * Woodruff, Richard <r-woodruff2@ti.com> [081014 12:47]:
> >> > > omap_dm_timer_write_reg(timer, OMAP_TIMER_COUNTER_REG, load);
> >> > > - omap_dm_timer_write_reg(timer, OMAP_TIMER_LOAD_REG, load);
> >> > > omap_dm_timer_write_reg(timer, OMAP_TIMER_CTRL_REG, l);
> >> > > }
> >> >
> >> > I seem to recall there was a missed interrupt condition which this worked
> >> around.
> >> >
> >> > IIRC, the original code didn't bother with the load I added back as a work
> >> around as a way to get posted mode working.
> >>
> >> Well these seem to be working based on some quick timer tests.
> >> Pushing so we can verify it ;)
> >
> > This kind of change might be better tested on the PM branch. It's
> > the kind of thing more likely to work with PM disabled. Testing in
> > both is good, PM for many things is less forgiving...
>
> I validated these patches on the PM branch.
>
> I used cyclictest to test lots of timer reprogramming, and also tested
> in both RET-while-idle and OFF-while-idle for low frequency timer
> reprogramming.
>
> Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Thanks for testing, pushing them to l-o today and adding to
omap2-upstream queue.
Regards,
Tony
prev parent reply other threads:[~2008-11-26 18:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-14 17:27 [PATCH 0/2] OMAP2/3 GPTIMER: minor optimizations Paul Walmsley
2008-10-14 17:27 ` [PATCH 1/2] OMAP2/3 GPTIMER: drop redundant pending write check Paul Walmsley
2008-10-14 17:27 ` [PATCH 2/2] OMAP2/3 GPTIMER: skip unnecessary TLDR write during non-autoreload Paul Walmsley
2008-10-14 19:13 ` Woodruff, Richard
2008-11-21 22:22 ` Tony Lindgren
2008-11-21 22:53 ` Woodruff, Richard
2008-11-21 23:53 ` Tony Lindgren
2008-11-26 18:39 ` Kevin Hilman
2008-11-26 18:49 ` Tony Lindgren [this message]
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=20081126184958.GW11997@atomide.com \
--to=tony@atomide.com \
--cc=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
--cc=r-woodruff2@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox