From: Dave Jones <davej@redhat.com>
To: "Langsdorf, Mark" <mark.langsdorf@amd.com>
Cc: cpufreq@lists.linux.org.uk
Subject: Re: Patch: Fix pending timer stuck condition
Date: Fri, 21 Oct 2005 15:19:23 -0400 [thread overview]
Message-ID: <20051021191923.GA5827@redhat.com> (raw)
In-Reply-To: <84EA05E2CA77634C82730353CBE3A84303218896@SAUSEXMB1.amd.com>
On Fri, Oct 21, 2005 at 01:02:48PM -0500, Langsdorf, Mark wrote:
> AMD recently discovered that on some hardware,
> there is a race condition possible when a C-state
> change request goes onto the bus at the same time
> as a P-state change request. Both requests happen,
> but the southbridge hardware only acknowledges the
> C-state change. The PowerNow! driver is then
> stuck in a loop, waiting for the P-state change
> acknowledgement. The driver eventually times out,
> but can no longer perform P-state changes.
>
> It turns out the solution is to resend the P-state
> change, which the southbridge will acknowledge
> normally.
>
> Thanks to Johannes Winkelmann for reporting this
> and testing the fix.
Excellent detective work!
I'll get this sent along to Linus for inclusion in 2.6.14
as there have been a number of reports of this.
One question though, this part..
- if (i++ > 0x1000000) {
+ if (i++ > 10000) {
printk(KERN_ERR PFX "detected change pending stuck\n");
return 1;
means that on affected hardware, we'll see that msg a lot more
regularly now. Was this intentional, or a leftover debugging change ?
Final nit, please add a Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
line for future patches. (I still apply them if they lack that line,
but following the established protocol is a nice bonus touch ;-)
Dave
next prev parent reply other threads:[~2005-10-21 19:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-21 18:02 Patch: Fix pending timer stuck condition Langsdorf, Mark
2005-10-21 19:19 ` Dave Jones [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-21 19:42 Langsdorf, Mark
2005-10-21 21:34 Devriendt, Paul
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=20051021191923.GA5827@redhat.com \
--to=davej@redhat.com \
--cc=cpufreq@lists.linux.org.uk \
--cc=mark.langsdorf@amd.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