From: Dominik Brodowski <linux@brodo.de>
To: Ducrot Bruno <ducrot@poupinou.org>
Cc: cpufreq@www.linux.org.uk
Subject: Re: speedstep-smi woes
Date: Tue, 18 Nov 2003 21:34:55 +0100 [thread overview]
Message-ID: <20031118203455.GA7896@brodo.de> (raw)
In-Reply-To: <20031118190934.GD32464@poupinou.org>
On Tue, Nov 18, 2003 at 08:09:34PM +0100, Ducrot Bruno wrote:
> On Tue, Nov 18, 2003 at 07:20:46PM +0100, Dominik Brodowski wrote:
> > Under heavy load speedstep-smi generates "cpufreq: change failed" messages
> > at least on two systems, one of them my own. I've tried to evaluate how to
> > avoid these failures:
> >
> > - wbinvd() has no positive effect
> > - disabling bus master arbitration (io-port 0x22 on 440bx) has no positive effect
> > - mdelay(250) immediately before the asm smi call has resulted in _zero_
> > failures.
> >
> > However, in most cases, even under heavy load, the speedstep-smi driver
> > _does_ achieve speedstep transitions.
> >
> > So, how to proceed?
> > a) Try to avoid these failures, even if the cost of all transitions is 250ms
> > then? This practically disables dynamic frequency scaling for
> > speedstep-smi.
> > b) Do the same as before: this means that sometimes the frequency isn't
> > changed even though the user or the dynamic frequency scaling governor
> > demands a higher frequency. Also, the "speedstep_init" step tends to fail
> > sometimes.
> >
>
> Have you done testing with ide stuff in pio mode?
No, as I don't want to lose UDMA2. However, it seems to work. Why?
Also, how do we disable DMA safely during a call to speedstep_smi_set_freq()?
kernel/dma.c and include/asm/dma.h neither show a way to "disable" DMA like
it can be done for preempt, irqs, etc. I really don't want to tell users:
disable DMA if you want to use this speedstep driver...
Dominik
next prev parent reply other threads:[~2003-11-18 20:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-18 18:20 speedstep-smi woes Dominik Brodowski
2003-11-18 19:09 ` Ducrot Bruno
2003-11-18 20:34 ` Dominik Brodowski [this message]
2003-11-18 21:35 ` Ducrot Bruno
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=20031118203455.GA7896@brodo.de \
--to=linux@brodo.de \
--cc=cpufreq@www.linux.org.uk \
--cc=ducrot@poupinou.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